[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200909111958.HFG60925.OOQLHFFVtSJOMF@I-love.SAKURA.ne.jp>
Date: Fri, 11 Sep 2009 19:58:46 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: catalin.marinas@....com
Cc: rusty@...tcorp.com.au, linux-kernel@...r.kernel.org
Subject: Re: [2.6.31] Memory leak in load_module()?
Hello.
Catalin Marinas wrote:
> It could be but isn't stack tracing enabled on your system? The
> backtrace doesn't seem very useful.
Since the kernel hangs after printing
[ 0.000999] memory used by lock dependency info: 3743 kB
[ 0.000999] per task-struct memory footprint: 1920 bytes
if I enable almost all debug options and change
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE to 2000,
I disabled almost all debug options.
OK. Here is the output with CONFIG_FRAME_POINTER=y .
Do I need to enable some other debug options?
unreferenced object 0xdd7c1718 (size 32):
comm "insmod", pid 2859, jiffies 4294757534
backtrace:
[<c048a210>] create_object+0x135/0x202
[<c048a302>] kmemleak_alloc+0x25/0x49
[<c04865bd>] kmemleak_alloc_recursive+0x1c/0x22
[<c0486e27>] __kmalloc_track_caller+0x66/0xb3
[<c0473980>] kstrdup+0x2c/0x4e
[<c044716a>] setup_modinfo_srcversion+0x12/0x1b
[<c0448725>] load_module+0x866/0x124a
[<c0449180>] sys_init_module+0x49/0x1b9
[<c0402a24>] sysenter_do_call+0x12/0x22
[<ffffffff>] 0xffffffff
Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists