test_job hangs

Bug #1306799 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
New
Undecided
James Hunt

Bug Description

Twice i've managed to get haning test_job e.g.

xnox 13345 0.0 0.0 24436 244 pts/16 S+ 21:12 0:00 \_ ./test_job
xnox 13347 0.0 0.0 24436 244 pts/16 T+ 21:12 0:00 | \_ ./test_job

which are TEST_CHILD, that forks in test_job, test_deserialise_ptrace

7450 TEST_CHILD (pid) {
7451 pid_t pid2;
7452 assert0 (ptrace (PTRACE_TRACEME, 0, NULL, 0));
7453 raise (SIGSTOP);
7454 pid2 = fork ();
7455 if (pid2)
7456 waitpid (pid2, NULL, 0);
7457 exit (0);
7458 }

Which got re-parented to my session init.

Changed in upstart (Ubuntu):
assignee: nobody → James Hunt (jamesodhunt)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.