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

GHC trac at galois.com
Fri Feb 24 22:51:39 EST 2006


#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


More information about the Glasgow-haskell-bugs mailing list