Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134688 - have to restart after every firefox crash, firefox cannot be killed
Summary: have to restart after every firefox crash, firefox cannot be killed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-28 13:23 UTC by Ben King
Modified: 2006-12-18 19:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben King 2006-05-28 13:23:18 UTC
when firefox (or mozilla) crashes i can kill the unresponsive window, so you can't "see" firefox anymore. when i try to open another firefox window i get a pop-up "firefox is already running, but is not responding. to open a new window, you must first close the existing firefox process, or restart your system".

as such, this would not be so tragic. but: firefox is crashing quite a lot recently (mostly when it comes across flash with sound, but that's another story, my sound is messed up) and most annoyingly i just cannot kill firefox. i've tried with killall -9 firefox-bin, kill -9 <pid of firefox>, pkill firefox-bin, the process firefox-bin continues to run. i *can* kill mozilla-launcher, but even then firefox remains open.

is there any way to open another instance of firefox without restarting? just removing the lock file is *NOT* enough either!
Comment 1 Ben King 2006-05-28 13:28:53 UTC
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cups curl dri dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg junit kde lcms libcaca libg++ libwww mad matroska mikmod mmx mng motif mozilla mp3 mpeg nas ncurses nls nptl ogg opengl oss pam pcre pdf pdflib perl png ppds pppd python qt quicktime readline real recode reflection samba sdl session slang spell spl sqlite sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wxwindows xine xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 2 Jory A. Pratt 2006-05-28 13:36:36 UTC
use killall firefox-bin then restart it
Comment 3 Jory A. Pratt 2006-05-28 13:59:48 UTC
As I have miss read this bug I will reopen please provide a ps -A when you can not kill firefox completely.
Comment 4 Ben King 2006-05-28 14:28:23 UTC
here's a ps -A
mozilla is also in the output, and (as I just found out) suffers from exactly the same problem as firefox.

$ ps -A

  PID TTY          TIME CMD
    1 ?        00:00:00 init
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 khelper
    5 ?        00:00:00 kthread
    7 ?        00:00:00 kblockd/0
   10 ?        00:00:00 khubd
   49 ?        00:00:00 kapmd
   89 ?        00:00:00 aio/0
   88 ?        00:00:00 kswapd0
  684 ?        00:00:00 kseriod
  706 ?        00:00:00 kpsmoused
  735 ?        00:00:00 ata/0
  755 ?        00:00:00 reiserfs/0
  957 ?        00:00:00 udevd
 6530 ?        00:00:00 kjournald
 8505 ?        00:00:00 syslog-ng
 8543 ?        00:00:00 atd
 8580 ?        00:00:00 hcid
 8582 ?        00:00:00 sdpd
 8590 ?        00:00:00 krfcommd
 8635 ?        00:00:00 cupsd
 8768 ?        00:00:00 sshd
 8807 ?        00:00:00 cron
 9033 tty1     00:00:00 agetty
 9034 tty2     00:00:00 agetty
 9035 tty3     00:00:00 agetty
 9036 tty4     00:00:00 agetty
 9037 tty5     00:00:00 agetty
 9038 tty6     00:00:00 agetty
 9066 ?        00:00:00 kdm
 9069 ?        00:01:55 X
 9070 ?        00:00:00 kdm
 9089 ?        00:00:00 startkde
 9131 ?        00:00:00 kdeinit
 9134 ?        00:00:00 dcopserver
 9136 ?        00:00:00 klauncher
 9138 ?        00:00:01 kded
 9143 ?        00:00:00 kxkb
 9153 ?        00:00:00 kaccess
 9154 ?        00:00:00 kwrapper
 9156 ?        00:00:00 ksmserver
 9157 ?        00:00:02 kwin
 9159 ?        00:00:00 kdesktop
 9161 ?        00:00:05 kicker
 9163 ?        00:00:00 kbluetoothd
 9165 ?        00:00:00 klipper
 9169 ?        00:00:00 gkrellm2
 9172 ?        00:00:00 korgac
 9176 ?        00:00:01 kweatherservice
 9189 ?        00:00:00 konsole
 9190 ?        00:00:03 konsole
 9191 ?        00:00:00 kuake
 9193 ?        00:00:00 kwalletmanager
 9195 pts/1    00:00:00 bash
 9198 ?        00:00:00 knotes
 9199 pts/2    00:00:00 bash
 9202 pts/3    00:00:00 bash
 9211 pts/4    00:00:00 bash
 9216 pts/5    00:00:00 bash
 9240 ?        00:00:00 kgpg
 9270 ?        00:00:01 kopete
 9271 ?        00:00:14 xchat-2
 9279 ?        00:00:00 knotify
 9313 pts/4    00:00:00 su
 9324 pts/4    00:00:00 bash
 9400 pts/5    00:00:01 mozilla-bin
 9404 pts/5    00:00:00 mozilla-bin
 9405 pts/5    00:00:00 mozilla-bin
 9407 pts/5    00:00:00 gconfd-2
 9408 pts/5    00:00:00 mozilla-bin
 9441 pts/2    09:02:34 mprime
10994 ?        00:00:00 kio_file
11126 pts/4    00:00:00 emerge
11206 pts/5    00:00:05 firefox-bin
11210 pts/5    00:00:00 firefox-bin <defunct>
12759 ?        00:00:00 pdflush
13019 ?        00:00:00 pdflush
13884 pts/5    00:00:00 ps


just in case you need it too, a pstree (just parts of it). firefox and mozilla were after kdesktop and mozilla-launcher, but after i killed mozilla-launcher i guess the fell 'back to the left'.

init-+-6*[agetty]
     |-atd
...
     |-firefox-bin---firefox-bin
...
     |-mozilla-bin---mozilla-bin---2*[mozilla-bin]
...
     `-udevd
Comment 5 Christian Marie (RETIRED) gentoo-dev 2006-12-18 19:23:34 UTC
Works for me via Anarchy.