Skip to content

Compiled nofib-analyse executable segfaults under windows

Happens in 8.2.2 and HEAD

$ ./nofib-analyse.exe ../log2_range ../log2_range  +RTS --generate-crash-dumps

Access violation in generated code when reading 0xffffffffffffffff

 Attempting to reconstruct a stack trace...

   Frame        Code address
 * 0x12ad980    0x454f0b C:\ghc\msys64\home\Andi\ghc_head\nofib\nofib-analyse\nofib-analyse.exe+0x54f0b
 * 0x12ada10    0x455515 C:\ghc\msys64\home\Andi\ghc_head\nofib\nofib-analyse\nofib-analyse.exe+0x55515
 * 0x12adb80    0x4576f6 C:\ghc\msys64\home\Andi\ghc_head\nofib\nofib-analyse\nofib-analyse.exe+0x576f6
 * 0x12adb88    0x44bfcd C:\ghc\msys64\home\Andi\ghc_head\nofib\nofib-analyse\nofib-analyse.exe+0x4bfcd
 * 0x12adb90    0x5512580
 * 0x12adb98    0x9d6e10 C:\ghc\msys64\home\Andi\ghc_head\nofib\nofib-analyse\nofib-analyse.exe+0x5d6e10
 * 0x12adba0    0x2
 * 0x12adba8    0x53b4f30

Crash dump created. Dump written to:
        C:\ghc\msys64\tmp\ghc-20180109-171729-25632-48420.dmp
Trac metadata
Trac field Value
Version 8.2.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information