
22 Jul
2014
22 Jul
'14
5:49 a.m.
On Tue, Jul 22, 2014 at 9:50 AM, Niklas Larsson
AtomicPrimOps.hs flakes out for: fetchAndTest fetchNandTest fetchOrTest fetchXorTest casTest
but not for fetchAddSubTest and readWriteTest.
If I step through it, the segfault comes at line 166, it doesn't reach the .fetchXXXIntArray function that was called from the thread (at least ghci doesn't hit a breakpoint set at it).
GDB says the bad instruction is: 4475: f0 8b 4c 24 40 lock mov 0x40(%esp),%ecx
Is this on FreeBSD only or does it happen elsewhere?