[GHC] #8103: Segfault when passing unboxed Float# and Double# across modules
GHC
ghc-devs at haskell.org
Tue Aug 13 17:54:31 CEST 2013
#8103: Segfault when passing unboxed Float# and Double# across modules
----------------------------------+---------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Linux | Architecture: x86
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: 6135 | Related Tickets:
----------------------------------+---------------------------
Changes (by simonmar):
* priority: normal => highest
* milestone: => 7.8.1
Comment:
I tried and failed to reproduce this today, with a freshly built GHC on a
32-bit x86 Amazon EC2 instance running Ubuntu 12.04.
{{{
ubuntu at ip-10-245-94-31:~/scratch$ ~/ghc/inplace/bin/ghc-stage2 8103.hs
-fforce-recomp
[1 of 2] Compiling AddWraps ( AddWraps.hs, AddWraps.o )
[2 of 2] Compiling Main ( 8103.hs, 8103.o )
Linking 8103 ...
ubuntu at ip-10-245-94-31:~/scratch$ ./8103
0
}}}
Incidentally the Cmm code above cannot be generated on x86, because it
mentions D1 and D2 which are never used by the x86 backend. Maybe you
generated it on x86_64?
I'm stumped on this one - I tried the repro in #7953 too and that didn't
crash for me either.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8103#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list