logo       

[ ghc-Bugs-1261411 ] panic when interpreting compiled stuff: msg#00087

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1261411 ] panic when interpreting compiled stuff

Bugs item #1261411, was opened at 2005-08-16 18:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1261411&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GHCi
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Isaac (isaacdupree)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic when interpreting compiled stuff

Initial Comment:
I am using the Linux/ppc ghc 6.4 binary found on the
ghc downloads page. I'm assuming it supports ghci,
since ghci seems to work for other things.

The simplest way to trigger it is this (or the equivalent):
echo 'main=return()' > bug.hs && ghc bug.hs && ghci bug.hs
, and enter `main' at the ghci prompt. It yields:
<interactive>: Unable to mmap( MAP_FIXED ) for Jump Islands

ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
loadObj: failed

Please report it as a compiler bug to
glasgow-haskell-bugs@xxxxxxxxxxx,
or http://sourceforge.net/projects/ghc/.


Oddly, entering `main' again at the next ghci prompt
yields a different mesage and exits ghci:
<interactive>: internal error: Unable to make
ppcJumpIsland for #11
Please report this as a bug to
glasgow-haskell-bugs@xxxxxxxxxxx,
or http://www.sourceforge.net/projects/ghc/


I came across this when doing `ghci -package wx', which
after some ordinary output printed:
Loading package haskell98-1.0 ... ghc-6.4: Unable to
mmap( MAP_FIXED ) for Jump Islands
(followed by the rest of the error messages in my first
output listing.)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1261411&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise