Skip to content

segfault with +RTS -N2 (related to tryTakeMVar?)

when I compile the attached program

ghc-6.8.1 --make strange -threaded

and run like

  1. /strange +RTS -N2

the executable crashes with segfault after 30 .. 60 seconds.

this happens both on a single-core hyperthreaded as well as on a dual core machine (both opensuse-10.3). it happens on a "true" single core machine under debian as well.

Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information