cygwin crash: 'assertion "root_idx != -1" failed ...' reliably reproduced on my system

Bill Meier wmeier@newsguy.com
Sun Feb 28 19:41:00 GMT 2010


 From time to time I've been
getting 'assertion "root_idx != -1" failed ...' cygwin crashes.

(I think the crashes started after I upgraded cygwin to 1.7...).

I finally decided to see if I could reliably reproduce the crash.

I've found that if I run a command as follows simultaneously in 2 
separate 'cmd' windows that cygwin will reliably crash.

W1:  for /L %i in (1,1,1000) do @touch t1/foo%i
W2:  for /L %i in (1,1,1000) do @touch t2/foo%i

(The t1 and t2 directories are empty before doing the above).

One of the 'cmd' windows will show
an 'assertion "root_idx != -1" failed ...' message and will be "dead".

The other 'cmd' window will just be "dead".

I tried running a similar command simultaneously in two bash windows; 
the crash did not happen for the several retries that I did.

----------

C:\users\wmeier> for /L %i in (1,1,1000) do @touch t2/foo%i
assertion "root_idx != -1" failed: file 
"/ext/build/netrel/src/cygwin-1.7.1-1/winsup/cygwin/mount.cc", line 363, 
functio
n: void mount_info::init()
Stack trace:
Frame     Function  Args
00229984  7648F003  (00000030, 0000EA60, 00000000, 00229AA8)
00229998  7648EFB2  (00000030, 0000EA60, 000000A4, 00229A8C)
00229AA8  610BADB3  (00000000, 00000030, 00229AC8, 00000000)
00229B88  610B7A37  (00000000, 00000000, 00000000, 00000000)
00229BD8  610B7E4B  (00002EB4, 00229C00, 00229C14, 00229C14)
00229C98  610B7F71  (00002EB4, 00000006, 00229CC8, 610B8015)
00229CA8  610B7FAC  (00000006, 0022CE88, 00229CC8, BEBA1A11)
00229CC8  610B8015  (6115D054, 61195284, 61195294, 0000016B)
00229CF8  6100109B  (61195294, 0000016B, 611956EC, 61195284)
0022CD28  6107BD5D  (60FD000C, 611D8798, 0040E1B4, 6106E8A9)
0022CD88  610B2AE0  (00000000, 0022CDC0, 610066E0, 7FFD9000)

----------

AFAIK I'm running a pretty simple, nothing special Cygwin 1.7.1 
configuration on Windows 7.

See the attached cygcheck-cmd.out for the details.

If there's additional information which would be useful, please let me know.


Bill Meier


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-cmd.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100228/ebd9acbb/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list