Skip to contentSkip to conversation

New: kmemleak complain about possible memory leak

Bug 26767 [email protected] 1 participant 3 messages Feb 26, 2010 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: me-uiRdBs8odbtmTBlB0Cgj/[email protected]
QAContact: [email protected]

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

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

A message that is not in the archive (sent off-list or not yet received): bug-26767-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 26767] kmemleak complain about possible memory leak

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

--- Comment #1 from Felipe Balbi <me-uiRdBs8odbtmTBlB0Cgj/[email protected]> 2010-02-26 01:59:36 PST --- looking at the actual code, it appears to be a false positive since
idr_remove() is called on drm_gem_handle_delete(). If I'm right, please close
this bug and sorry for the inconvenience.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 26767] kmemleak complain about possible memory leak

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau