X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=FVjn2HBpw5DYLWi2lv5XlxA7D8t5tQnxPTI/ngB7ciidMD2E6w6AL oHqlQK6fxcPHxJZ9Ve77PHTSJkLN2q11VKT43NYGo8+91x/dD4WulDZmyjoNUO09 UYClVd1q1Xqug+AwVrrVW249ZCx1lpqabx5VwjyEFeHcBsJ0dR+icI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Vq6XzF6ArlIlH/IV52ar+3pvdpM=; b=mrYu806U9k002dYHG0vDEEDemhNi TwrG3lqbHo+oznr5e+eX1P8YXSv4NsF4v6KojJMFd3G6Q05Vzu4Zmr+pf4kVqz67 LDgxq3pVAbC7DX5TpduthG5m37/9ZgOtnzFyUxUKQwYnkbBVKZHuLcgpZplxFGrK 7KoLfTePYCah/zA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 24 Apr 2014 16:19:25 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygcheck -p file.exe segmentation fault (x86_64) Message-ID: <20140424141925.GS2339@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140423154452 DOT GO2339 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QRo3kt64Wi40AlcO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --QRo3kt64Wi40AlcO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 23 23:25, Doug Henderson wrote: > On Wed, Apr 23, 2014 at 9:44 AM, Corinna Vinschen wrote: > > On Apr 23 09:17, Doug Henderson wrote: > >> I am trying to identify the package containing the strings executable. > >> > >> $ uname -a > >> CYGWIN_NT-6.1 Rover 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin > >> > >> $ cygcheck -p strings.exe > >> Segmentation fault > >> > >> After installing the binutils package (which contains strings.exe) I > >> still get the segfault. Further testing shows that "cygcheck -p > >> regexp" segfaults for any target regexp. > > > > Strange. I'm getting either > > > > $ cygcheck -p strings.exe > > cygcheck: unable to contact cygwin.com site, InternetOpenUrl() failed: = The operation timed out > > (win32 error 12002) > > > > or > > > > $ cygcheck -p strings.exe > > Found 18 matches for strings.exe > > x86_64/binutils/binutils-2.23.52-5 > ... > > x86_64/mingw64-x86_64-binutils-debuginfo/mingw64-x86_64-binutils-debugi= nfo-2.24.0.3.85cf705-1 > > > > > > Corinna >=20 >=20 >=20 > Sometimes, the first invocation of "cygcheck -p strings.exe" after > starting the cygwin session shows the expected output before the > segfault. Subsequent executions only show the segfault. I can't reproduce this, it works for me all the time. > Attached is the output (p1.txt) from "strace cygcheck -p > strings.exe". On at least one occasion, I saw the expected output half > way through the exception messages. >=20 > I do not get a stack dump file, and I can't seem to get anything > useful by running with gdb. cygcheck is not a Cygwin application but a native Windows one. It doesn't return lots of usueful info under strace becasue this requires a Cygwin DLL, and cygcheck only loads the cygwin DLL at runtime, but doesn't need any of Cygwin's functionality for -p. The cygwin-debuginfo package adds symbols, this may be a big help debugging this problem. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --QRo3kt64Wi40AlcO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTWR1tAAoJEPU2Bp2uRE+gAy0P/0Wo9dLb5XtMxWqbpHe/XPwO aVqpnYXZZz193B3Kl8qVRmMQfcZxK3bJtC1ZlzEe2K4RFkkV8gSod6BSE69uh3C9 RBiNzccvK0sNXt55x8lKebdwkmdSrwx/OzvdR3UlKU0edkmj1UI+K0/by2DnKCLw 3SNKS9hCQQeHY6vp6r91VkLuz84NpoSOeWHPkmvqxFvL48oIg0VUH/J3Cigtwi4R WSdwKh9kLULXnV7XDT7qESv1EsncemFnHSROI/hoA1mwk9JSHMO0QbX8BOJLG850 OXG41WZ+Giw11t2a0LP1zH/XXoXysjBmyBxj4G4Rmu68BAlBR7oCcZ4fSE+lt9S8 3MknnbJ0VFghZV38GqFAxRR1Bb049Ld3goTDMwZLKnEK8kuIhQQ19aLe2CkuKA7/ EwsWVRjX/b4RVvDakuyOzxf/9ZpJzQkPOfYNwAZnfs3gZGok9pic5v1yu62h27c3 oYXWamPW1Sk9IhrCqzzHYmW2rJ+v/f0Wyll2WfyDSR8D8v1Vfyb2PfdGtD6LXygB FvxpPGZ7E0OivEroz1a1AvleJ+xPGObPLk2EDecZnhxXwL5Kep3ig1eVFy/sLbX8 y6ntZR1bg6CDg5+RPpnzGiIIxmy56W8h4NYJgprDm+0NK+mg/fuej7+ab36TnrWR B2Dq1g1td2Qt9Mq4pA93 =DXrT -----END PGP SIGNATURE----- --QRo3kt64Wi40AlcO--