[Bug 1306799] [NEW] test_job hangs

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Apr 11 20:21:21 UTC 2014


Public bug reported:

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.

** Affects: upstart (Ubuntu)
     Importance: Undecided
     Assignee: James Hunt (jamesodhunt)
         Status: New

** Changed in: upstart (Ubuntu)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1306799

Title:
  test_job hangs

Status in “upstart” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1306799/+subscriptions



More information about the foundations-bugs mailing list