1.5.7s: make freezes (sometimes)

Rolf Campbell Endlisnis@mailc.net
Tue Jan 20 19:49:00 GMT 2004


I've noticed a problem with the snapshot (it's not limited to the 
snapshot, it was there in 1.5.6 as well).  The problem may have been in 
1.5.5 as well, but it was definitely less pronounced there.

If I run "make -j6" or something, on our large corporate build 
environment, then sometimes, one or more make instances will end up 
freezing.  (They spin in place, using up as much cpu as they can, 
forever).  ^C stops them.  I can't find any easy way to produce this 
with smaller examples (and it doesn't even always happen on my big 
builds).  It seems to happen about 75% of the time with my builds, so I 
don't have any real problem reproducing it.

I tried attaching to the process with gdb, but I didn't really know what 
to do after I was attached:
-------------------------------------
(gdb) attach 524
Attaching to process 524
[Switching to thread 524.0x38c]
(gdb) bt
#0  0x77f75a59 in ntdll!DbgUiConnectToDbg () from 
/c/WINDOWS/System32/ntdll.dll
#1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
    from /c/WINDOWS/System32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x003fffd0 in ?? ()
#6  0x85005480 in ?? ()
#7  0xffffffff in ?? ()
#8  0x77fa88f0 in wcstombs () from /c/WINDOWS/System32/ntdll.dll
(gdb) p/x *(int *)$ebp
$1 = 0x0
(gdb) info thread
* 4 thread 524.0x38c  0x77f75a59 in ntdll!DbgUiConnectToDbg ()
    from /c/WINDOWS/System32/ntdll.dll
   3 thread 524.0x270  0x7ffe0304 in ?? ()
   2 thread 524.0xc14  0x7ffe0304 in ?? ()
   1 thread 524.0xff0  0x00419015 in ?? ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) ye

Segmentation fault (core dumped)

rcampbell@desk-rcampbell ~
$
------------------------

Also, gdb crashed as you can see.  Gdb seems to crash if i attach to a 
process, then try to quit.  I ran gdb under gdb, but it didn't produce a 
usefull traceback:
(gdb) q

Program received signal SIGSEGV, Segmentation fault.
0x0042454c in ?? ()
(gdb) bt
#0  0x0042454c in ?? ()
#1  0x00000ec0 in ?? ()


I understand that I haven't provided much usefull info, I am willing to 
try other things apon suggestion.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040120/0b5cd34c/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list