← Back to team overview

desktop-packages team mailing list archive

[Bug 764621] Re: /usr/lib/firefox-4.0/plugin-container hangs upon Firefox exit, which prevents computer shutdown from GNOME

 

The output of ps xHwl shows that the process seems to be ptraced.

0  1000 18727     1  20   0 252264 60284 futex_ Sl   ?          0:23 /usr/lib/firefox-3.6.24/firefox-bin
1  1000 18727     1  20   0 252264 60284 futex_ Sl   ?          0:00 /usr/lib/firefox-3.6.24/firefox-bin
1  1000 18727     1  20   0 252264 60284 futex_ Sl   ?          0:00 /usr/lib/firefox-3.6.24/firefox-bin
1  1000 18727     1  20   0 252264 60284 wait   Sl   ?          0:00 /usr/lib/firefox-3.6.24/firefox-bin
1  1000 18727     1  20   0 252264 60284 poll_s Sl   ?          0:00 /usr/lib/firefox-3.6.24/firefox-bin
0  1000 18768 18727  20   0 104156 18380 ptrace Tl   ?          0:00 /usr/lib/firefox-3.6.24/plugin-container /usr/lib/adobe-flashplugin/libflashplayer.so 18727 plugin true
1  1000 18768 18727  20   0 104156 18380 unix_s Sl   ?          0:02 /usr/lib/firefox-3.6.24/plugin-container /usr/lib/adobe-flashplugin/libflashplayer.so 18727 plugin true

This would explain, why strace could not connect. From the documentation
of the ptrace system call:

"EPERM
    The specified process cannot be traced. This could be because the parent has insufficient privileges (the required capability is CAP_SYS_PTRACE); unprivileged processes cannot trace processes that they cannot send signals to or those running set-user-ID/set-group-ID programs, for obvious reasons. Alternatively, the process may already be being traced, or be init(8) (PID 1). "

Does firefox make use of the ptrace system call to control its
subprocess?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/764621

Title:
  /usr/lib/firefox-4.0/plugin-container hangs upon Firefox exit, which
  prevents computer shutdown from GNOME

Status in “firefox” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: firefox

  Every time I exit Firefox before rebooting this host running a classic
  GNOME session, it hangs there, effectivel preventing the reboot from
  taking place unless Firefox is first force-killed. The cause seems to
  be that Firefox's plugin container has a dozen of Gnash sub-processes
  that won't terminate.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: firefox 4.0+nobinonly-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Mon Apr 18 16:21:00 2011
  FirefoxPackages:
   firefox 4.0+nobinonly-0ubuntu2
   flashplugin-installer N/A
   adobe-flashplugin N/A
   icedtea-plugin N/A
  ProcEnviron:
   LANGUAGE=fi_FI:fi_FI.UTF-8:fi
   PATH=(custom, user)
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  SourcePackage: firefox
  UpgradeStatus: Upgraded to natty on 2009-09-14 (581 days ago)

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