logo       

[GHC] #705: GHC SMP bug, crash on readChan/writeChan: msg#00079

lang.haskell.glasgow.bugs

Subject: [GHC] #705: GHC SMP bug, crash on readChan/writeChan

#705: GHC SMP bug, crash on readChan/writeChan
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6
Component: Compiler | Version: 6.5
Severity: blocker | Keywords: smp readChan writeChan crash
Os: Linux | Difficulty: Unknown
Architecture: x86 |
-------------------------+--------------------------------------------------
Source code:

http://www.seas.upenn.edu/~lipeng/tmp/ghc_smp_bug.tar.gz

Compile using the latest Linux binary snapshot (ghc-6.5.20060223):

$ ghc -fglasgow-exts -smp Server.hs --make -o Server.bin

Run on a 2-way SMP machine:

$ ./Server.bin +RTS -N1

....
....
Server.bin: internal error: EVACUATED object entered!
Please report this as a compiler bug. See:
http://www.haskell.org/ghc/reportabug
Aborted

Sometimes I get segmentation fault instead of the above error messages.
100% reproducable on 4 different Linux machines. This bug can be also
reproduced using +RTS -N2 by slighly changing the source code. Also
reproducable on an older version (20060205). Is it a bug or am I using GHC
incorrectly?

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/705>
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