Ticket #7380 (new bug)
Panic: mkNoTick: Breakpoint loading modules with -O2 via API
| Reported by: | JeanPhilippeMoresmau | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | GHC API | Version: | 7.4.1 |
| Keywords: | Cc: | ||
| Operating System: | Windows | Architecture: | ia64 |
| Type of failure: | Runtime crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

