[GHC] #14081: 8.2.1 runghc from Windows x32 segfaults an all programs
GHC
ghc-devs at haskell.org
Sat Aug 12 12:13:15 UTC 2017
#14081: 8.2.1 runghc from Windows x32 segfaults an all programs
----------------------------------+------------------------------
Reporter: sergv | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.2.2
Component: Compiler | 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-):
The list of dlls is fine, it's just the system redirecting the load. Had
it somehow been able to load the 64bit one then we would have gotten an
image load error.
GDB not showing a trace is unfortunately quite common during the RTS's
startup code. something screws up the stack frame during init.
use `break addDLLHandle if ((int)strcmp(dll_name, "ntdll.dll")) == 0`
and then step through the source with `next`.
My guess is you'll segfault after a few steps. If you do make a note of
which statement it was.
restart and step to just before the segfault and run `gcore` for a dump.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14081#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list