From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 37168] Regression: Severe memory leak when running Second Life
Date: Fri, 10 Jun 2011 22:40:21 -0700 (PDT)
Message-ID: <20110611054021.F3EA913004F@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 000479E7FE
for ;
Fri, 10 Jun 2011 22:40:21 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=37168
--- Comment #13 from Pierre-Eric Pelloux-Prayer 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.