This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.0-60: diff -qr crashes


Christopher Faylor wrote:
> On Tue, Sep 01, 2009 at 04:01:06PM +0200, Torsten Sch?tze wrote:
>> 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)
> 
> I guess this is my excuse to roll a new version of Cygwin.  Since Corinna
> doesn't include the .dbg file in her releases, I can't decode the stack
> traces from the attached .stackdump files.
> 
> Or, hmm.  It guess it would be better if I released a snapshot before a
> new release.
> 
> Could you try to duplicate this with today's snapshot from:
> 
> http://cygwin.com/snapshots/
> 
> I'm generating it now.  Please wait for the September 1 snapshot to
> show up before trying anything.
Okay, here we are. Using the 2009-09-01 snapshot
(cygwin1-20090901.dll.bz2, cygwin1-20090901.dbg.bz2) I obtain:

First, in directory 2009 (corresponds to diff.exe.stackdump-1), see
attachment diff.exe.stackdump-1-new

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 260,
thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022B3C8  C0000128  (00000724, 0000EA60, 000000A4, 0022B4BC)
0022B4D8  610B9EA5  (6120BFEC, 00000001, 003B0023, 00230000)
0022B598  610BA75A  (00000001, 0022B654, 10062718, 610CA934)
0022B5A8  610BA7EF  (00000000, 00000001, 0022B5F8, 00000000)
10062718  610CA934  (6F632F41, 4F2F6564, 536E6570, 682F4143)
End of stack trace

In directory 2008 the list of warnings and errors is much longer now,
but it doesn't core dump now.

bash-3.2$ cd ../2008
bash-3.2$ diff -qr . /cygdrive/w/user/schuetze/work/2008
      1 [main] diff 3760 sig_send: error sending signal -34 to pid 3760,
pipe handle 0x750, Win32 error 998
11319792 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
21282830 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
23541033 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
Only in .: diff.exe.stackdump-2
52864686 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52866298 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52869051 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52871923 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52874798 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52879422 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
52882299 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
53111327 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
53143058 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
53144671 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
54526911 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
54531401 [main] diff 3760 sig_send: error sending signal -34 to pid
3760, pipe handle 0x750, Win32 error 998
bash-3.2$

Hope this helps
  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 260, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022B3C8  C0000128  (00000724, 0000EA60, 000000A4, 0022B4BC)
0022B4D8  610B9EA5  (6120BFEC, 00000001, 003B0023, 00230000)
0022B598  610BA75A  (00000001, 0022B654, 10062718, 610CA934)
0022B5A8  610BA7EF  (00000000, 00000001, 0022B5F8, 00000000)
10062718  610CA934  (6F632F41, 4F2F6564, 536E6570, 682F4143)
End of stack trace
--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]