Ticket #3431 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

Loading this module causes panic in interpreter.

Reported by: jsnx Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.10.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

This file causes a panic when I try to load it in ghci; but it compiles okay with ghc.

Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> :load Submutations.hs 
[1 of 1] Compiling Submutations     ( Submutations.hs, interpreted )
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.4 for i386-apple-darwin):
        schemeE(AnnCase).my_discr __word 0

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

> 

This bug has been observed with 6.10.3 on OS X and 6.10.4 on both OS X and x86_64 Linux.

When the definition of permutations is commented out and replaced with undefined, the problem goes away.

Attachments

Submutations.hs Download (1.7 KB) - added by jsnx 4 years ago.
Triggers bug.

Change History

Changed 4 years ago by jsnx

Triggers bug.

follow-up: ↓ 2   Changed 4 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to duplicate

Thanks for the report. This is a duplicate of #2881, so I'll close this ticket.

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 4 years ago by jsnx

Replying to igloo:

Thanks for the report. This is a duplicate of #2881, so I'll close this ticket.

Is #3425 related?

in reply to: ↑ 2   Changed 4 years ago by jsnx

Replying to jsnx:

Replying to igloo:

Thanks for the report. This is a duplicate of #2881, so I'll close this ticket.

Is #3425 related?

No, I guess not -- #2881 has to do with pattern matches on Word.

Note: See TracTickets for help on using tickets.