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

GHC ghc-devs at haskell.org
Sun Jan 14 16:08:33 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:                  |
-----------------------------------+----------------------------------
Changes (by Phyx-):

 * status:  new => infoneeded


Comment:

 I can't reproduce this
 {{{
 Tamar at Rage ~/ghc2> /r/x86/ghc-8.2.2/bin/ghc-pkg.exe --version; echo
 $status
 GHC package manager version 8.2.2
 0

 Tamar at Rage ~/ghc2> /r/x86/ghc-8.2.2/bin/ghc.exe HW.hs; ./HW.exe; echo
 $status
 [1 of 1] Compiling Main             ( HW.hs, HW.o )
 Linking HW.exe ...
 Situation normal
 0
 }}}

 Haskell Exceptions are also language level, they don't throw an actual
 signal so they shouldn't be triggering the exception handlers. More likely
 than not, since it happens across compilers, you have an external process
 interrupting your Haskell program.

 using the `8.4.1` alpha compile your program with `-debug` and run it with
 `+RTS --generate-crash-dump` and upload the  dump somewhere and link it
 back.

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


More information about the ghc-tickets mailing list