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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #13 from Pierre-Eric Pelloux-Prayer <pelloux@xxxxxxxxx> 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux