[GHC] #7953: Segfault on x86 with -O2

GHC ghc-devs at haskell.org
Tue Aug 13 17:51:25 CEST 2013


#7953: Segfault on x86 with -O2
-------------------------------------+----------------------------
        Reporter:  igloo             |            Owner:  simonmar
            Type:  bug               |           Status:  new
        Priority:  highest           |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+----------------------------

Comment (by simonmar):

 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$ uname -a
 Linux ip-10-245-94-31 3.2.0-40-virtual #64-Ubuntu SMP Mon Mar 25 22:07:32
 UTC 2013 i686 i686 i386 GNU/Linux
 ubuntu at ip-10-245-94-31:~/scratch$ ~/ghc/inplace/bin/ghc-stage2 --version
 The Glorious Glasgow Haskell Compilation System, version 7.7.20130813
 ubuntu at ip-10-245-94-31:~/scratch$ ~/ghc/inplace/bin/ghc-stage2 -O2 7.hs
 -fforce-recomp
 [1 of 1] Compiling Main             ( 7.hs, 7.o )
 Linking 7 ...
 ubuntu at ip-10-245-94-31:~/scratch$ ./7
 Winner (E {_key = 1, prio = 0.7169761920394114}
 ...
 After atMost
 }}}

 Can anyone else still reproduce it on x86/Linux?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7953#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list