SMP + FFI = crash...
|Reported by:||lipeng@…||Owned by:|
|Keywords:||smp ffi crash||Cc:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
Source code will be attached. This is a modified version of bug #705: each thread calls a safe C function via FFI. The normal behavior of the program is to loop forever. The program works fine using +RTS -N1, but when using +RTS -N2 or more threads on a SMP machine, it crashes nondeterministically with all kinds of funny error messages. I can reproduce it on difference linux SMP machines.
Change History (6)
Changed 9 years ago by lipeng@…
comment:3 Changed 9 years ago by simonmar
- Component changed from Compiler to Runtime System
- Milestone set to 6.6
- Priority changed from normal to high