logo       

[ ghc-Bugs-1002139 ] Assertion failed in GC.c: msg#00010

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1002139 ] Assertion failed in GC.c

Bugs item #1002139, was opened at 2004-08-02 18:08
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1002139&group_id=8032

Category: Runtime System
Group: 6.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mario Bla?ević (blamario)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assertion failed in GC.c

Initial Comment:
Instructions:

1. Download the attached archive.
2. tar xzf gens.tar.gz
3. cd gens
4. make
5. make Env/If.so
6. ./gens - <tests

The message I'm getting is:

ASSERTION FAILED: file GC.c, line 1722

When I compile without -debug option, there's a
segfault with no error report. If I do +RTS -G1 -RTS,
the tests keep running longer, but they still crash in
the end.

There's another weird thing, probably unrelated.

./gens-prof +RTS -xc -RTS - <tests

outputs stack frames ending with readFile function
call, like it was throwing an exception and catching it
immediately. After the readFile call, execution
proceeds normally.


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

>Comment By: Simon Marlow (simonmar)
Date: 2004-08-09 13:40

Message:
Logged In: YES
user_id=48280

The program works with the current CVS sources of 6.2.2.
I'm guessing it is an instance of the GC bug we fixed
recently. Please upgrade to 6.2.2 when it comes out, or
build from CVS (ghc-6-2-branch).

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

Comment By: Mario Bla?evi&#263; (blamario)
Date: 2004-08-02 19:49

Message:
Logged In: YES
user_id=1096128

There's an error in the code I attached. File GensSystem.hs,
line 150:
sizeOf fi = 8
should be
sizeOf fi = 16

But even with this fix I get the same GC error. I suppose I
could be doing something wrong with the Storable Interface,
but I can't see anything.


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

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


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

News | FAQ | advertise