LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox dies on start (X Window System Error) (https://www.linuxquestions.org/questions/linux-software-2/firefox-dies-on-start-x-window-system-error-469844/)

Zoko 08-01-2006 03:29 PM

Firefox dies on start (X Window System Error)
 
Oh boy oh boy.....

After a lot of google searching and forum searching I'm still lost on this one.

Out of the blue one day, my firefox installation ceased to continue to work. What could have possibly cause this, I don't know in the slightest. I turned my machine back on one morning and firefox was no longer there for me. :(

Staringly Mozilla still runs perfectly (Version:)
Code:

% mozilla --version
Mozilla 1.7.13, Copyright (c) 2003-2004 mozilla.org, build 200604171

As does Thunderbird (Version: )
Code:

% thunderbird --version
 Thunderbird 1.5.0.5, Copyright (c) 2005 mozilla.org

But Firefox (Version: )
Code:

% /usr/bin/firefox --version
Mozilla Firefox 1.5.0.5, Copyright (c) 1998 - 2006 mozilla.org

Will no longer work. This first started a release prior to 2.0 beta.

Here's some information for you all
gtk-config --version
1.2.10

% glib-config --version
1.2.10

Code:

% Xorg -version

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13 i686 [ELF]
Current Operating System: Linux darklair 2.6.16.20 #5 PREEMPT Thu Jun 29 14:07:06 EDT 2006 i686
Build Date: 11 September 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present

Here's the complete error I get with firefox (installed from http://slackware.mirrors.easynews.co...0.5-i686-1.tgz)

Code:

% /usr/bin/firefox
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 1058 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)

What I've tried to do to fix it has been this:
Remove everything related to mozilla or firefox. I removed all directories that mozilla or firefox resided in (~/.mozilla/, /usr/share/, /usr/bin, etc). I then installed from package Mozilla and ran it. That still runs. Firefox installed from package still doesn't run.

EDIT(added kde information)
I typically use Fluxbox 1.0r3, NOT logging in with KDM.
I tried using KDM and then loading a kde session and firefox will run. I then tried using KDM and loading a Fluxbox session and Firefox will run. ?

My .xinitrc looks like this when using startx:

Code:

exec xmms -p&
exec /usr/local/bin/startfluxbox

Finally, The only plugin I have installed is: java. about:config says this:

File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.5.0_06

That did work on Firefox when Firefox was working.

Has anyone else experienced this problem and can offer some assistance?

aquaboogie90 08-01-2006 04:33 PM

Ooh, ooohh! I think I know exactly what you're talking about. I've found that Gmail and other JavaScript-intensive pages would crash Firefox with the same error messages. Have you been messing with your xorg.conf lately (maybe trying to follow Dugan's "How to Properly Set Up Slackware")?

My solution: remove the DRI and composite lines in xorg.conf or if you don't feel like doing that, generate a new one by running xorgsetup.

Zoko 08-01-2006 04:57 PM

aquaboogie90,

Funny you should mention those things. My firefox would crash before I could even get to any page at all before.

What I just did was run xorgsetup. as opposed to my typical xorgconfig, and it fixed it right up. I wonder why that is:confused:

aquaboogie90 08-02-2006 03:04 AM

Don't know, but I'm glad it worked! :p

mpagnan 08-11-2011 08:45 AM

None of this works for me - except using Opera, Seamonkey or Konquerer when Firefox dies on a site. Only FF dies for me and only after the latest upgrade. It seems related to how FF tries to load videos, audios and other multimedia files. I have no solution and I have tried everything that I can find on the web, including at the Mozilla site.


All times are GMT -5. The time now is 07:27 PM.