Opened 5 years ago

Closed 2 years ago

#3915 closed bug (fixed)

GHC panic; possibly related to mutually recursive modules

Reported by: bob Owned by: jstolarek
Priority: lowest Milestone: 7.6.2
Component: Compiler Version: 6.12.1
Keywords: GHC panic mutually recursive modules Cc:
Operating System: Linux Architecture: x86
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

GHC panics when an instance block is uncommented in State.hs in http://patch-tag.com/r/bob/Domination. The attached patch uncomments it. It might be related to mutually recursive modules.

Attachments (1)

panic.diff (719 bytes) - added by bob 5 years ago.
Uncomment "instance Default GuiState" block

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by bob

Uncomment "instance Default GuiState" block

comment:1 Changed 5 years ago by igloo

  • Milestone set to 6.12.3

Thanks for the report. Can you please say what command you are running, and paste the error you get?

Also, if you are able to make a testcase that doesn't depend on other packages then that would make this easier to investigate.

comment:2 Changed 5 years ago by igloo

  • Milestone changed from 6.12.3 to 6.14.1
  • Priority changed from normal to low

comment:3 Changed 5 years ago by igloo

  • Milestone changed from 7.0.1 to 7.0.2

comment:4 Changed 4 years ago by igloo

  • Milestone changed from 7.0.2 to 7.2.1

comment:5 Changed 4 years ago by simonmar

  • Type of failure changed from GHC doesn't work at all to Compile-time crash

comment:6 Changed 4 years ago by igloo

  • Milestone changed from 7.2.1 to 7.4.1

comment:7 Changed 3 years ago by igloo

  • Milestone changed from 7.4.1 to 7.6.1
  • Priority changed from low to lowest

comment:8 Changed 3 years ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:9 Changed 2 years ago by jstolarek

  • difficulty set to Unknown
  • Owner set to jstolarek

Is it OK if we close this ticket? We have no code that would allow to reproduce the problem (unless OP can provide us with code). I'll close this ticket in a couple of days/weeks, unless somebody objects.

comment:10 Changed 2 years ago by jstolarek

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.