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: cygcheck -p file.exe segmentation fault (x86_64)


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-debuginfo-2.24.0.3.85cf705-1
>
>
> Corinna



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.

$ 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-debuginfo-2.24.0.3.85cf705-1
Segmentation fault

$ cygcheck -p strings.exe
Segmentation fault

$ cygcheck -p strings.exe
Segmentation fault


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.

I do not get a stack dump file, and I can't seem to get anything
useful by running with gdb.

Attached is the output (svr.txt) from "cygcheck -s -v -r > svr.txt".

Thanks,
Doug
-- 
Doug Henderson, Calgary, Alberta, Canada

Attachment: p1.txt
Description: Text document

Attachment: svr.txt
Description: Text document

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