[GHC] #2044: "Can't unify" error in debugger

GHC trac at galois.com
Tue Jan 15 06:21:30 EST 2008


#2044: "Can't unify" error in debugger
-----------------------+----------------------------------------------------
    Reporter:  r6144   |       Owner:        
        Type:  bug     |      Status:  new   
    Priority:  normal  |   Component:  GHCi  
     Version:  6.8.2   |    Severity:  normal
    Keywords:          |    Testcase:        
Architecture:  x86     |          Os:  Linux 
-----------------------+----------------------------------------------------
 Debugging the attached array1.hs under GHCi gives the following error:

 {{{
 [haskell]$ ghci
 GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> :load array1.hs
 [1 of 1] Compiling Main             ( array1.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> :break rsRandomArray
 Breakpoint 0 activated at array1.hs:(31,0)-(42,79)
 *Main> main
 Loading package array-0.1.0.0 ... linking ... done.
 Loading package old-locale-1.0.0.0 ... linking ... done.
 Loading package old-time-1.0.0.0 ... linking ... done.
 Loading package random-1.0.0.0 ... linking ... done.
 Array 1: array Stopped at array1.hs:(31,0)-(42,79)
 _result :: ST s (UArray Idx Double) = _
 [array1.hs:(31,0)-(42,79)] *Main> :step
 Stopped at array1.hs:31:21-53
 ghc-6.8.2: panic! (the 'impossible' happened)
   (GHC version 6.8.2 for i386-unknown-linux):
         Can't unify

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 [array1.hs:31:21-53] *Main> :quit
 Leaving GHCi.
 }}}

 I'm running Fedora 8 with gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
 and ghc-6.8.2-2.fc8.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2044>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list