Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,839
    • Issues 4,839
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 460
    • Merge requests 460
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #705

Closed
Open
Created Feb 25, 2006 by guest@trac-guest

crash on readChan/writeChan

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

  1. ...
  2. ...

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?

Trac metadata
Trac field Value
Version 6.5
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Linux
Architecture x86
Edited Mar 09, 2019 by wolfgang
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking