You are not logged in.
My journal is spammed with lines like
Sep 17 00:01:36 geras firefox.desktop[1956]: [Parent 1956, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 17 00:01:36 geras firefox.desktop[1956]: [Parent 1956, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 17 00:01:36 geras firefox.desktop[1956]: [Parent 1956, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 17 00:01:36 geras firefox.desktop[1956]: [Parent 1956, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 17 00:01:36 geras firefox[1956]: invalid (NULL) pointer instance
Sep 17 00:01:36 geras firefox[1956]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
whenever I interact with Firefox. Specifically, it happens whenever I type on the search bar, hover my cursor over elements on the toolbar (e.g., the refresh button, back button, tabs, bookmarks, bookmark folders). It also happens when I hover over or click on links.
Aside from the journal being spammed, there are times when my keyboard input is delayed for a couple of seconds. When the characters I type finally show up, I'm spammed with
Sep 19 15:07:57 geras firefox.desktop[8794]: [Parent 8794, Main Thread] WARNING: Process Key Event failed: Timeout was reached.: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 19 15:07:57 geras firefox[8794]: Process Key Event failed: Timeout was reached.
Sep 19 15:07:57 geras firefox.desktop[8794]: [Parent 8794, Main Thread] WARNING: Process Key Event failed: Timeout was reached.: 'glib warning', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:167
Sep 19 15:07:57 geras firefox[8794]: Process Key Event failed: Timeout was reached.
I included a screencast of this at the bottom of the post. The delay doesn't go away on its own (although there is the possibility that I just haven't waited long enough), so I've been restarting Firefox to temporarily fix it.
I looked at the Troubleshooting section of Arch wiki's page on Firefox, but the problem still persists when Firefox is started in Troubleshoot Mode. I looked at nsSigHandlers.cpp, but I didn't really know what to do from there.
A full boot session http://0x0.st/HOdi.txt
The same boot session with "-p 3" http://0x0.st/HOdK.txt
The same boot session with some lines deleted http://0x0.st/HOdb.txt
I thought it might be helpful if there was a version where the spam was purged, so I used sed to delete lines containing "invalid (NULL) pointer instance" and "g_signal_emit_by_name: assertion". The number of lines went from 143469 to 7961.
Screencast of journal being spammed as I interact with Firefox with my keyboard and (invisible) cursor http://0x0.st/HOn3.webm
A screencast where I immediately begin typing, but the characters only show up 18 seconds later http://0x0.st/HOnY.webm
Last edited by stea (2023-09-24 14:21:59)
Offline
Edit: sorry, yes happens in -safe-mode (I should really read threads before answering
NS_DEBUG_WARNING sounds like this is supposed to be a debug output, is this the normal repo version, a nightly or some flatpak?
https://bugzilla.mozilla.org/show_bug.cgi?id=1802297
https://bugzilla.mozilla.org/show_bug.cgi?id=1798621
You could check "G_DEBUG=fatal-warnings" to see whether it's the same (still/again)
Or did you maybe export G_MESSAGES_DEBUG ?
Last edited by seth (2023-09-22 20:02:47)
Offline
This is the normal repo version.
Offline
Since you probably missed the last edit:
https://bugzilla.mozilla.org/show_bug.cgi?id=1802297
https://bugzilla.mozilla.org/show_bug.cgi?id=1798621You could check "G_DEBUG=fatal-warnings" to see whether it's the same (still/again)
Or did you maybe export G_MESSAGES_DEBUG ?
Last edited by seth (2023-09-22 20:02:37)
Offline
I haven't exported G_MESSAGES_DEBUG, and setting G_DEBUG to fatal-warnings produced:
[stea@geras ~]$ export G_DEBUG=fatal-warnings
[stea@geras ~]$ firefox
[GFX1-]: vaapitest: ERROR
[GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[Parent 47254, Main Thread] ###!!! ASSERTION: invalid (NULL) pointer instance: 'glib assertion', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:164
(firefox:47254): GLib-GObject-CRITICAL **: 04:13:28.923: invalid (NULL) pointer instance
ExceptionHandler::GenerateDump cloned child 47376
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[Parent 47254, Main Thread] ###!!! ASSERTION: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib assertion', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:164
(firefox:47254): GLib-GObject-CRITICAL **: 04:13:29.086: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Exiting due to channel error.
Trace/breakpoint trap (core dumped)
Edit: I only know Firefox from the surface level and have never set environment variables before running Firefox.
Edit 2: The crash report, in case it's of interest http://0x0.st/HO7E.txt
Last edited by stea (2023-09-22 20:43:24)
Offline
Trace/breakpoint trap (core dumped)
The more interesting piece will hopefully be the https://wiki.archlinux.org/title/Core_d … _core_dump
[GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.
vainfo
Offline
The trace http://0x0.st/HVsn.log
[stea@geras ~]$ vainfo
Trying display: wayland
vaInitialize failed with error code -1 (unknown libva error),exit
Offline
https://wiki.archlinux.org/title/Hardwa … celeration
The backtrace is just somewhere deep in XUL, if FF is in the debug repos, https://wiki.archlinux.org/title/Debugg … ing_traces might shed more light on this.
Google has your error in relation to IMs, specifically ibus - do you use that/such?
Offline
vainfo works now:
[stea@geras ~]$ vainfo
Trying display: wayland
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.3.3 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
Firefox wasn't in extra-debug, so I'm not sure what to do for libxul.so.
Yes, I use Mozc as an input method, installed from the AUR.
Offline
Yes, I use Mozc as an input method, installed from the AUR.
It would probably be a very good idea to try to disable that and see how FF responds.
It might also just need a recompilation.
Offline
I disabled Mozc and get no IBus errors, although the other errors still persist. IBus errors actually never occur for me except for this one boot session, which I should've said earlier. I did a grep of my whole journal, just to double-check.
Last edited by stea (2023-09-24 07:12:16)
Offline
What does the remaining FF output look like?
Offline
[stea@geras ~]$ G_DEBUG=fatal-warnings firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[Parent 3558, Main Thread] ###!!! ASSERTION: invalid (NULL) pointer instance: 'glib assertion', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:164
(firefox:3558): GLib-GObject-CRITICAL **: 16:02:02.205: invalid (NULL) pointer instance
ExceptionHandler::GenerateDump cloned child 3675
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[Parent 3558, Main Thread] ###!!! ASSERTION: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib assertion', file /build/firefox/src/firefox-117.0.1/toolkit/xre/nsSigHandlers.cpp:164
(firefox:3558): GLib-GObject-CRITICAL **: 16:02:02.378: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Exiting due to channel error.
Trace/breakpoint trap (core dumped)
Offline
I compiled Firefox for the debug information http://0x0.st/HV8p.log
Offline
Thread 1 (Thread 0x7ffff7e82780 (LWP 16814) "firefox-bin"):
#0 g_logv (log_domain=0x7ffff3e96015 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/glib/gmessages.c:1423
#1 0x00007ffff3f166d4 in g_log (log_domain=log_domain@entry=0x7ffff3e96015 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7ffff3e9e8e0 "invalid (NULL) pointer instance") at ../glib/glib/gmessages.c:1461
#2 0x00007ffff3e8d7bb in g_type_check_instance (type_instance=<optimized out>) at ../glib/gobject/gtype.c:4302
#3 0x00007ffff3e85de9 in g_signal_emit_by_name (instance=0x0, detailed_signal=0x7fffef0a9a95 "children_changed::remove:system") at ../glib/gobject/gsignal.c:3703
#4 0x00007fffe9fb1a05 in mozilla::a11y::LocalAccessible::HandleAccEvent(mozilla::a11y::AccEvent*) () at libxul.so
#5 0x00007fffe9f91dd7 in nsEventShell::FireEvent(mozilla::a11y::AccEvent*) () at libxul.so
#6 0x00007fffe9f8f2a8 in mozilla::a11y::NotificationController::ProcessMutationEvents() () at libxul.so
#7 0x00007fffe9f8e1f1 in mozilla::a11y::NotificationController::WillRefresh(mozilla::TimeStamp) () at libxul.so
#8 0x00007fffeb47f87e in nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsRefreshDriver::IsExtraTick) () at libxul.so
#9 0x00007fffec830013 in mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&) () at libxul.so
#10 0x00007fffec82feab in mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) () at libxul.so
#11 0x00007fffec830ce7 in mozilla::VsyncRefreshDriverTimer::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) () at libxul.so
#12 0x00007fffec830abd in mozilla::detail::RunnableFunction<mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::VsyncEvent const&)::{lambda()#1}>::Run() () at libxul.so
#13 0x00007fffeb187ef9 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) () at libxul.so
#14 0x00007fffeb18a96f in mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() () at libxul.so
#15 0x00007fffeb18cec7 in nsThread::ProcessNextEvent(bool, bool*) () at libxul.so
#16 0x00007fffeb1db600 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) () at libxul.so
#17 0x00007fffec7aebce in nsBaseAppShell::Run() () at libxul.so
#18 0x00007fffea1ae245 in nsAppStartup::Run() () at libxul.so
#19 0x00007fffecb18010 in XREMain::XRE_mainRun() () at libxul.so
#20 0x00007fffea24321b in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) () at libxul.so
#21 0x00007fffea2437a8 in XRE_main(int, char**, mozilla::BootstrapConfig const&) () at libxul.so
#22 0x0000555555628cd8 in main ()
Offline
Thank you. My journal isn't spammed anymore.
Offline