This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygcheck -s segfaults in cygwin64 on Win7Pro-64
- From: John Wiersba <jrw32982 at yahoo dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 17 Oct 2014 14:52:09 -0700
- Subject: cygcheck -s segfaults in cygwin64 on Win7Pro-64
- Authentication-results: sourceware.org; auth=none
- References: <1413488630 dot 82429 dot YahooMailNeo at web162806 dot mail dot bf1 dot yahoo dot com> <544055FF dot 2030604 at cs dot umass dot edu> <1413517183 dot 86611 dot YahooMailNeo at web162801 dot mail dot bf1 dot yahoo dot com> <1413517863 dot 36122 dot YahooMailNeo at web162806 dot mail dot bf1 dot yahoo dot com> <54411638 dot 2000104 at cs dot umass dot edu>
- Reply-to: John Wiersba <jrw32982 at yahoo dot com>
With a 3-week-old (i.e. recent) install of cygwin, which otherwise functions well:
$ uname -a
CYGWIN_NT-6.1 DESKTOP-NAME 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin
$ PATH=/bin:/usr/bin cygcheck -s
Cygwin Configuration Diagnostics
Current System Time: Fri Oct 17 17:37:27 2014
Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1
Path: D:\cygwin\bin
D:\cygwin\bin
Segmentation fault
Also, I notice that when PATH has no :, cygcheck prints bogus information:
$ PATH=/bin cygcheck -s
Cygwin Configuration Diagnostics
Current System Time: Fri Oct 17 17:38:27 2014
Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1
Path: D
\cygwin\bin
Segmentation fault
Running under gdb:
$ PATH=/bin gdb cygcheck
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cygcheck...(no debugging symbols found)...done.
(gdb) r -s
Starting program: /bin/cygcheck -s
[New Thread 5492.0x11ec]
Cygwin Configuration Diagnostics
Current System Time: Fri Oct 17 17:46:49 2014
Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1
Path: D
\cygwin\bin
[Inferior 1 (process 5492) exited with code 030000000005]
(gdb)
All of this was in preparation for reporting another problem with run.exe (which flashes a console window instead of hiding it).
Thanks!
--
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