www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/01/10:01:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A9D2922.3090807@gmx.net>
Date: Tue, 01 Sep 2009 16:01:06 +0200
From: =?ISO-8859-1?Q?Torsten_Sch=FCtze?= <torsten DOT schuetze AT gmx DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.7.0-60: diff -qr crashes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------000008040207060309080704
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------000008040207060309080704
Content-Type: text/plain;
 name="diff.exe.stackdump-1"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="diff.exe.stackdump-1"

RXhjZXB0aW9uOiBTVEFUVVNfQUNDRVNTX1ZJT0xBVElPTiBhdCBlaXA9QzAw
MDAxMjgNCmVheD0wMDAwMDAwMCBlYng9MDAwMDAwMDAgZWN4PTAwMjJCM0JD
IGVkeD03QzkwRTUxNCBlc2k9MDAwMDAwMDAgZWRpPTAwMDAwMDAwDQplYnA9
MDAyMkIzQzggZXNwPTAwMjJCM0M4IHByb2dyYW09QzpcY3lnd2luXGJpblxk
aWZmLmV4ZSwgcGlkIDIzNzYsIHRocmVhZCBtYWluDQpjcz0wMDFCIGRzPTAw
MjMgZXM9MDAyMyBmcz0wMDNCIGdzPTAwMDAgc3M9MDAyMw0KU3RhY2sgdHJh
Y2U6DQpGcmFtZSAgICAgRnVuY3Rpb24gIEFyZ3MNCjAwMjJCM0M4ICBDMDAw
MDEyOCAgKDAwMDAwNzI4LCAwMDAwRUE2MCwgMDAwMDAwQTQsIDAwMjJCNEJD
KQ0KMDAyMkI0RDggIDYxMEI5Qzg1ICAoNjEyMEM1MEMsIDAwMDAwMDAxLCAw
MDNCMDAyMywgMDAyMzAwMDApDQowMDIyQjU5OCAgNjEwQkE1M0EgICgwMDAw
MDAwMSwgMDAyMkI2NTQsIDEwMDYyNzM4LCA2MTBDQTcyNCkNCjAwMjJCNUE4
ICA2MTBCQTVDRiAgKDAwMDAwMDAwLCAwMDAwMDAwMSwgMDAyMkI1RjgsIDAw
MDAwMDAwKQ0KMTAwNjI3MzggIDYxMENBNzI0ICAoNkY2MzJGNDEsIDRGMkY2
NTY0LCA1MzZFNjU3MCwgNjgyRjQxNDMpDQpFbmQgb2Ygc3RhY2sgdHJhY2UK

--------------000008040207060309080704
Content-Type: text/plain;
 name="diff.exe.stackdump-2"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="diff.exe.stackdump-2"

RXhjZXB0aW9uOiBTVEFUVVNfQUNDRVNTX1ZJT0xBVElPTiBhdCBlaXA9QzAw
MDAxMjgNCmVheD0wMDAwMDAwMCBlYng9MDAwMDAwMDAgZWN4PTAwMjJCRUZD
IGVkeD03QzkwRTUxNCBlc2k9MDAwMDAwMDAgZWRpPTAwMDAwMDAwDQplYnA9
MDAyMkJGMDggZXNwPTAwMjJCRjA4IHByb2dyYW09QzpcY3lnd2luXGJpblxk
aWZmLmV4ZSwgcGlkIDM2OTIsIHRocmVhZCBtYWluDQpjcz0wMDFCIGRzPTAw
MjMgZXM9MDAyMyBmcz0wMDNCIGdzPTAwMDAgc3M9MDAyMw0KU3RhY2sgdHJh
Y2U6DQpGcmFtZSAgICAgRnVuY3Rpb24gIEFyZ3MNCjAwMjJCRjA4ICBDMDAw
MDEyOCAgKDAwMDAwNzJDLCAwMDAwRUE2MCwgMDAwMDAwQTQsIDAwMjJCRkZD
KQ0KMDAyMkMwMTggIDYxMEI5Qzg1ICAoNjEyMDkxMEMsIDAwMDAwMDAxLCAw
MDAwMDAwMCwgMDAwMDAwMDApDQowMDIyQzBEOCAgNjEwQkE1M0EgICg2MTIw
QzgxQywgMDAwMDAwMDAsIDEwMDYxMjUwLCA2MTBDQTcyNCkNCjAwMjJDMEU4
ICA2MTBCQTVDRiAgKDAwMDAwMDAwLCAwMDAwMDAwMCwgMDAyMkMxNTgsIDYx
MDAyMjlGKQ0KMTAwNjEyNTAgIDYxMENBNzI0ICAoNzQ2MzY1NkMsIDczNjU3
Mjc1LCA2MzY5NzAyRiwgNjU3Mjc1NzQpDQogICAgICAxIFttYWluXSBkaWZm
IDM2OTIgX2N5Z3Rsczo6aGFuZGxlX2V4Y2VwdGlvbnM6IEVycm9yIHdoaWxl
IGR1bXBpbmcgc3RhdGUgKHByb2JhYmx5IGNvcnJ1cHRlZCBzdGFjaykK


--------------000008040207060309080704
Content-Type: text/plain; charset=us-ascii

--
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
--------------000008040207060309080704--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019