Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356AbZIKLfr (ORCPT ); Fri, 11 Sep 2009 07:35:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753224AbZIKLfq (ORCPT ); Fri, 11 Sep 2009 07:35:46 -0400 Received: from cam-admin0.cambridge.arm.com ([193.131.176.58]:55143 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbZIKLfo (ORCPT ); Fri, 11 Sep 2009 07:35:44 -0400 To: Oleg Nesterov Cc: Andrew Morton , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Sukadev Bhattiprolu , "Serge E. Hallyn" Subject: Re: Possible memory leak via alloc_pid() References: <20090729170315.f62066c0.akpm@linux-foundation.org> <20090730212956.GA26863@redhat.com> <1249035398.29967.8.camel@pc1117.cambridge.arm.com> <20090802213528.GA18795@redhat.com> From: Catalin Marinas Date: Fri, 11 Sep 2009 12:35:16 +0100 In-Reply-To: <20090802213528.GA18795@redhat.com> (Oleg Nesterov's message of "Sun\, 2 Aug 2009 23\:35\:28 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 11 Sep 2009 11:35:18.0352 (UTC) FILETIME=[F03D5500:01CA32D3] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 21780 Lines: 313 Hi Oleg, Sorry for the long delay with this investigation, I got distracted to other tasks. Oleg Nesterov wrote: > Pleas rename Xorg to Xorg.origin, and make a simple Xorg script which > does something like > > #!/bin/sh > > echo $$ >> /proc/sys/kernel/xxx > exec /path/to/Xorg.origin $* > > perhaps even this is too late, gdm can do a lot before execing. I did this change and I copied the output below. The refcount log starts at 12 but when the task exits, it is 2, hence the suspected leak. I also ran a dummy script (i.e. without the exec line above) and the refcount also starts at 12 but finishes at 0 (no leak). I think this suspected leak is something specific to what the X server does. XXXXX(1333) ==12 XXXXX(1333) ++12 [] (unwind_backtrace+0x0/0xdc) from [] (__proc_set_tty+0x60/0x12c) [] (__proc_set_tty+0x60/0x12c) from [] (tty_open+0x39c/0x444) [] (tty_open+0x39c/0x444) from [] (chrdev_open+0x178/0x198) [] (chrdev_open+0x178/0x198) from [] (__dentry_open+0x14c/0x268) [] (__dentry_open+0x14c/0x268) from [] (nameidata_to_filp+0x44/0x58) [] (nameidata_to_filp+0x44/0x58) from [] (do_filp_open+0x408/0x820) [] (do_filp_open+0x408/0x820) from [] (do_sys_open+0x58/0x10c) [] (do_sys_open+0x58/0x10c) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++13 [] (unwind_backtrace+0x0/0xdc) from [] (__proc_set_tty+0xb4/0x12c) [] (__proc_set_tty+0xb4/0x12c) from [] (tty_open+0x39c/0x444) [] (tty_open+0x39c/0x444) from [] (chrdev_open+0x178/0x198) [] (chrdev_open+0x178/0x198) from [] (__dentry_open+0x14c/0x268) [] (__dentry_open+0x14c/0x268) from [] (nameidata_to_filp+0x44/0x58) [] (nameidata_to_filp+0x44/0x58) from [] (do_filp_open+0x408/0x820) [] (do_filp_open+0x408/0x820) from [] (do_sys_open+0x58/0x10c) [] (do_sys_open+0x58/0x10c) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++14 [] (unwind_backtrace+0x0/0xdc) from [] (vt_ioctl+0x1168/0x1c0c) [] (vt_ioctl+0x1168/0x1c0c) from [] (tty_ioctl+0x880/0x920) [] (tty_ioctl+0x880/0x920) from [] (vfs_ioctl+0x2c/0x8c) [] (vfs_ioctl+0x2c/0x8c) from [] (do_vfs_ioctl+0x554/0x5b0) [] (do_vfs_ioctl+0x554/0x5b0) from [] (sys_ioctl+0x34/0x54) [] (sys_ioctl+0x34/0x54) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++15 [] (unwind_backtrace+0x0/0xdc) from [] (f_modown+0x60/0xcc) [] (f_modown+0x60/0xcc) from [] (__f_setown+0x8/0x10) [] (__f_setown+0x8/0x10) from [] (sys_fcntl64+0x70/0x84) [] (sys_fcntl64+0x70/0x84) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++16 [] (unwind_backtrace+0x0/0xdc) from [] (get_task_pid+0x40/0x60) [] (get_task_pid+0x40/0x60) from [] (proc_pid_make_inode+0x50/0x9c) [] (proc_pid_make_inode+0x50/0x9c) from [] (proc_pident_instantiate+0x18/0x98) [] (proc_pident_instantiate+0x18/0x98) from [] (proc_pident_lookup+0x90/0xd0) [] (proc_pident_lookup+0x90/0xd0) from [] (do_lookup+0xbc/0x180) [] (do_lookup+0xbc/0x180) from [] (__link_path_walk+0x9d8/0xed8) [] (__link_path_walk+0x9d8/0xed8) from [] (path_walk+0x44/0x8c) [] (path_walk+0x44/0x8c) from [] (do_path_lookup+0x24/0x4c) [] (do_path_lookup+0x24/0x4c) from [] (do_filp_open+0xb8/0x820) [] (do_filp_open+0xb8/0x820) from [] (do_sys_open+0x58/0x10c) [] (do_sys_open+0x58/0x10c) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++17 [] (unwind_backtrace+0x0/0xdc) from [] (find_get_pid+0x30/0x50) [] (find_get_pid+0x30/0x50) from [] (sys_wait4+0x70/0xb8) [] (sys_wait4+0x70/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --18 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (__fput+0x140/0x1c8) [] (__fput+0x140/0x1c8) from [] (filp_close+0x70/0x7c) [] (filp_close+0x70/0x7c) from [] (sys_close+0x94/0xe4) [] (sys_close+0x94/0xe4) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --17 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (vt_ioctl+0x1138/0x1c0c) [] (vt_ioctl+0x1138/0x1c0c) from [] (tty_ioctl+0x880/0x920) [] (tty_ioctl+0x880/0x920) from [] (vfs_ioctl+0x2c/0x8c) [] (vfs_ioctl+0x2c/0x8c) from [] (do_vfs_ioctl+0x554/0x5b0) [] (do_vfs_ioctl+0x554/0x5b0) from [] (sys_ioctl+0x34/0x54) [] (sys_ioctl+0x34/0x54) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) ++16 [] (unwind_backtrace+0x0/0xdc) from [] (vt_ioctl+0x1168/0x1c0c) [] (vt_ioctl+0x1168/0x1c0c) from [] (tty_ioctl+0x880/0x920) [] (tty_ioctl+0x880/0x920) from [] (vfs_ioctl+0x2c/0x8c) [] (vfs_ioctl+0x2c/0x8c) from [] (do_vfs_ioctl+0x554/0x5b0) [] (do_vfs_ioctl+0x554/0x5b0) from [] (sys_ioctl+0x34/0x54) [] (sys_ioctl+0x34/0x54) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --17 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --16 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --15 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --14 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --13 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --12 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --11 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --10 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --9 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --8 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --7 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (__shrink_dcache_sb+0x284/0x324) [] (__shrink_dcache_sb+0x284/0x324) from [] (shrink_dcache_parent+0x2c/0x114) [] (shrink_dcache_parent+0x2c/0x114) from [] (proc_flush_task+0xa4/0x280) [] (proc_flush_task+0xa4/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --6 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (proc_delete_inode+0x20/0x4c) [] (proc_delete_inode+0x20/0x4c) from [] (generic_delete_inode+0xac/0x150) [] (generic_delete_inode+0xac/0x150) from [] (iput+0x64/0x78) [] (iput+0x64/0x78) from [] (d_kill+0x3c/0x64) [] (d_kill+0x3c/0x64) from [] (dput+0x190/0x1ac) [] (dput+0x190/0x1ac) from [] (proc_flush_task+0x118/0x280) [] (proc_flush_task+0x118/0x280) from [] (release_task+0x40/0x3a4) [] (release_task+0x40/0x3a4) from [] (wait_consider_task+0x500/0x9c0) [] (wait_consider_task+0x500/0x9c0) from [] (do_wait+0xbc/0x284) [] (do_wait+0xbc/0x284) from [] (sys_wait4+0xa0/0xb8) [] (sys_wait4+0xa0/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --5 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (sys_wait4+0xac/0xb8) [] (sys_wait4+0xac/0xb8) from [] (ret_fast_syscall+0x0/0x28) XXXXX(1333) --4 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (__rcu_process_callbacks+0x1b4/0x244) [] (__rcu_process_callbacks+0x1b4/0x244) from [] (rcu_process_callbacks+0x3c/0x68) [] (rcu_process_callbacks+0x3c/0x68) from [] (__do_softirq+0x8c/0x11c) [] (__do_softirq+0x8c/0x11c) from [] (do_local_timer+0x50/0x80) [] (do_local_timer+0x50/0x80) from [] (__irq_svc+0x38/0xc0) Exception stack(0xc0389f70 to 0xc0389fb8) 9f60: 00000000 00000000 c0389fb8 00000000 9f80: c0388000 c07e8000 007cf000 00000004 c03af048 410fb020 c03a9c40 00000000 9fa0: 00000001 c0389fb8 c00301f4 c00301f8 60000013 ffffffff [] (__irq_svc+0x38/0xc0) from [] (default_idle+0x24/0x28) [] (default_idle+0x24/0x28) from [] (cpu_idle+0x84/0xd8) [] (cpu_idle+0x84/0xd8) from [] (start_kernel+0x2d4/0x330) [] (start_kernel+0x2d4/0x330) from [<70008080>] (0x70008080) XXXXX(1333) --3 [] (unwind_backtrace+0x0/0xdc) from [] (put_pid+0x2c/0x80) [] (put_pid+0x2c/0x80) from [] (vt_ioctl+0x1138/0x1c0c) [] (vt_ioctl+0x1138/0x1c0c) from [] (tty_ioctl+0x880/0x920) [] (tty_ioctl+0x880/0x920) from [] (vfs_ioctl+0x2c/0x8c) [] (vfs_ioctl+0x2c/0x8c) from [] (do_vfs_ioctl+0x554/0x5b0) [] (do_vfs_ioctl+0x554/0x5b0) from [] (sys_ioctl+0x34/0x54) [] (sys_ioctl+0x34/0x54) from [] (ret_fast_syscall+0x0/0x28) 10:~# echo scan > /sys/kernel/debug/kmemleak kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) 10:~# cat /sys/kernel/debug/kmemleak unreferenced object 0xdb58c700 (size 64): comm "gdm", pid 1331, jiffies 19732 hex dump (first 32 bytes): 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 14 16 e6 de 80 ad 05 c0 ................ backtrace: [] create_object+0x104/0x20c [] kmem_cache_alloc+0xc0/0xcc [] alloc_pid+0x18/0x358 [] copy_process+0x8a4/0xf00 [] do_fork+0x164/0x2a8 [] ret_fast_syscall+0x0/0x28 [] 0xffffffff Thanks. -- 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/