[Mono-list] Re: GC issue in mono 0.31
Nikolai Zhubr
s001@hotbox.ru
Tue, 4 May 2004 01:08:30 +0400
------------2479D02D7E8713
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello Hans,
It looks like mono GC version doesn't have gctest and does
nothing for make check. I suppose I'll therefore need to
download full version first.
Meanwhile, I've added more debugging prints now so all
variables you mentioned are displayed just before segv.
This output + /proc/<mono pid>/maps is attached here.
I'd also note that NPTL is not present on this box, AFAIK.
Well, the base system is pretty old, basically RedHat 7.1
with only some specific packages updated, those which I was
actually interested in.
--
Best regards,
Nikolai Zhubr
Monday, 03 May, 2004, 22:18:09, you wrote:
> This means that the collector tried to trace, i.e. look for pointer in,
> a memory range that was not in fact mapped. The interesting values
> to look at are local variables current_p and limit, as well as the output
> of GC_dump() and a copy of /proc/<pid>/maps.
> Possible causes are:
> 1) The collector is confused about the location of the cold end of
> the main stack. You might check that GC_stackbottom looks reasonable.
> 2) The collector is confused about the location of a data segment.
> 3) The collector was mistakenly not configured for thread support.
> I suspect the collector hasn't been as heavily tested with 2.6 kernels
> and NPTL as it should have been. I'm also trying to so some of that
> as we speak.
> Does gctest ("make check") in the gc directory work? (I assume that
> should still work with the Mono version of the collector.)
> Once you're sure that this is not a Mono-specific issue, it's good to
> copy the gc@linux.hpl.hp.com mailing list.
> Hans
>> -----Original Message-----
>> From: Nikolai Zhubr [mailto:s001@hotbox.ru]
>> Sent: Sunday, May 02, 2004 3:54 PM
>> To: boehm@acm.org; mono-gc-list@lists.ximian.com; mono-list@ximian.com
>> Subject: GC issue in mono 0.31
------------2479D02D7E8713
Content-Type: text/plain; name="mono-crash.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="mono-crash.txt"
bGltaXQgPSAweDA4MDdkMTJjLCBjdXJyZW50X3AgPSAweDA4MDdjZjM0LCBHQ19zdGFja2JvdHRv
bSA9IDB4YmZmZmY4NmM7CioqKlN0YXRpYyByb290czoKRnJvbSAweDgwNDk3YjAgd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