|
[ ghc-Bugs-1002139 ] Assertion failed in GC.c: msg#00003lang.haskell.glasgow.bugs
Bugs item #1002139, was opened at 2004-08-02 14:08 Message generated for change (Comment added) made by blamario 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: Open Resolution: None 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: Mario Bla?ević (blamario) Date: 2004-08-02 15: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> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1002139 ] Assertion failed in GC.c, SourceForge.net |
|---|---|
| Next by Date: | Return signatures in case expressions, Volodimir Rudenko |
| Previous by Thread: | [ ghc-Bugs-1002139 ] Assertion failed in GC.c, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-1002139 ] Assertion failed in GC.c, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |