[GHC] #962: hptRules crash

GHC trac at galois.com
Thu Nov 2 04:13:37 EST 2006


#962: hptRules crash
----------------------+-----------------------------------------------------
 Reporter:  guest     |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.6    
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Old description:

> I got this blowup from ghc-6.6 (ghc-6.6-2 from Debian unstable on i386).
>
> ghc-6.6: panic! (the 'impossible' happened)
>   (GHC version 6.6 for i386-unknown-linux):
>         hptRules
>     Authorization [(Authorization, False), (BinParse, False),
>                    (BinaryIO, False), (BuildVersion, False), (CFreeVars,
> False),                   (CParser, False), (CSyntax, False), (CType,
> False),
>                    (CVParser, False), (CVParserAssertion, False),
>                    (CVParserCommon, False), (CVParserImperative, False),
>                    (CVParserUtil, False), (CVPrint, False), (Classic,
> False),
>                    (Error, False), (ErrorUtil, False), (Eval, False),
>                    (FStringCompat, False), (FileIOUtil, False),
> (FileNameUtil, False),
>                    (Fixity, False), (Flags, False), (Flexlm, False),
>                    (GHCPretty, False), (Hash, False), (IOMutVar, False),
>                    (IOUtil, False), (Id, False), (IdPrint, False),
> (IntLit, False),
>                    (IntMap, False), (IntegerMisc, False), (IntegerUtil,
> False),
>                    (Lex, False), (ListSet, False), (ListUtil, False),
>                    (Literal, False), (Log2, False), (NumType, False),
> (OrdMap, False),
>                    (OrdSet, False), (PFPrint, False), (PPrint, False),
>                    (PVPrint, False), (Parse, False), (Parsec, False),
>                    (ParsecChar, False), (ParsecCombinator, False),
>                    (ParsecExpr, False), (ParsecPrim, False), (Position,
> False),
>                    (Pragma, False), (PreIds, False), (PreStrings, False),
>                    (Pretty, False), (SEMonad, False), (SchedInfo, False),
>                    (Sort, False), (SpeedyString, False),
>                    (SystemVerilogKeywords, False),
> (SystemVerilogPreprocess, False),
>                    (SystemVerilogScanner, False), (SystemVerilogTokens,
> False),
>                    (Trace, False), (Type, False), (Util, False),
> (VModInfo, False),
>                    (Version, False)]
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 I got this blowup from ghc-6.6 (ghc-6.6-2 from Debian unstable on i386).
 {{{
 ghc-6.6: panic! (the 'impossible' happened)
   (GHC version 6.6 for i386-unknown-linux):
         hptRules
     Authorization [(Authorization, False), (BinParse, False),
                    (BinaryIO, False), (BuildVersion, False), (CFreeVars,
 False),                   (CParser, False), (CSyntax, False), (CType,
 False),
                    (CVParser, False), (CVParserAssertion, False),
                    (CVParserCommon, False), (CVParserImperative, False),
                    (CVParserUtil, False), (CVPrint, False), (Classic,
 False),
                    (Error, False), (ErrorUtil, False), (Eval, False),
                    (FStringCompat, False), (FileIOUtil, False),
 (FileNameUtil, False),
                    (Fixity, False), (Flags, False), (Flexlm, False),
                    (GHCPretty, False), (Hash, False), (IOMutVar, False),
                    (IOUtil, False), (Id, False), (IdPrint, False),
 (IntLit, False),
                    (IntMap, False), (IntegerMisc, False), (IntegerUtil,
 False),
                    (Lex, False), (ListSet, False), (ListUtil, False),
                    (Literal, False), (Log2, False), (NumType, False),
 (OrdMap, False),
                    (OrdSet, False), (PFPrint, False), (PPrint, False),
                    (PVPrint, False), (Parse, False), (Parsec, False),
                    (ParsecChar, False), (ParsecCombinator, False),
                    (ParsecExpr, False), (ParsecPrim, False), (Position,
 False),
                    (Pragma, False), (PreIds, False), (PreStrings, False),
                    (Pretty, False), (SEMonad, False), (SchedInfo, False),
                    (Sort, False), (SpeedyString, False),
                    (SystemVerilogKeywords, False),
 (SystemVerilogPreprocess, False),
                    (SystemVerilogScanner, False), (SystemVerilogTokens,
 False),
                    (Trace, False), (Type, False), (Util, False),
 (VModInfo, False),
                    (Version, False)]

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

Comment (by simonpj):

 GHC thinks that it should have compiled module Authorization by now, but
 it hasn't.  You don't show the complete compile log, so it's hard to say
 more.

 Can you give us a reproducible test case?

 Could your interface files might be in an inconsistent state?  If you
 remove all .o and .hi files, and start from scratch, does it happen?

 Simon

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


More information about the Glasgow-haskell-bugs mailing list