Hi, I've installed Cygwin Beta 1.7.0 (version -51) around mid of July. Currently, version -60 is installed. Now (at least since version -53 or so) I repeatedly encounter a bug with diff (diffutils 2.8.7-1). I use diff to compare my working directory with the files on an usb stick. The exact command line is
diff -qr . /cygdrive/w/user/schuetze/work/2009 Note that the 32 GByte usb stick (cygdrive w) is encrypted with truecrypt 6.2a and formatted as FAT32. (Don't know if this matters. But the error occurs with other directories as well.) Depending on the exact place in the file system I'll get a core dump immediately or first some errors and then the core dump. bash-3.2$ pwd /cygdrive/e/user/schuetze/work/2009 bash-3.2$ diff -qr . /cygdrive/w/user/schuetze/work/2009 1 [main] diff 2376 sig_send: error sending signal -34 to pid 2376, pipe handle 0x750, Win32 error 998 Segmentation fault (core dumped) One folder downwards the file hierarchy everything works fine, at least today. But with bash-3.2$ pwd /cygdrive/e/user/schuetze/work/2008 bash-3.2$ diff -qr . /cygdrive/w/user/schuetze/work/2008 1 [main] diff 3692 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) I will attach both diff.exe.stackdump, the core file from the folder 2009 as diff.exe.stackdump-1, the one from the 2008 folder as diff.exe.stackdump-2. Note, that there are no errors with Cygwin 1.5 (cygwin 1.5.24). My questions are: - Is this a known error with Cygwin 1.7.0-60? - What can I do about it? Is there a fix available? - Is the stack dump helpful or should I compile diff with debug symbols and gdb diff? If required I can provide the output of cygcheck -s -v -r Torsten
Exception: STATUS_ACCESS_VIOLATION at eip=C0000128 eax=00000000 ebx=00000000 ecx=0022B3BC edx=7C90E514 esi=00000000 edi=00000000 ebp=0022B3C8 esp=0022B3C8 program=C:\cygwin\bin\diff.exe, pid 2376, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0022B3C8 C0000128 (00000728, 0000EA60, 000000A4, 0022B4BC) 0022B4D8 610B9C85 (6120C50C, 00000001, 003B0023, 00230000) 0022B598 610BA53A (00000001, 0022B654, 10062738, 610CA724) 0022B5A8 610BA5CF (00000000, 00000001, 0022B5F8, 00000000) 10062738 610CA724 (6F632F41, 4F2F6564, 536E6570, 682F4143) End of stack trace
Exception: STATUS_ACCESS_VIOLATION at eip=C0000128 eax=00000000 ebx=00000000 ecx=0022BEFC edx=7C90E514 esi=00000000 edi=00000000 ebp=0022BF08 esp=0022BF08 program=C:\cygwin\bin\diff.exe, pid 3692, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0022BF08 C0000128 (0000072C, 0000EA60, 000000A4, 0022BFFC) 0022C018 610B9C85 (6120910C, 00000001, 00000000, 00000000) 0022C0D8 610BA53A (6120C81C, 00000000, 10061250, 610CA724) 0022C0E8 610BA5CF (00000000, 00000000, 0022C158, 6100229F) 10061250 610CA724 (7463656C, 73657275, 6369702F, 65727574) 1 [main] diff 3692 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple