#5805: Test 5558 fails with new code generator
------------------------------+---------------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime crash | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
{{{
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5805>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs