Mail Archives: cygwin/2025/01/14/01:20:00
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 50E6JxEi3164983
|
Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
|
Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com
|
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 50E6JxEi3164983
|
Authentication-Results: | delorie.com;
|
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=EeBmO8yj
|
X-Recipient: | archive-cygwin AT delorie DOT com
|
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org D5EC33858C39
|
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
|
| s=default; t=1736835597;
|
| bh=SnmHnygrNiZWIQIKvjS0GVLBXnC4uja6t8AxivDb45w=;
|
| h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
|
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
|
| From;
|
| b=EeBmO8yjP4BJx68zMzwf7iI7WdNKJMqLy3eeypxe80mgYytPWC0Wx4IgV+EYBel+l
|
| XpK+0XrZenQFff69bkbyYqTVkFueTiEgoP/Jvi+nkIGQyHnT0/Gu0UdEwsiU/S2EDW
|
| lps5X+4N7XuTEz1DF/DE536XPlzofGw/zf87ZqIo=
|
X-Original-To: | cygwin AT cygwin DOT com
|
Delivered-To: | cygwin AT cygwin DOT com
|
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org DC5D53858D38
|
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org DC5D53858D38
|
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736835570; cv=none;
|
| b=OrbLWQW9wzzXVFzvOjzAzFeRzh8/XS9jqowmZGfFGcmJzPQg6+VDwT7QDAoCldD20uOIDU1iAloDSFHZTxZ4Jd41eUDslUbkHwtVDU3RCsky6adFsOkcU6Jrd1zl8SLu1yWrl729l9n63pR0FQW32g/0qVZwbxfn0VYw7Y9+Ez0=
|
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key;
|
| t=1736835570; c=relaxed/simple;
|
| bh=oGl/N2gMttBkaDHMaGWWkEihjAiGg6oh6RLRBgZJOy4=;
|
| h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
|
| b=xo2ahfGDCzF+XLaI5lY4P/phwdvJ5w35FkQa2a+rkmXAO20JdaFLqIG8H313lCtqPsffO2oKdXtfUvmN60+DWSDMQVGydPyuyLzjvwFzQMfBg5eYzF1yL9Lq5ZSigUVIgfNIDBGzgz6NJ6LBfm7hDlTWBQJsjjNGLhkjnTVNADc=
|
ARC-Authentication-Results: | i=1; server2.sourceware.org
|
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org DC5D53858D38
|
Message-ID: | <4712dcf7-1d4d-4d27-b7c1-b705d3a0a553@SystematicSW.ab.ca>
|
Date: | Mon, 13 Jan 2025 23:19:27 -0700
|
MIME-Version: | 1.0
|
User-Agent: | Mozilla Thunderbird
|
Subject: | Re: Cygwin 3.6 /usr/bin/cp from "coreutils" version 9.5-1 stuck in an
|
| endless loop...
|
To: | cygwin AT cygwin DOT com
|
References: | <CAKAoaQmwna7sSfpYFn0OUsqpdXAgJ5FyaNkhKv6K+otr0Oa5QA AT mail DOT gmail DOT com>
|
Organization: | Systematic Software
|
In-Reply-To: | <CAKAoaQmwna7sSfpYFn0OUsqpdXAgJ5FyaNkhKv6K+otr0Oa5QA@mail.gmail.com>
|
X-Rspamd-Queue-Id: | 2965D20011
|
X-Rspamd-Server: | rspamout03
|
X-Stat-Signature: | pwfrjocprg7uhxwnrjbejbx5esiu3z44
|
X-Session-Marker: | 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
|
X-Session-ID: | U2FsdGVkX1/CEAabWa+vnmB2PTFBLq9paSBetVZUWt8=
|
X-HE-Tag: | 1736835568-228193
|
X-HE-Meta: | U2FsdGVkX19LwFapJ1lJx7gVUDyvbWq1w/gNpRmrnVGmPoRaFrEWDISO0I19bgHC+vH4YC0Xa6YpIoAHWUkxLi3YP+3IaYXLDK+LYryeqCzK1kbAqAFwZ9brphPZEPjHlfoHjXsasFB880RXu8fh1ngHdyF4N7GuILdyP+41C50SjWrHdurKHk0qiGHb7ictQ4r7GqfrUanVYoDryet1VjfpyjhGRb0Tjy4xdjFo23kEabY1LHs0gQeCp9DSKd7DIwu65RvFRqrAO7dQVGK+5/9iiQwJnhuTGy0CAIv0cRIwhZjUIrIUtnYpDVKYcMDqFi3MHlbLU8NjfjkqCUCca73tndLFh5b4
|
X-BeenThere: | cygwin AT cygwin DOT com
|
X-Mailman-Version: | 2.1.30
|
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com>
|
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>,
|
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
|
List-Archive: | <https://cygwin.com/pipermail/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help>
|
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>,
|
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
|
From: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
|
Reply-To: | cygwin AT cygwin DOT com
|
Cc: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
|
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
|
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
|
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 50E6JxEi3164983
|
On 2025-01-13 13:10, Roland Mainz via Cygwin wrote:
> Hi!
>
> ----
>
> I just hit an endless loop with /usr/bin/cp from "coreutils" version
> 9.5-1 copying a larger *.pdb file (it seems that only this specific
> file is affected...) from Visual Studio 19.
>
> Using strace -p $pid_of_cp I get this output:
> ---- snip ----
> ...
> 212 11917852 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 200 11918052 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 239 11918291 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 266 11918557 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 160 11918717 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 178 11918895 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 215 11919110 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 240 11919350 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 202 11919552 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 189 11919741 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 185 11919926 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 277 11920203 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 445 11920648 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 241 11920889 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 264 11921153 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 231 11921384 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 205 11921589 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 220 11921809 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 228 11922037 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 225 11922262 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 254 11922516 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 201 11922717 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 192 11922909 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 218 11923127 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 259 11923386 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 220 11923606 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 215 11923821 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 203 11924024 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 205 11924229 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 205 11924434 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 218 11924652 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 205 11924857 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 202 11925059 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 221 11925280 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 209 11925489 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 202 11925691 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 761 11926452 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 271 11926723 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 573 11927296 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 1046 11928342 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 214 11928556 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 201 11928757 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 210 11928967 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 270 11929237 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 219 11929456 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 197 11929653 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 200 11929853 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 199 11930052 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 216 11930268 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 224 11930492 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 239 11930731 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 196 11930927 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 216 11931143 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 197 11931340 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> 200 11931540 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 194 11931734 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 3)
> 196 11931930 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 217 11932147 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 4)
> 208 11932355 [main] cp 1319 fhandler_base::lseek: setting file
> pointer to 1708032
> 207 11932562 [main] cp 1319 lseek: 1708032 = lseek(4, 1708032, 0)
> ...
> ---- snip ----
> This never stops, even after a couple of hours, but cp(1) can be
> killed with <CTRL-C>
>
> Downgrading to "coreutils" version 9.0-1 fixes the problem.
>
> Cygwin version itself is
> "CYGWIN_NT-10.0-19045 chickenmonster 3.6.0-0.304.g264544bf72f6.x86_64 2025-01-13 10:15 UTC x86_64 Cygwin"
The command is not simply looping, it is repeating 4 SEEK_HOLE, 0 SEEK_SET, 3
SEEK_DATA, at the same file offset, which looks like some kind of retry cycle,
but each of the operations are succeeding.
What is the exact command you are running and what are the source and target
filesystems?
What is the exact size of the file and what device type is it on: SSD or HDD?
What is the allocation size of the file and how many 4KB holes (zeroed blocks)
are in the file?
Could you please try running the command under strace to see what it is doing
before it gets in to that cycle?
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
- Raw text -