SMP + FFI = crash...
|Reported by:||lipeng@…||Owned by:|
|Keywords:||smp ffi crash||Cc:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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 8 years ago by lipeng@…
comment:3 Changed 8 years ago by simonmar
- Component changed from Compiler to Runtime System
- Milestone set to 6.6
- Priority changed from normal to high