Skip to contentSkip to conversation

New: r600g: potential memory leak

Bug 30265 [email protected] 1 participant 3 messages Sep 19, 2010 – Oct 1, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: r600g: potential memory leak
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=38798)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38798)
(r600g) Output of valgrind --trace-children=yes --leak-check=full glxgears

Shortly running glxgears in valgrind with r600g:

LEAK SUMMARY:
definitely lost: 4,414,144 bytes in 236 blocks

With r600c, there's a lot less loss output.

System environment:
-- system architecture: amd64
-- Linux distribution: Gentoo
-- GPU: RS780G
-- Model: ATI Radeon HD 3200
-- Display connector: VGA
-- xf86-video-ati: b90cb61ccb0f4f80e0627141f223354a9371d47d -- xserver: 1.9.0
-- mesa: e4513e7fb96c6336d8c7fcdadfaddb6b335a736e -- drm: 7ec9a1effa4f551897f91f3b017723a8adf011d9 -- kernel: 2.6.36-rc4-00166-g151b6a5

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30265] r600g: potential memory leak

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

--- Comment #1 from Nicolas Kaiser <[email protected]> 2010-09-19 08:12:42 PDT --- Created an attachment (id=38799)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38799)
(r600c) Output of valgrind --trace-children=yes --leak-check=full glxgears

For comparison purposes.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 30265] r600g: potential memory leak

In reply to [email protected]

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

Nicolas Kaiser <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Nicolas Kaiser <[email protected]> 2010-10-01 04:34:19 PDT --- Since mesa commit 7ee8fa0421fd3c6522120d8639c6b311674a9b10
(Jerome Glisse, "r600g: switch to new design"), there is no more definitely lost memory detected with valgrind.

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