[Bug 109390] memory leak in `amdgpu_bo_create()`

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

 



Bug ID 109390
Summary memory leak in `amdgpu_bo_create()`
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter pmenzel+bugs.freedesktop.org@molgen.mpg.de

With Linux 5.0-rc2+ thousands of memory leaks like below are reported by
kmemleak.

```
unreferenced object 0xffff9f83850c5000 (size 2048):
  comm "gnome-shell", pid 569, jiffies 4294682217 (age 9133.583s)
  hex dump (first 32 bytes):
    02 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  ................
    02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<000000001aec1dd8>] amdgpu_bo_create+0x40/0x220 [amdgpu]
    [<000000007da39c30>] amdgpu_gem_object_create+0x9e/0x120 [amdgpu]
    [<00000000099484e9>] amdgpu_gem_create_ioctl+0x1d3/0x290 [amdgpu]
    [<000000009d8251d3>] drm_ioctl_kernel+0xa9/0xf0
    [<0000000050b61811>] drm_ioctl+0x201/0x3a0
    [<000000007c88aae3>] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
    [<0000000083291747>] do_vfs_ioctl+0xa4/0x630
    [<00000000722b6176>] ksys_ioctl+0x60/0x90
    [<000000001bfa30dc>] __x64_sys_ioctl+0x16/0x20
    [<000000007862c966>] do_syscall_64+0x55/0x170
    [<00000000a8eeee88>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
    [<000000001242345f>] 0xffffffffffffffff
unreferenced object 0xffff9f837cdd36c0 (size 64):
  comm "gnome-shell", pid 569, jiffies 4294682217 (age 9133.583s)
  hex dump (first 32 bytes):
    d4 23 b4 d5 ab e2 45 94 d0 53 43 86 83 9f ff ff  .#....E..SC.....
    01 00 00 00 04 00 00 00 60 ab cc 5c 83 9f ff ff  ........`..\....
  backtrace:
    [<000000000768e015>] ttm_bo_mem_space+0x41/0x4a0
    [<00000000f11076b2>] ttm_bo_validate+0xc7/0x130
    [<00000000c820992e>] ttm_bo_init_reserved+0x32f/0x390
    [<00000000fcfd5ce2>] amdgpu_bo_do_create+0x1ed/0x420 [amdgpu]
    [<000000001aec1dd8>] amdgpu_bo_create+0x40/0x220 [amdgpu]
    [<000000007da39c30>] amdgpu_gem_object_create+0x9e/0x120 [amdgpu]
    [<00000000099484e9>] amdgpu_gem_create_ioctl+0x1d3/0x290 [amdgpu]
    [<000000009d8251d3>] drm_ioctl_kernel+0xa9/0xf0
    [<0000000050b61811>] drm_ioctl+0x201/0x3a0
    [<000000007c88aae3>] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
    [<0000000083291747>] do_vfs_ioctl+0xa4/0x630
    [<00000000722b6176>] ksys_ioctl+0x60/0x90
    [<000000001bfa30dc>] __x64_sys_ioctl+0x16/0x20
    [<000000007862c966>] do_syscall_64+0x55/0x170
    [<00000000a8eeee88>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
    [<000000001242345f>] 0xffffffffffffffff
```


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[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