[BUG] utrace_attach_task() never returns when called from the report_clone callback

Ananth N Mavinakayanahalli ananth at in.ibm.com
Sat Mar 7 02:07:02 UTC 2009


On Fri, Mar 06, 2009 at 12:52:34PM -0800, Roland McGrath wrote:
> > With the current utrace/master tree, I am seeing that utrace_attach_task()
> > never returns when invoked from the clone callback. The same module
> > works fine with prior utrace (rcu as well as with my embed version).
> 
> I changed the utrace_attach_delay() logic recently.  That is probably it.
> Please post your test case.

The issue is that target->real_parent == current->real_parent and not
current on a CLONE_THREAD|CLONE_PARENT. So we keep looping in the
do-while.

Ananth




More information about the utrace-devel mailing list