[Bug 851573] [NEW] firefox not closing properly; Ubuntu 10.10

scott 851573 at bugs.launchpad.net
Fri Sep 16 05:10:43 UTC 2011


Public bug reported:


I close firefox, try to reopen it and a popup says firefox is already running. I have to pgrep the pid and kill it. 

Running firefox from a terminal I get :
** (<unknown>:3485): DEBUG: NP_Initialize
** (<unknown>:3485): DEBUG: NP_Initialize succeeded
** (<unknown>:3487): DEBUG: NP_Initialize
** (<unknown>:3487): DEBUG: NP_Initialize succeeded
** (<unknown>:3489): DEBUG: NP_Initialize
** (<unknown>:3489): DEBUG: NP_Initialize succeeded
** (<unknown>:3485): DEBUG: NP_Shutdown
NOTE: child process received `Goodbye', closing down
WARNING: waitpid failed pid:3485 errno:10: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/base/process_util_posix.cc, line 237
** (<unknown>:3487): DEBUG: NP_Shutdown
NOTE: child process received `Goodbye', closing down
WARNING: waitpid failed pid:3485 errno:10: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/base/process_util_posix.cc, line 237
** (<unknown>:3489): DEBUG: NP_Shutdown
NOTE: child process received `Goodbye', closing down
WARNING: waitpid failed pid:3485 errno:10: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/base/process_util_posix.cc, line 237
NOTE: child process received `Goodbye', closing down
WARNING: waitpid failed pid:3485 errno:10: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/base/process_util_posix.cc, line 237
WARNING: waitpid failed pid:3485 errno:10: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/base/process_util_posix.cc, line 237
WARNING: Failed to deliver SIGKILL to 3485!(3).: file /build/buildd/firefox-6.0.1+build1+nobinonly/build-tree/mozilla/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 162"

It appears in the "bool KillProcess(ProcessHandle process_id, int
exit_code, bool wait)" function in process_util_posix.cc

// Attempts to kill the process identified by the given process
// entry structure.  Ignores specified exit_code; posix can't force that.
// Returns true if this is successful, false otherwise.

and the error in process_watcher_sigchild.cc is a simple

line 162:  LOG(ERROR)<<  "Failed to deliver SIGKILL to "<<  process_<<  "!"
            <<  "("<<  errno<<  ")

Another time I did a memsat | grep firefox and got this after closing the firefox window:
265208k: PID 15151 (/usr/lib/firefox-6.0.2/firefox-bin)
     32k(     32k): /home/scott/.mozilla/firefox/1b1mq6y4.default/places.sql...
   2840k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/XUL.mfasl ...
     32k(     32k): /home/scott/.mozilla/firefox/1b1mq6y4.default/cookies.sq...
    192k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/startupCac...
    136k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
    404k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
     96k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
    852k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
   1216k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
    500k(      0k): /home/scott/.mozilla/firefox/1b1mq6y4.default/extensions...
    124k(    112k): /usr/lib/firefox-6.0.2/libsmime3.so 15151
    124k(    116k): /usr/lib/firefox-6.0.2/libnssdbm3.so 15151
     52k(     44k): /usr/lib/firefox-6.0.2/firefox-bin 15151
    544k(    536k): /usr/lib/firefox-6.0.2/libmozsqlite3.so 15151
     20k(     12k): /usr/lib/firefox-6.0.2/libplc4.so 15151
     36k(     28k): /usr/lib/firefox-6.0.2/components/libmozgnome.so 15151
     28k(     20k): /usr/lib/firefox-6.0.2/components/libdbusservice.so 15151
     36k(     28k): /usr/lib/firefox-6.0.2/components/libnkgnomevfs.so 15151
    132k(    120k): /usr/lib/firefox-6.0.2/components/libbrowsercomps.so 15151
   4488k(      0k): /usr/lib/firefox-6.0.2/omni.jar 15151
     20k(     12k): /usr/lib/firefox-6.0.2/libxpcom.so 15151
    172k(    160k): /usr/lib/firefox-6.0.2/libssl3.so 15151
    204k(    192k): /usr/lib/firefox-6.0.2/libnspr4.so 15151
    308k(    300k): /usr/lib/firefox-6.0.2/libfreebl3.so 15151
     84k(     68k): /usr/lib/firefox-6.0.2/libnssutil3.so 15151
     16k(      8k): /usr/lib/firefox-6.0.2/libplds4.so 15151
    380k(    320k): /usr/lib/firefox-6.0.2/libnssckbi.so 15151
    192k(    184k): /usr/lib/firefox-6.0.2/libsoftokn3.so 15151
    852k(    836k): /usr/lib/firefox-6.0.2/libnss3.so 15151
  22168k(  20796k): /usr/lib/firefox-6.0.2/libxul.so 15151
     12k(      4k): /usr/lib/firefox-6.0.2/libmozalloc.so 15151

It actually appears like it has to do with 'plugin-container'. Should I
report it there, also?

Scott

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  firefox not closing properly; Ubuntu 10.10

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




More information about the Ubuntu-mozillateam-bugs mailing list