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 -s segfaults in cygwin64 on Win7Pro-64


On 10/17/2014 11:52 PM, John Wiersba wrote:
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


it works fine here
$ PATH=/bin:/usr/bin cygcheck -s

Cygwin Configuration Diagnostics
Current System Time: Sat Oct 18 04:49:42 2014

Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1

Path:   E:\cygwin64\bin
        E:\cygwin64\bin

Output from E:\cygwin64\bin\id.exe
...
zlib0                                 1.2.8-1                OK

also from CMD prompt no issue.

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
[cut]
(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)


BLODA ?


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]