logo       

Re: [GHC] #713: SMP + FFI = crash...: msg#00076

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #713: SMP + FFI = crash...

#713: SMP + FFI = crash...
-----------------------------------+----------------------------------------
Reporter: lipeng@xxxxxxxxxxxxx | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 6.6
Component: Runtime System | Version: 6.5
Severity: blocker | Resolution: fixed
Keywords: smp ffi crash | Os: Linux
Difficulty: Unknown | Architecture: x86
-----------------------------------+----------------------------------------
Changes (by simonmar):

* resolution: => fixed
* status: new => closed

Comment:

Thank you, this was a really useful bug report. I found at least 2 bugs,
one of which took more than a man day to find :-( There was no problem
with the FFI, by the way - I removed the FFI call from your program and
the crash still happened. The main bug was a subtle race in the runtime
when two threads were evaluating the same thunk.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/713>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise