[GHC] #14669: 32-bit binaries sometimes throw a stack overflow on shutdown.

GHC ghc-devs at haskell.org
Sun Jan 21 21:36:50 UTC 2018


#14669: 32-bit binaries sometimes throw a stack overflow on shutdown.
-----------------------------------+----------------------------------
        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 Phyx-):

 Ok, compile the rts with `-Og -g`, recompile your example and run it in
 gdb. `gdb --args HW.exe`.

 Once it crashes get a backtrace using `bt`. It's entirely possible the 32
 bit version of GCC has issues. It's not tested or used as much as the 64
 bit one unfortunately.

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


More information about the ghc-tickets mailing list