Test 5558 fails with new code generator
ezyang@javelin:~/Dev/ghc-build-master-devel2/testsuite/tests/concurrent/should_run$ \
'/home/ezyang/Dev/ghc-build-master-devel2/inplace/bin/ghc-stage2' \
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf\
-rtsopts -fno-ghci-history -o 5558 5558.hs -O -threaded -eventlog\
-fnew-codegen -fforce-recomp -dopt-fuel=0\
&& for i in `seq 1 100`; do ./5558 +RTS -N2 -ls -RTS \
</dev/null >5558.run.stdout 2>5558.run.stderr || break; done
[1 of 1] Compiling Main ( 5558.hs, 5558.o )
Linking 5558 ...
Segmentation fault (core dumped)
It doesn't segfault if you turn off threads. Note that optimization fuel is set to zero. The error is nondeterministic.
Original bug was #5558 (closed).
Trac metadata
Trac field | Value |
---|---|
Version | 7.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |