1.7.0-60: diff -qr crashes

Torsten Schütze torsten.schuetze@gmx.net
Tue Sep 1 14:01:00 GMT 2009


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.exe.stackdump-1
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090901/f5fa88ea/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.exe.stackdump-2
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090901/f5fa88ea/attachment-0001.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list