Bug 81837 - [radeonsi] memory leaks in OpenCL
Summary: [radeonsi] memory leaks in OpenCL
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-28 12:57 UTC by Vladimir Usikov
Modified: 2015-02-21 06:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
valgrind.log (256.29 KB, text/plain)
2014-07-30 17:42 UTC, Vladimir Usikov
Details
valgrind debug symbols (253.54 KB, text/plain)
2014-07-31 17:12 UTC, Vladimir Usikov
Details
valgrind debug symbols after fix patch (369.84 KB, text/plain)
2014-08-09 11:17 UTC, Vladimir Usikov
Details

Description Vladimir Usikov 2014-07-28 12:57:41 UTC
ArchLinux x86-64; linux 3.16rc6; mesa git; llvm svn; Radeon HD 7950

pyrit falls with segmentation error after a while.

behem0th@ArchLinux ~ $ date && free -m && sleep 120 && date && free -m
Пн июл 28 16:39:03 MSK 2014
             total       used       free     shared    buffers     cached
Mem:         16050       4649      11400         60        151       2451
-/+ buffers/cache:       2046      14003
Swap:         5718          0       5718
Пн июл 28 16:41:03 MSK 2014
             total       used       free     shared    buffers     cached
Mem:         16050       4879      11170         60        152       2451
-/+ buffers/cache:       2275      13774
Swap:         5718          0       5718

Memory consumption pyrit program is kept within 120Mb.

behem0th@ArchLinux ~/Wi-Fi/ROSTELECOM_3DF2-2 $ pyrit -r caps-01.cap -e ROSTELECOM_3DF2 -i ../Super-WPA attack_passthrough
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Parsing file 'caps-01.cap' (1/1)...
Parsed 166 packets (166 802.11-packets), got 1 AP(s)

Picked AccessPoint 34:8a:ae:58:3d:f3 automatically...
WARNING: Linking two modules of different data layouts: '/usr/lib/clc/tahiti-r600--.bc' is 'e-p3:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' whereas 'input.cl' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-p24:64:64-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64'
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5918720 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5914624 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5910528 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5906432 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5902336 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5898240 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5894144 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5890048 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5885952 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5881856 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5877760 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5873664 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5869568 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5865472 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5861376 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5857280 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5853184 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5849088 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5844992 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5840896 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5836800 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5832704 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 5832704 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 1048576 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 1048576 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x00000000fff2b000
Ошибка сегментирования
Comment 1 Tom Stellard 2014-07-28 14:48:03 UTC
Is this a regression?  If so, can you bisect?
Comment 2 Michel Dänzer 2014-07-29 03:21:29 UTC
The output from running the app with valgrind --leak-check=full might be interesting as well.
Comment 3 Vladimir Usikov 2014-07-30 17:42:16 UTC
Created attachment 103691 [details]
valgrind.log

>The output from running the app with valgrind --leak-check=full might be interesting as well.

Speed of pyrit in valgrind very low. After 13 hours i kill program.

Segmentation error occurs after the moment when the end system memory. The higher the speed of the faster this occurs.
Comment 4 Vladimir Usikov 2014-07-30 17:47:56 UTC
(In reply to comment #1)
> Is this a regression?

I don,t know. I try build another version.

>If so, can you bisect?

Where should I start, llvm or mesa?

I apologize for my english. ;-(
Comment 5 Michel Dänzer 2014-07-31 03:36:24 UTC
(In reply to comment #3)
> valgrind.log

If you could do this again with /usr/lib/gallium-pipe/pipe_radeonsi.so having debugging symbols as well, that might make it clearer whether the biggest leak is in Mesa or LLVM.
Comment 6 Vladimir Usikov 2014-07-31 17:12:39 UTC
Created attachment 103758 [details]
valgrind debug symbols
Comment 7 Vladimir Usikov 2014-08-09 07:46:44 UTC
I build mesa with Tom Stellard patch series "radeonsi/compute: Memory usage fixes"

behem0th@ArchLinux ~ $ free -m && sleep 120 && free -m && sleep 720 && free -m
             total       used       free     shared    buffers     cached
Mem:         16050       3955      12094         19        124       2583
-/+ buffers/cache:       1247      14802
Swap:         5718          0       5718
             total       used       free     shared    buffers     cached
Mem:         16050       4034      12016         19        125       2655
-/+ buffers/cache:       1253      14796
Swap:         5718          0       5718
             total       used       free     shared    buffers     cached
Mem:         16050       4473      11577         19        125       3100
-/+ buffers/cache:       1247      14803
Swap:         5718          0       5718

Much better, but not perfect.
Comment 8 Vladimir Usikov 2014-08-09 11:17:32 UTC
Created attachment 104338 [details]
valgrind debug symbols after fix patch
Comment 9 Vladimir Usikov 2015-02-21 06:00:14 UTC
I tried again with mes-git and llvm-svn. I can't see any memory leaks.


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.