Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79533 - [firefox] The firefox package requires "glib" from AUR

Attached to Project: Arch Linux
Opened by Biró Dávid (fxdave) - Friday, 01 September 2023, 14:26 GMT
Last edited by Toolybird (Toolybird) - Friday, 01 September 2023, 21:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Otherwise you get errors like these:
firefox[2228]: invalid (NULL) pointer instance
firefox[2228]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
firefox[2228]: invalid (NULL) pointer instance
firefox[2228]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed


Additional info:
* package version(s): firefox 117.0-1

Steps to reproduce:
1. Make sure you don't have /usr/lib/libglib.so
2. Start firefox
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 01 September 2023, 21:09 GMT
Reason for closing:  Not a bug
Comment by Jelle van der Waa (jelly) - Friday, 01 September 2023, 14:36 GMT
I have no upower and firefox starts fine, nor does it link against glib. How do you start Firefox?

[jelle@t14s][~/projects/upower]%pacman -Q glib
error: package 'glib' was not found

[jelle@t14s][~/projects/upower]%readelf -a /usr/lib/firefox/firefox | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
Comment by Biró Dávid (fxdave) - Friday, 01 September 2023, 16:23 GMT
I thought it solves the issue but it actually does not. Somehow it worked after I installed the glib package, but as I can see it was just luck because it is buggy again:

$ G_DEBUG=fatal-criticals firefox
[Parent 16734, Main Thread] ###!!! ASSERTION: invalid (NULL) pointer instance: 'glib assertion', file /build/firefox/src/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:164

(firefox:16734): GLib-GObject-CRITICAL **: 18:21:54.623: invalid (NULL) pointer instance
ExceptionHandler::GenerateDump cloned child 16858
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[Parent 16734, Main Thread] ###!!! ASSERTION: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib assertion', file /build/firefox/src/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:164

(firefox:16734): GLib-GObject-CRITICAL **: 18:21:54.781: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Exiting due to channel error.
fish: Job 1, 'G_DEBUG=fatal-criticals firefox' terminated by signal SIGTRAP (Trace or breakpoint trap)
Comment by Biró Dávid (fxdave) - Friday, 01 September 2023, 20:08 GMT
I reported to Mozilla directly instead: https://bugzilla.mozilla.org/show_bug.cgi?id=1851240

Loading...