Bug 30265

Summary: r600g: potential memory leak
Product: Mesa Reporter: Nicolas Kaiser <nikai>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: (r600g) Output of valgrind --trace-children=yes --leak-check=full glxgears
(r600c) Output of valgrind --trace-children=yes --leak-check=full glxgears

Description Nicolas Kaiser 2010-09-19 08:10:15 UTC
Created attachment 38798 [details]
(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
Comment 1 Nicolas Kaiser 2010-09-19 08:12:42 UTC
Created attachment 38799 [details]
(r600c) Output of valgrind --trace-children=yes --leak-check=full glxgears

For comparison purposes.
Comment 2 Nicolas Kaiser 2010-10-01 04:34:19 UTC
Since mesa commit 7ee8fa0421fd3c6522120d8639c6b311674a9b10
(Jerome Glisse, "r600g: switch to new design"), there is no more
definitely lost memory detected with valgrind.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.