[Bug 214029] [NAVI] Several memory leaks in amdgpu and ttm

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=214029

--- Comment #8 from Erhard F. (erhard_f@xxxxxxxxxxx) ---
Created attachment 298783
  --> https://bugzilla.kernel.org/attachment.cgi?id=298783&action=edit
output of kmemleak (kernel 5.15-rc1, AMD FX-8370)

Seems unchanged in kernel 5.15-rc1.

 # cat /sys/kernel/debug/kmemleak
unreferenced object 0xffff88810830b400 (size 1024):
  comm "lxdm-greeter-gt", pid 624, jiffies 4294887923 (age 1566.300s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 08 b4 30 08 81 88 ff ff  ..........0.....
    08 b4 30 08 81 88 ff ff 30 f5 10 9b 81 88 ff ff  ..0.....0.......
  backtrace:
    [<ffffffffc1352a88>] amdgpu_job_alloc+0x38/0x2f0 [amdgpu]
    [<ffffffffc1352d67>] amdgpu_job_alloc_with_ib+0x27/0xf0 [amdgpu]
    [<ffffffffc0f37323>] amdgpu_copy_buffer+0x1d3/0x700 [amdgpu]
    [<ffffffffc0f37e4a>] amdgpu_ttm_copy_mem_to_mem+0x5fa/0xf00 [amdgpu]
    [<ffffffffc0f39586>] amdgpu_bo_move+0x356/0x2050 [amdgpu]
    [<ffffffffc06fa897>] ttm_bo_handle_move_mem+0x1c7/0x620 [ttm]
    [<ffffffffc06fe403>] ttm_bo_validate+0x2b3/0x3b0 [ttm]
    [<ffffffffc0f3fa84>] amdgpu_bo_fault_reserve_notify+0x2a4/0x640 [amdgpu]
    [<ffffffffc0f4f903>] amdgpu_gem_fault+0x123/0x2d0 [amdgpu]
    [<ffffffff97568963>] __do_fault+0xf3/0x3e0
    [<ffffffff9757a5f5>] __handle_mm_fault+0x16e5/0x2aa0
    [<ffffffff9757bada>] handle_mm_fault+0x12a/0x490
    [<ffffffff9708e449>] do_user_addr_fault+0x259/0xb70
    [<ffffffff988137a5>] exc_page_fault+0x55/0xb0
    [<ffffffff98a00acb>] asm_exc_page_fault+0x1b/0x20
unreferenced object 0xffff8881fe3ca4c0 (size 216):
  comm "lxdm-greeter-gt", pid 624, jiffies 4294887923 (age 1566.300s)
  hex dump (first 32 bytes):
    50 a5 3c fe 81 88 ff ff 20 ab 74 c0 ff ff ff ff  P.<..... .t.....
    e0 ea 04 ac 08 00 00 00 50 fd c5 08 00 c9 ff ff  ........P.......
  backtrace:
    [<ffffffffc07471df>] drm_sched_fence_create+0x1f/0x1d0 [gpu_sched]
    [<ffffffffc07424de>] drm_sched_job_init+0x10e/0x240 [gpu_sched]
    [<ffffffffc13538a5>] amdgpu_job_submit+0x25/0x100 [amdgpu]
    [<ffffffffc0f375ee>] amdgpu_copy_buffer+0x49e/0x700 [amdgpu]
    [<ffffffffc0f37e4a>] amdgpu_ttm_copy_mem_to_mem+0x5fa/0xf00 [amdgpu]
    [<ffffffffc0f39586>] amdgpu_bo_move+0x356/0x2050 [amdgpu]
    [<ffffffffc06fa897>] ttm_bo_handle_move_mem+0x1c7/0x620 [ttm]
    [<ffffffffc06fe403>] ttm_bo_validate+0x2b3/0x3b0 [ttm]
    [<ffffffffc0f3fa84>] amdgpu_bo_fault_reserve_notify+0x2a4/0x640 [amdgpu]
    [<ffffffffc0f4f903>] amdgpu_gem_fault+0x123/0x2d0 [amdgpu]
    [<ffffffff97568963>] __do_fault+0xf3/0x3e0
    [<ffffffff9757a5f5>] __handle_mm_fault+0x16e5/0x2aa0
    [<ffffffff9757bada>] handle_mm_fault+0x12a/0x490
    [<ffffffff9708e449>] do_user_addr_fault+0x259/0xb70
    [<ffffffff988137a5>] exc_page_fault+0x55/0xb0
    [<ffffffff98a00acb>] asm_exc_page_fault+0x1b/0x20
unreferenced object 0xffff8881cdbb7000 (size 1024):
  comm "mate-session-ch", pid 722, jiffies 4294890054 (age 1559.204s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 08 70 bb cd 81 88 ff ff  .........p......
    08 70 bb cd 81 88 ff ff 30 f5 10 9b 81 88 ff ff  .p......0.......
  backtrace:
    [<ffffffffc1352a88>] amdgpu_job_alloc+0x38/0x2f0 [amdgpu]
    [<ffffffffc1352d67>] amdgpu_job_alloc_with_ib+0x27/0xf0 [amdgpu]
    [<ffffffffc0f37323>] amdgpu_copy_buffer+0x1d3/0x700 [amdgpu]
    [<ffffffffc0f37e4a>] amdgpu_ttm_copy_mem_to_mem+0x5fa/0xf00 [amdgpu]
    [<ffffffffc0f39586>] amdgpu_bo_move+0x356/0x2050 [amdgpu]
    [<ffffffffc06fa897>] ttm_bo_handle_move_mem+0x1c7/0x620 [ttm]
    [<ffffffffc06fe403>] ttm_bo_validate+0x2b3/0x3b0 [ttm]
    [<ffffffffc0f3fa84>] amdgpu_bo_fault_reserve_notify+0x2a4/0x640 [amdgpu]
    [<ffffffffc0f4f903>] amdgpu_gem_fault+0x123/0x2d0 [amdgpu]
    [<ffffffff97568963>] __do_fault+0xf3/0x3e0
    [<ffffffff9757a5f5>] __handle_mm_fault+0x16e5/0x2aa0
    [<ffffffff9757bada>] handle_mm_fault+0x12a/0x490
    [<ffffffff9708e449>] do_user_addr_fault+0x259/0xb70
    [<ffffffff988137a5>] exc_page_fault+0x55/0xb0
    [<ffffffff98a00acb>] asm_exc_page_fault+0x1b/0x20
[...]

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[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