
#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-): That's great work @sergv! It does make some sense since `StgCRun.c` controls part of the stack allocations. Could you provide the preprocessed file `inplace/mingw/bin/gcc -E StgCRun.c -o StgCRun.i` along with the assembly output of the file compiled at `-O1` and `-O0`. `inplace/mingw/bin/gcc -O0 -S StgCRun.c -o StgCRun-O0.s` and similar for `-O1`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14669#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler