Opened 4 years ago

Closed 8 months 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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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 4 years ago.
Uncomment "instance Default GuiState?" block

Download all attachments as: .zip

Change History (11)

Changed 4 years ago by bob

Uncomment "instance Default GuiState?" block

comment:1 Changed 4 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 4 years ago by igloo

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

comment:3 Changed 3 years ago by igloo

  • Milestone changed from 7.0.1 to 7.0.2

comment:4 Changed 3 years ago by igloo

  • Milestone changed from 7.0.2 to 7.2.1

comment:5 Changed 3 years ago by simonmar

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

comment:6 Changed 3 years ago by igloo

  • Milestone changed from 7.2.1 to 7.4.1

comment:7 Changed 2 years ago by igloo

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

comment:8 Changed 19 months ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:9 Changed 8 months 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 8 months ago by jstolarek

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