delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/24/10:19:45

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: <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
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 <corinna-cygwin AT cygwin DOT com>
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: <CAJ1FpuM9m5KfC98b+keSwqahGnWxx72LoyPLSwte58p57acY=g AT mail DOT gmail DOT com> <20140423154452 DOT GO2339 AT calimero DOT vinschen DOT de> <CAJ1FpuPGSn6Jw4qO7_2OLqHgSVnSHmeaH6ukOvku-7nVYsL0eQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJ1FpuPGSn6Jw4qO7_2OLqHgSVnSHmeaH6ukOvku-7nVYsL0eQ@mail.gmail.com>
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--

- Raw text -


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