[Bug 1034776] Re: /sbin/start hung in __GI___poll

TJ 1034776 at bugs.launchpad.net
Thu Aug 9 07:39:22 UTC 2012


** Attachment added: "upstart oidentd job being tested"
   https://bugs.launchpad.net/bugs/1034776/+attachment/3254096/+files/oidentd.conf

-- 
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/1034776

Title:
  /sbin/start hung in  __GI___poll

Status in “upstart” package in Ubuntu:
  New

Bug description:
  I'm converting the oidentd sysv-init script to an upstart job. Whilst
  testing it I've been experiencing a hang when trying to start or stop
  the job, but only after I've started and stopped the job successfully
  several times already.

  The issue seems to involve DBus - I see
  _dbus_connection_block_pending_call() in the stack back-trace.

  (gdb) bt full
  #0  0x00007f4235fe3ac8 in __GI___poll (fds=0x7fff21c7c160, nfds=1, timeout=<optimised out>)
      at ../sysdeps/unix/sysv/linux/poll.c:83
          resultvar = 18446744073709551100
          oldtype = <optimised out>
          result = <optimised out>
  #1  0x00007f42362ddde0 in socket_do_iteration (transport=0x7f4236e48d20, flags=6, timeout_milliseconds=<optimised out>)
      at ../../dbus/dbus-transport-socket.c:1125
          socket_transport = 0x7f4236e48d20
          poll_fd = {fd = 3, events = 1, revents = 0}
          poll_res = <optimised out>
          poll_timeout = <optimised out>
  #2  0x00007f42362dcccd in _dbus_transport_do_iteration (transport=0x7f4236e48d20, flags=<optimised out>, 
      timeout_milliseconds=<optimised out>) at ../../dbus/dbus-transport.c:974
  No locals.
  #3  0x00007f42362c7c05 in _dbus_connection_do_iteration_unlocked (connection=0x7f4236e49380, pending=<optimised out>, flags=6, 
      timeout_milliseconds=-1) at ../../dbus/dbus-connection.c:1215
  No locals.
  #4  0x00007f42362c90ac in _dbus_connection_block_pending_call (pending=0x7f4236e499a0) at ../../dbus/dbus-connection.c:2471
          start_tv_sec = 1561
          start_tv_usec = 549439
          tv_sec = 1561
          tv_usec = 549597
          status = DBUS_DISPATCH_DATA_REMAINS
          connection = 0x7f4236e49380
          client_serial = 2
          timeout = 0x0
          timeout_milliseconds = -1
          elapsed_milliseconds = <optimised out>
  #5  0x00007f4236b4cd1e in ?? ()
  No symbol table info available.
  #6  0x00007f4236716717 in ?? () from /lib/x86_64-linux-gnu/libnih.so.1
  No symbol table info available.
  #7  0x00007f4236716b83 in nih_command_parser () from /lib/x86_64-linux-gnu/libnih.so.1
  No symbol table info available.
  #8  0x00007f4236b49699 in main ()
  No symbol table info available.

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




More information about the foundations-bugs mailing list