[Nouveau] [Bug 26767] New: kmemleak complain about possible memory leak

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 26 01:56:58 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26767

           Summary: kmemleak complain about possible memory leak
           Product: xorg
           Version: 7.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        ReportedBy: me at felipebalbi.com
         QAContact: xorg-team at lists.x.org


When running kernel with kmemleak enabled, we keep seeing on dmesg suspects of
new memory leaks, looking at /sys/kernel/debug/kmemleak says that nouveau might
be the one to be blamed:

unreferenced object 0xf6175390 (size 148):
  comm "X", pid 8910, jiffies 4294890281 (age 6196.003s)
  hex dump (first 32 bytes):
    06 82 00 00 00 00 00 00 e0 84 a8 f3 80 81 a8 f3  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<c1433abb>] kmemleak_alloc+0x2a/0x47
    [<c10b5faa>] kmem_cache_alloc+0xa8/0xf6
    [<c11a11b5>] idr_pre_get+0x27/0x60
    [<f8144ca2>] drm_gem_handle_create+0x25/0x6f [drm]
    [<f81f6780>] nouveau_gem_ioctl_new+0x201/0x262 [nouveau]
    [<f81436a1>] drm_ioctl+0x268/0x310 [drm]
    [<c10c6238>] vfs_ioctl+0x27/0x8c
    [<c10c67b4>] do_vfs_ioctl+0x46e/0x4a8
    [<c10c6833>] sys_ioctl+0x45/0x5f
    [<c100290c>] sysenter_do_call+0x12/0x22
    [<ffffffff>] 0xffffffff

As an extra detail, I'm using current linux-2.6 head
(baac35c4155a8aa826c70acee6553368ca5243a2) plus x11 overlay on gentoo


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


More information about the Nouveau mailing list