[GHC] #14669: Executable finishing via unhandled exception results in segmentation fault on 32 bit Windows

GHC ghc-devs at haskell.org
Sun Jan 14 17:00:22 UTC 2018


#14669: Executable finishing via unhandled exception results in segmentation fault
on 32 bit Windows
-----------------------------------+----------------------------------
        Reporter:  sergv           |                Owner:  (none)
            Type:  bug             |               Status:  infoneeded
        Priority:  normal          |            Milestone:
       Component:  Runtime System  |              Version:  8.2.1
      Resolution:                  |             Keywords:
Operating System:  Windows         |         Architecture:  x86
 Type of failure:  Runtime crash   |            Test Case:
      Blocked By:                  |             Blocking:
 Related Tickets:                  |  Differential Rev(s):
       Wiki Page:                  |
-----------------------------------+----------------------------------

Comment (by sergv):

 Oh, I forgot to mention that debug RTS does not have this problem :)

 {{{
 sergey at box /c/home/ghc/bugs$ ../ghc-8.2.2-x32/bin/ghc HW.hs -fforce-recomp
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 sergey at box /c/home/ghc/bugs$ ./HW.exe
 Situation normal
 Segmentation fault
 sergey at box /c/home/ghc/bugs$ ../ghc-8.2.2-x32/bin/ghc HW.hs -fforce-recomp
 -debug
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 sergey at box /c/home/ghc/bugs$ ./HW.exe
 Situation normal
 sergey at box /c/home/ghc/bugs$
 sergey at box /c/home/ghc/bugs$ ../ghc-8.4.1-alpha/bin/ghc HW.hs -fforce-
 recomp
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 sergey at box /c/home/ghc/bugs$ ./HW.exe
 Situation normal
 Segmentation fault
 sergey at box /c/home/ghc/bugs$ ../ghc-8.4.1-alpha/bin/ghc HW.hs -fforce-
 recomp -debug
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 sergey at box /c/home/ghc/bugs$ ./HW.exe
 Situation normal
 sergey at box /c/home/ghc/bugs$ echo $?
 0
 }}}

 I believe this issue has similar reproducibility difficulties as
 https://ghc.haskell.org/trac/ghc/ticket/14081.

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


More information about the ghc-tickets mailing list