← 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

 

Today I got the issue at work, but a little bit different:

This time the plugin container was a Zombie process, that means the plugin container process has already exited, but its parent process didn't care about it yet.
Thus this time killing the plugin-container process didn't help, because it was already dead.
Sending SIGCHLD to the parent process also didn't help.
Sending SIGTERM to the parent process removed the processes.

It seems that there are two different bugs, resulting in firefox-bin to hang:
 - One bug that freezes the plugin-container
 - One bug that lets firefox-bin hang, even after the plugin-container process has exited.


13865 ?        Sl     3:58 /usr/lib/firefox-3.6.24/firefox-bin
13901 ?        Zl     0:25  \_ [plugin-containe] <defunct>

michael@musca:~ $ pstree -p 13865
firefox-bin(13865)─┬─plugin-containe(13901)───{plugin-contain}(13902)
                   ├─{firefox-bin}(13874)
                   ├─{firefox-bin}(13876)
                   ├─{firefox-bin}(13877)
                   ├─{firefox-bin}(13900)
                   └─{firefox-bin}(14545)

michael@musca:/proc/13865 $ cat stack 
[<c0178fa5>] futex_wait_queue_me+0xa5/0xd0
[<c017a278>] futex_wait+0x1a8/0x2c0
[<c017bab6>] do_futex+0xe6/0x1f0
[<c017bc32>] sys_futex+0x72/0x120
[<c01033ec>] syscall_call+0x7/0xb
[<ffffffff>] 0xffffffff


futex(0xb74a2bd8, FUTEX_WAIT, 13874, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
send(17, "a", 1, 0)                     = -1 EAGAIN (Resource temporarily unavailable)
sigreturn()                             = ? (mask now [])
futex(0xb74a2bd8, FUTEX_WAIT, 13874, NULL <unfinished ...>
+++ killed by SIGTERM +++

At home and at work I have Firefox 3.6.24:

Package: firefox
Version: 3.6.24+build2+nobinonly-0ubuntu0.10.04.1

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