Skip to content

Panic: mkNoTick: Breakpoint loading modules with -O2 via API

I load a trivial module via the API. I get a panic: GHCBugs.exe: GHCBugs.exe: panic! (the 'impossible' happened)

(GHC version 7.4.1 for i386-unknown-mingw32):

mkNoTick: Breakpoint

If I pass -O2 in the options. Without -O2 the module loads.

I attach the source code using the API to the ticket. The module I try to load just says: module Main where

main::IO() main = print "Hello Fay"

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHC API
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Windows
Architecture ia64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information