Ticket #1892 (closed merge: fixed)

Opened 6 years ago

Last modified 4 years ago

: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

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

Changed 6 years ago by mnislaih

  • owner changed from mnislaih to igloo
  • status changed from assigned to new
  • type changed from bug to merge
  • testcase set to break027
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

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Merged

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple

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.