> From: Neil Jerram <n...@ossau.uklinux.net> > "Jose A. Ortega Ruiz" writes: > > > hi, > > > > during the last month or so, the threads test in 1.9.x has been failing > > for me (debian unstable, x86 box) intermittently, with the message: > > > > FAIL: threads.test: lock-mutex: timed locking succeeds if mutex unlocked > > within timeout > > > > it happens every now and then, but i haven't been able to pin down the > > cause (i'm not familiar with the code and haven't looked at it much), or > > to reproduce the error consistently (although with the current it seems > > to happen almost always). am i the only one? > > No, I think I've seen this too. Intermittently though, as you say. >
I get the same fairly often when I compile CFLAGS="-g3 -gdwarf-2 -O0". I imagine that it is the "-O0" zero optimization that has something to do with it. -Mike