[Bug 37168] Regression: Severe memory leak when running Second Life

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 10 22:40:21 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37168

--- Comment #13 from Pierre-Eric Pelloux-Prayer <pelloux at gmail.com> 2011-06-10 22:40:21 PDT ---
(In reply to comment #7)
> Your patch fixes the problem here too! Great job spotting it!!

cool :)

> 
> I am curious, what research process did you undertake in order to isolate the
> leak? 

I've mainly used valgrind (massif and memcheck tools) to see where the memory
allocations came from (massif) and if some of them were really memory leak (ie
: memory allocated with with no reference to them).
Those 2 tools pointed to the same place, so I start digging there to understand
how could this be possible, and eventually found a place where a refcounted
resource was mis-released. This part was done mainly with printf logging and
cgdb.

Thanks for testing, I'll propose the patch for inclusion.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list