lkml.org 
[lkml]   [2002]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: do_syslog/__down_trylock lockup in current BK
On Mon, Sep 09, 2002 at 10:43:51PM +0200, Ingo Molnar wrote:
>
> the following assert triggers and catches the lockup:
>
> --- linux/kernel/exit.c.orig Mon Sep 9 21:59:24 2002
> +++ linux/kernel/exit.c Mon Sep 9 22:38:44 2002
> @@ -461,6 +461,8 @@
> ptrace_unlink (p);
>
> list_del_init(&p->sibling);
> + if (p->parent == father && p->parent == p->real_parent)
> + BUG();
> p->parent = p->real_parent;
> list_add_tail(&p->sibling, &p->parent->children);
> }
>
> so somehow we can end up having parent == real_parent?

When is this happening? It's not necessarily a bug. If the process
was traced, then __ptrace_unlink will set p->parent = p->real_parent
when it unlinks.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
-
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: 2005-03-22 13:28    [W:0.136 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site