Skip to content

SIGSEGV in yieldCapability ()

the following happens in a program compiled with ghc-7.0.3 (and also, with ghc-6.12.3), running with +RTS -N on i7-920, ubuntu 11 (kernel 2.6.38-8)

Program received signal SIGSEGV, Segmentation fault.
0x00000000006071de in yieldCapability ()
(gdb) where
#0  0x00000000006071de in yieldCapability ()
#1  0x000000000060bc6b in schedule ()
#2  0x0000000000609294 in real_main ()
#3  0x000000000060938d in hs_main ()
#4  0x00007ffff6b07eff in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
#5  0x000000000040a589 in _start ()

cf. http://thread.gmane.org/gmane.comp.lang.haskell.cafe/89244

My program uses STM and FFI. I am working on boiling down a test case. I open this ticket to perhaps get some directions.

Trac metadata
Trac field Value
Version 7.0.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
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