Skip to content

DPH QuickHull example crashes on SPARC with -N > 1

... ghc-head-build/libraries/dph/examples/quickhull$ par/quickhull 10000 +RTS -N1
N = 10000: 503/520 503/520 503/520

... ghc-head-build/libraries/dph/examples/quickhull$ par/quickhull 10000 +RTS -N2
Bus Error (core dumped)

GDB says:

(gdb) bt
#0  0x0197f5ec in eval_thunk_selector ()
#1  0x019806e0 in scavenge_block ()
#2  0x01981b48 in scavenge_loop ()
#3  0x01974934 in scavenge_until_all_done ()
#4  0x01975828 in GarbageCollect ()
#5  0x0196cd3c in scheduleDoGC ()
#6  0x0196e708 in schedule ()
#7  0x0196ba54 in real_main ()
#8  0x0196bbfc in hs_main ()
#9  0x000121bc in _start ()
Trac metadata
Trac field Value
Version 6.13
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