Skip to content

GHC panic with 64 bit kernel: Int64 truncated to fit in 32 bit Int

Reloading xmonad configuration i get ugly X window with this text: Error detected while loading xmonad configuration file: /home/temoto/.xmonad/xmonad.hs

on the commandline:

Warning: -no-recomp is deprecated: Use -fforce-recomp instead

Binary: Int64 truncated to fit in 32 bit Int ghc: panic! (the 'impossible' happened)

(GHC version 6.10.3 for i386-unknown-linux):

Prelude.chr: bad argument

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

Please check the file for errors.

Running 32bit Ubuntu Karmic on custom 64bit capable kernel. The error is 100% reproducable, in fact i get it on every xmonad config reload. I can send any additional information, if that helps. The error started to appear after i upgraded Ubuntu jaunty to unstable karmic (so really lots of packages changed, i can't trace point of failure more precisely).

Trac metadata
Trac field Value
Version 6.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by dons
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information