[#3419] Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...>

Hello list,

19 messages 2004/09/17
[#3422] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3423] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:01, ts wrote:

[#3424] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3425] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:37, ts wrote:

[#3426] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3428] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 13:05, ts wrote:

[#3429] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

Re: Valgrind analysis of [BUG] unknown node type 0

From: Ruben <Ruben.Vandeginste@...>
Date: 2004-09-17 18:48:52 UTC
List: ruby-core #3442
At Sat, 18 Sep 2004 00:31:36 +0900,
Andrew Walrond wrote:
> 
> On Friday 17 Sep 2004 16:05, Yukihiro Matsumoto wrote:
> >
> > It's something called 'conservative garbage collection', which often
> > screws valgrind and other memory debugger.  Can you show us error
> > reproducing scripts?
> >
> 
> [Scripts too big to post here; Sent to matz directly]
> 
> So the question becomes: Has valgrind been somehow fooled in this case, or are 
> we really searching through uninitialised garbage for heap pointers?
> 
> I await your wise council ;)

hmm... conservative garbage collection = treat everything that looks
like a pointer as a pointer; so yes, this includes uninitialised
garbage. If that uninitialised garbage looks like a pointer into the
heap, the collector will treat it as a pointer into the heap and
assume that whatever it points to is live and can not be collected.

Ruben

In This Thread