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

GHC ghc-devs at haskell.org
Mon Jan 22 09:27:49 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 sergv):

 Okay, I did just that with a command shown below (taken from make output).
 Please find all three files packed in the `sources.tar.xz*` attachments
 and combine them via `cat`: `cat sources.tar.xz* | xz -d | tar xvf -`.

 {{{
 sergey at box /c/home/projects/ghc/rts$ (cd ..;
 "C:\home\projects\ghc\inplace\lib/../mingw/bin/gcc.exe" "-U__i686"
 "-march=i686" "-fno-stack-protector" "-DTABLES_NEXT_TO_CODE" "-U__i686"
 "-march=i686" "-fno-stack-protector" "-Iincludes" "-Iincludes/dist"
 "-Iincludes/dist-derivedconstants/header" "-Iincludes/dist-
 ghcconstants/header" "-Irts" "-Irts/dist/build" "-DCOMPILING_RTS" "-fno-
 strict-aliasing" "-fno-common" "-Irts/dist/build/./autogen" "-Wno-
 error=inline" "-fno-omit-frame-pointer" "-g3" "-DRtsWay=\"rts_debug\""
 "-DWINVER=0x06000100" "-w" "-DDEBUG" "-g2" "-DTRACING" "-x" "c"
 "rts\StgCRun.c" "-no-pie" "-Wimplicit" "-include"
 "C:/home/projects/ghc/includes\ghcversion.h" "-Iincludes"
 "-Iincludes/dist" "-Iincludes/dist-derivedconstants/header" "-Iincludes
 /dist-ghcconstants/header" "-Irts" "-Irts/dist/build" "-Irts/dist/build"
 "-Irts/dist/build/./autogen"
 "-IC:\home\projects\ghc\libraries\base\include"
 "-IC:\home\projects\ghc\libraries\integer-gmp\include"
 "-IC:/home/projects/ghc/rts/dist/build" "-IC:/home/projects/ghc/includes"
 "-IC:/home/projects/ghc/includes/dist-derivedconstants/header" -S -O0 -o
 e:/StgCRun.O0.s)
 }}}

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


More information about the ghc-tickets mailing list