lkml.org 
[lkml]   [2011]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: kmemleak: unreferenced object in copy_thread
On 28 November 2011 18:09, Wouter M. Koolen <W.M.Koolen-Wijkstra@cwi.nl> wrote:
> Dear kmemleak and/or x86 maintainers,
>
> I asked for too much memory. The machine started swapping. I killed the hog.
> Then I found this gem:
>
> unreferenced object 0xffff8800006ea000 (size 8192):
>  comm "Xorg", pid 1415, jiffies 4298164697 (age 2433.696s)
>  hex dump (first 32 bytes):
>    00 00 00 00 00 00 00 00 0f 00 00 00 0f 00 00 00  ................
>    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>  backtrace:
>    [<ffffffff813feeb1>] kmemleak_alloc+0x21/0x50
>    [<ffffffff8111086b>] kmem_cache_alloc_trace+0xdb/0x1d0
>    [<ffffffff81001fbe>] copy_thread+0x1be/0x260
>    [<ffffffff81044953>] copy_process+0xee3/0x1520
>    [<ffffffff810450d6>] do_fork+0x116/0x350
>    [<ffffffff8100a7d3>] sys_clone+0x23/0x30
>    [<ffffffff8141c173>] stub_clone+0x13/0x20
>    [<ffffffffffffffff>] 0xffffffffffffffff

I can't yet tell whether it's a false positive or not. Did the X
server die? Is the process with pid 1415 still around? The leaked
object looks like the thread stack (8K) and it should have been
removed when the corresponding process was killed.

--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-30 12:57    [W:0.076 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site