Open OJFord opened 1 year ago
Related to issues #1945 and #1981
Crashes I'm seeing in #2057 seem to be related, they stop when I disable MPRIS
might be fixed now
No longer crashing for me on Waybar v0.9.17-124-g3d980f92!
Not fixed for me, when using Firefox to play video (tried with YouTube, and with videos on GitHub) Waybar core dumps:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/optional:477: _Tp &std::_Optional_base_impl<std::basic_string<char>, std::_Optional_base<std::basic_string<char>, false, false>>::_M_get() [_Tp = std::basic_string<char>, _Dp = std::_Optional_base<std::basic_string<char>, false, false>]: Assertion 'this->_M_is_engaged()' failed.
[1] + 166556 IOT instruction (core dumped) waybar
Any way of fixing this other than not using the mpris module?
Installed waybar-hyprland-git
AUR package, all sorted.
Had the same issue with Firefox and MPV-MPRIS. It seems to be fixed in git. It would be nice to have a proper version release with the fix. Thanks.
Using v0.9.18, my waybar crashed now when opening mpv.
Not sure if it helps, but here's the journalctl log: https://gist.github.com/Yutsuten/75413374d86e892678887765b685308e
I seem to be having this same issue. Here's the dump from journalctl. Currently running it in debug to see if I can catch some more info if it drops out again.
`Mar 04 13:38:43 binbows playerctld[1365]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.TrackList” Mar 04 13:38:43 binbows playerctld[1365]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.Playlists” Mar 04 13:38:44 binbows kernel: traps: waybar[1087] general protection fault ip:7837b6b12caf sp:7ffe2d6705b8 error:0 in libgtkmm-3.0.so.1.1.0[7837b6a03000+144000] Mar 04 13:38:44 binbows systemd[1]: Started Process Core Dump (PID 77764/UID 0). Mar 04 13:38:44 binbows playerctld[1365]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.TrackList” Mar 04 13:38:44 binbows playerctld[1365]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.Playlists” Mar 04 13:38:45 binbows systemd-coredump[77766]: [🡕] Process 1087 (waybar) of user 1000 dumped core.
Stack trace of thread 1087:
#0 0x00007837b6b12caf _ZN3Gtk6Widget11set_visibleEb (libgtkmm-3.0.so.1 + 0x312caf)
#1 0x0000572df099935b n/a (waybar + 0xf635b)
#2 0x00007837b5adf6c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
#3 0x00007837b5b0da36 n/a (libgobject-2.0.so.0 + 0x42a36)
#4 0x00007837b5afea42 n/a (libgobject-2.0.so.0 + 0x33a42)
#5 0x00007837b5afec77 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33c77)
#6 0x00007837b5afed34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#7 0x00007837b58dbc1e n/a (libplayerctl.so.2 + 0xcc1e)
#8 0x00007837b5adf6c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
#9 0x00007837b5b0da36 n/a (libgobject-2.0.so.0 + 0x42a36)
#10 0x00007837b5afea42 n/a (libgobject-2.0.so.0 + 0x33a42)
#11 0x00007837b5afec77 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33c77)
#12 0x00007837b5afed34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#13 0x00007837b5c43c6e n/a (libgio-2.0.so.0 + 0x116c6e)
#14 0x00007837b5c2dfa8 n/a (libgio-2.0.so.0 + 0x100fa8)
#15 0x00007837b59d8f69 n/a (libglib-2.0.so.0 + 0x59f69)
#16 0x00007837b5a373a7 n/a (libglib-2.0.so.0 + 0xb83a7)
#17 0x00007837b59d7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#18 0x00007837b5c0cb66 g_application_run (libgio-2.0.so.0 + 0xdfb66)
#19 0x0000572df08f620d n/a (waybar + 0x5320d)
#20 0x0000572df08f45a5 main (waybar + 0x515a5)
#21 0x00007837b5157cd0 n/a (libc.so.6 + 0x25cd0)
#22 0x00007837b5157d8a __libc_start_main (libc.so.6 + 0x25d8a)
#23 0x0000572df08fcab5 n/a (waybar + 0x59ab5)
Stack trace of thread 1308:
#0 0x00007837b523888d syscall (libc.so.6 + 0x10688d)
#1 0x00007837b5a32337 g_cond_wait (libglib-2.0.so.0 + 0xb3337)
#2 0x00007837b59a41b4 n/a (libglib-2.0.so.0 + 0x251b4)
#3 0x00007837b5a0cace n/a (libglib-2.0.so.0 + 0x8dace)
#4 0x00007837b5a0aa45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1380:
#0 0x00007837b523888d syscall (libc.so.6 + 0x10688d)
#1 0x00007837b5a32337 g_cond_wait (libglib-2.0.so.0 + 0xb3337)
#2 0x00007837b59a41b4 n/a (libglib-2.0.so.0 + 0x251b4)
#3 0x00007837b59a421c g_async_queue_pop (libglib-2.0.so.0 + 0x2521c)
#4 0x00007837b4dd6c48 n/a (libpangoft2-1.0.so.0 + 0x8c48)
#5 0x00007837b5a0aa45 n/a (libglib-2.0.so.0 + 0x8ba45)
#6 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#7 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1311:
#0 0x00007837b522d0bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007837b5a372f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007837b59d9b97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
#3 0x00007837b5c3f19c n/a (libgio-2.0.so.0 + 0x11219c)
#4 0x00007837b5a0aa45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1312:
#0 0x00007837b522d0bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007837b5a372f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007837b59d7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007837b6e87fde n/a (libdconfsettings.so + 0x5fde)
#4 0x00007837b5a0aa45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1309:
#0 0x00007837b522d0bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007837b5a372f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007837b59d7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007837b59d71b2 n/a (libglib-2.0.so.0 + 0x581b2)
#4 0x00007837b5a0aa45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67569:
#0 0x00007837b523ca1c recv (libc.so.6 + 0x10aa1c)
#1 0x0000572df09487e1 n/a (waybar + 0xa57e1)
#2 0x0000572df095150e n/a (waybar + 0xae50e)
#3 0x0000572df09515e8 n/a (waybar + 0xae5e8)
#4 0x0000572df090ae21 n/a (waybar + 0x67e21)
#5 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#6 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#7 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67568:
#0 0x00007837b523ca1c recv (libc.so.6 + 0x10aa1c)
#1 0x0000572df09487e1 n/a (waybar + 0xa57e1)
#2 0x0000572df095150e n/a (waybar + 0xae50e)
#3 0x0000572df095be48 n/a (waybar + 0xb8e48)
#4 0x0000572df090ae21 n/a (waybar + 0x67e21)
#5 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#6 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#7 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67571:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67570:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67572:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67575:
#0 0x00007837b523ae66 epoll_wait (libc.so.6 + 0x108e66)
#1 0x0000572df098d4fd n/a (waybar + 0xea4fd)
#2 0x0000572df090ae21 n/a (waybar + 0x67e21)
#3 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#5 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67576:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67574:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1306:
#0 0x00007837b516f42a __sigtimedwait (libc.so.6 + 0x3d42a)
#1 0x00007837b516eafc sigwait (libc.so.6 + 0x3cafc)
#2 0x0000572df091b3ac n/a (waybar + 0x783ac)
#3 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#4 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67577:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67578:
#0 0x00007837b51b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007837b51bcd35 pthread_cond_clockwait (libc.so.6 + 0x8ad35)
#2 0x0000572df09f0ca9 n/a (waybar + 0x14dca9)
#3 0x0000572df090ae21 n/a (waybar + 0x67e21)
#4 0x00007837b54e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#6 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 67579:
#0 0x00007837b522d0bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007837b58ad9b7 n/a (libpulse.so.0 + 0x339b7)
#2 0x00007837b589745c pa_mainloop_poll (libpulse.so.0 + 0x1d45c)
#3 0x00007837b58a161c pa_mainloop_iterate (libpulse.so.0 + 0x2761c)
#4 0x00007837b58a16d1 pa_mainloop_run (libpulse.so.0 + 0x276d1)
#5 0x00007837b58b1bf2 n/a (libpulse.so.0 + 0x37bf2)
#6 0x00007837b47a92b7 n/a (libpulsecommon-17.0.so + 0x5c2b7)
#7 0x00007837b51bd55a n/a (libc.so.6 + 0x8b55a)
#8 0x00007837b523aa3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
Mar 04 13:38:45 binbows systemd[1]: systemd-coredump@2-77764-0.service: Deactivated successfully.`
This manifests to me as waybar disappearing, then when I check the logs there's a stack trace following playerctld errors; sure enough it does seem to be related to playing media - specifically in Firefox (e.g. Youtube).
I'm using the built-in
mpris
module configured as:journal
```log Mar 20 12:21:54 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:21:54 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:23:43 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:23:43 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:25:39 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:25:39 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:26:33 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:26:33 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:27:08 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:27:08 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:27:12 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:27:12 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:30:00 waybar[4133]: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:30:00 waybar[4133]: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Mar 20 12:37:15 playerctld[3470]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.TrackList” Mar 20 12:37:15 playerctld[3470]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.mpris.MediaPlayer2.Playlists” Mar 20 12:37:15 sway[4133]: /usr/include/c++/12.2.0/optional:477: constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = std::__cxx11::basic_string