AtomicPrimOps tests failing on 32-bit x86
concurrent/should_test/AtomicPrimops test fails on 32-bit archs as reported on the mailing list by Páli Gábor János http://www.haskell.org/pipermail/ghc-devs/2014-July/005706.html.
More info: 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
Trac metadata
Trac field | Value |
---|---|
Version | 7.9 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |