[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:28:11 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):

 It seems that without exception nothing is generated. And with `-debug`
 there are no exceptions...

 {{{
 ../ghc-8.4.1-alpha/bin/ghc HW.hs -fforce-recomp -debug -rtsopts
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 sergey at box /c/home/ghc/bugs$ ./HW.exe +RTS --generate-crash-dumps
 Situation normal
 sergey at box /c/home/ghc/bugs$ echo $?
 0
 sergey at box /c/home/ghc/bugs$ ls
 HW.exe*  HW.hi  HW.hs  HW.o  HWCatch.hs
 }}}

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


More information about the ghc-tickets mailing list