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 phendula
  • 1 inayo le ngxaki
  • 3 views
  • Impendulo yokugqibela ngu 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