Ticket #3459 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

ghci 6.10.4 and 6.10.1 crash with a big list

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

Description

A have a haskell program with a big list of brazillian cities which crash ghci 6.10.4 with the following message (the same error occurred with 6.10.1):

Prelude Data.ListTrie?.Patricia.Map Data.ListTrie?.Base.Map> :l MakeMunicipios?.hs [1 of 1] Compiling MakeMunicipios? ( MakeMunicipios?.hs, interpreted ) ghc: panic! (the 'impossible' happened)

(GHC version 6.10.4 for i386-unknown-linux):

linkBCO: >= 64k insns in BCO

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

Attachments

MakeMunicipios.hs Download (175.1 KB) - added by joaoraf 4 years ago.
Module which crashes ghci

Change History

Changed 4 years ago by joaoraf

Module which crashes ghci

Changed 4 years ago by Bart Massey

Confirmed. This has been around since GHC 6.8 at least, and fails with other big lists also.

I'm not sure I agree the severity is "major", but I agree that it should be fixed.

Changed 4 years ago by simonpj

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

This almost certainly a dup of #780, which has been fixed recently. Try with the HEAD. If it fails, re-open the bug, but I'll close it meanwhile.

Simon

Note: See TracTickets for help on using tickets.