Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#1892 closed merge (fixed)

:info panics when used on breakpoint bindings

Reported by: mnislaih Owned by: igloo
Priority: high Milestone: 6.8.2
Component: GHCi Version: 6.8.1
Keywords: Cc: mnislaih@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: break027
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


After stopping at a breakpoint, asking GHCi for :info about the bindings causes a panic. I have only tested in Mac Os 10.5, but I expect the behaviour to be consistent in all platforms.

[qsort.hs:(1,0)-(3,54)] *Main> :step
Stopped at qsort.hs:2:16-51
_result :: [Integer] = _
a :: Integer = 1
left :: [Integer] = _
right :: [Integer] = _

[qsort.hs:2:16-51] *Main> :i left 
left ::ghc-6.8.20070911: panic! (the 'impossible' happened)
  (GHC version 6.8.20070911 for i386-apple-darwin):
	nameModule left{v I15U}

Change History (6)

comment:1 Changed 10 years ago by mnislaih

Status: newassigned

I am validating the fix. Shame on our testsuite for letting this one slip into the release

comment:2 Changed 10 years ago by mnislaih

Owner: changed from mnislaih to igloo
Status: assignednew
Test Case: break027
Type: bugmerge
Wed Nov 14 15:33:43 PST 2007  Pepe Iborra <>
 * Make pprNameLoc more robust in absence of loc information

   M ./compiler/basicTypes/Name.lhs -1 +4

comment:3 Changed 10 years ago by igloo

Resolution: fixed
Status: newclosed


comment:4 Changed 9 years ago by simonmar

Architecture: MultipleUnknown/Multiple

comment:5 Changed 9 years ago by simonmar

Operating System: MultipleUnknown/Multiple

comment:6 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.