test_job hangs
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_deserialis
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) |