[GHC] #713: SMP + FFI = crash...
GHC
trac at galois.com
Fri Mar 3 18:18:11 EST 2006
#713: SMP + FFI = crash...
-------------------------------------+--------------------------------------
Reporter: lipeng at cis.upenn.edu | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: blocker | Keywords: smp ffi crash
Os: Linux | Difficulty: Unknown
Architecture: x86 |
-------------------------------------+--------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/713>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list