[GHC] #16067: Profiled GHCi segfaults under Windows.
GHC
ghc-devs at haskell.org
Tue Dec 18 21:52:40 UTC 2018
#16067: Profiled GHCi segfaults under Windows.
----------------------------------------+-------------------------------
Reporter: AndreasK | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 8.7
Keywords: | Operating System: Windows
Architecture: Unknown/Multiple | Type of failure: GHCi crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
----------------------------------------+-------------------------------
Building ghc with the prof flavour and trying to run ghci segfaults on
master.
{{{
C:\ghc\msys64\home\Andi\ghc_head\inplace\bin\ghc-stage2.exe --interactive
GHCi, version 8.7.20181218: https://www.haskell.org/ghc/ :? for help
Access violation in generated code when reading 0xffffffffffffffff
Attempting to reconstruct a stack trace...
Frame Code address
* 0x67cd990 0x4d6634c C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x496634c
* 0x67cd9f0 0x4d51848 C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x4951848
* 0x67cda50 0x4d5192f C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x495192f
* 0x67cda80 0x4d678a1 C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x49678a1
* 0x67cda88 0x4c5fe64 C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x485fe64
* 0x67cda90 0x1083d0
* 0x67cda98 0x88e5020
* 0x67cdaa0 0x88e36a1
* 0x67cdaa8 0x2000000 C:\ghc\msys64\home\Andi\ghc_head\inplace\bin
\ghc-stage2.exe+0x1c00000
}}}
Just starting it in gdb tells me this is happening in registerCcsList in
the RTS.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16067>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list