Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Command line error messages when opening firefox

  • 1 cavab
  • 1 has this problem
  • 1 view
  • Last reply by jonzn4SUSE

more options

Firefox will only open in Safe mode, previously it was working but now it's not.

I have Ubuntu 22.04 Firefox version 99.0.1 (64-bit)

When I try to open it in command line, it's also only opening in safe mode but I do also get some error messages that I've included below.

So what does all this stuff below from the command line actually mean? And how do I fix it?

matthew@matthew-desktop:/var/log$ firefox Gtk-Message: 22:02:17.854: Failed to load module "canberra-gtk-module" Gtk-Message: 22:02:17.855: Failed to load module "canberra-gtk-module" ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment.

(firefox:23012): Gdk-WARNING **: 22:02:19.034: The program 'firefox' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc'.

 (Details: serial 506 error_code 11 request_code 146 (unknown) minor_code 7)
 (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 GDK_SYNCHRONIZE environment
  variable to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)

Exiting due to channel error. matthew@matthew-desktop:/var/log$

Firefox will only open in Safe mode, previously it was working but now it's not. I have Ubuntu 22.04 Firefox version 99.0.1 (64-bit) When I try to open it in command line, it's also only opening in safe mode but I do also get some error messages that I've included below. So what does all this stuff below from the command line actually mean? And how do I fix it? matthew@matthew-desktop:/var/log$ firefox Gtk-Message: 22:02:17.854: Failed to load module "canberra-gtk-module" Gtk-Message: 22:02:17.855: Failed to load module "canberra-gtk-module" ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. (firefox:23012): Gdk-WARNING **: 22:02:19.034: The program 'firefox' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc'. (Details: serial 506 error_code 11 request_code 146 (unknown) minor_code 7) (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 GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Exiting due to channel error. matthew@matthew-desktop:/var/log$

All Replies (1)

more options

Try downloading Firefox from Mozilla and see if you have the same issues. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release