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]

cygcheck -s segfaults in cygwin64 on Win7Pro-64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]