[Haskell-cafe] Possible GC bug
Anish Muttreja
anishmuttreja at gmail.com
Fri Jan 9 17:34:38 EST 2009
Thanks, I have reported a bug.I hope the stack trace is useful.
Cheers,
Anish
On Fri, Jan 09, 2009 at 02:21:58PM -0800, Don Stewart wrote:
> Report it as a GHC bug to the GHC team, here:
>
> http://hackage.haskell.org/trac/ghc/newticket?type=bug
>
> if you believe it is a bug.
>
> Cheers,
> Don
>
>
> anishmuttreja:
> > Hi,
> > I have a program that seems to run into occasional garbage
> > collection-related core dumps. The problem typically only occurs after the
> > program has been running for a while and is consuming a large amount of
> > memory (5 - 16GB). The large memory consumption is expected because the
> > program analyzes very large traces from verilog simulation and needs to
> > maintain IntMaps with hundreds of thousands of entries.
> >
> > Is this a bug that I should report?I am afraid that my employer will not
> > allow me to share my source code. I do have a stack trace, below.
> > This was obtained using ghc 6.10.1, RTS -N2 on an RHEL 4 machine.
> >
> > Is there something I can do trace the problem or avoid it?
> >
> > Thanks.
> > PS: This is my first Haskell program and one of the most complicated I
> > ever wrote, in any language. Using Haskell has been (mostly :-)) a joy.
> >
> > (gdb) where
> > #0 0x0000000000612f40 in slowIsHeapAlloced ()
> > #1 0x000000000060f868 in evacuate ()
> > #2 0x0000000000618d12 in scavenge_block ()
> > #3 0x0000000000617c8d in scavenge_loop ()
> > #4 0x0000000000610b25 in scavenge_until_all_done ()
> > #5 0x0000000000610d02 in gc_thread_entry ()
> > #6 0x000000000064859d in start_thread (arg=<value optimized out>)
> > at pthread_create.c:297
> > #7 0x000000000069e739 in clone ()
> > #8 0x0000000000000000 in ?? ()
> >
> > --
> > As an adolescent I aspired to lasting fame, I craved factual certainty,
> > and I thirsted for a meaningful vision of human life - so I became a
> > scientist. This is like becoming an archbishop so you can meet girls.
> > -Matt Cartmill, anthropology professor and author (1943- )
>
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list