Since Ubuntu has forcibly pushed Firefox from apt to snap, I'm not unable to run firefox. I ran into this when I first updated to Ubuntu 22.04, but was able to remove the snap and install the apt package to circumvent. That's no longer an option.
When I run firefox from bash, I get this output:
Code:
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(firefox:4508): GLib-GObject-WARNING **: 18:13:54.162: invalid (NULL) pointer instance
(firefox:4508): GLib-GObject-CRITICAL **: 18:13:54.162: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)
(firefox:4508): Gtk-WARNING **: 18:13:54.165: cannot open display: :0
ExceptionHandler::GenerateDump cloned child 4538
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
I've seen it suggested that running with the environment variable DISABLE_WAYLAND=1 can help, this is the output under those circumstances:
Code:
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
Not sure how to debug snap packages at all. The sandboxing seems to have added considerable issues in debugging issues. Happy to run any commands that can glean more information.
Also, if anyone from Canonical reads these: being forced off of a working apt package to a non-working snap package is annoying by itself, but when you then remove the way back its enough to make me consider moving to a new distro rather than debug whatever you broke.
Bookmarks