Opened 6 years ago

Closed 6 years ago

Last modified 4 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: Difficulty: Easy (less than 1 hour)
Test Case: break027 Blocked By:
Blocking: Related Tickets:

Description

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 6 years ago by mnislaih

  • Status changed from new to assigned

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

comment:2 Changed 6 years ago by mnislaih

  • Owner changed from mnislaih to igloo
  • Status changed from assigned to new
  • Test Case set to break027
  • Type changed from bug to merge
Wed Nov 14 15:33:43 PST 2007  Pepe Iborra <mnislaih@gmail.com>
 * Make pprNameLoc more robust in absence of loc information

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

comment:3 Changed 6 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

Merged

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Multiple to Unknown/Multiple

comment:6 Changed 4 years ago by simonmar

  • Difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.