Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: "Type of Bar: Trilands" crash after logout #63

Open
BartoszBrodowski opened this issue Aug 18, 2024 · 9 comments
Open

[BUG]: "Type of Bar: Trilands" crash after logout #63

BartoszBrodowski opened this issue Aug 18, 2024 · 9 comments

Comments

@BartoszBrodowski
Copy link

I'm facing a similar problem as in #35, but with different circumstances. What I've found is that when using "Type of Bar: Trilands", whenever I lock my screen using Super + L (which causes a logout as well), it crashes my system, and all I see is blackscreen with console cursor blinking. However, when changing "Type of Bar" to "Islands", the issue seems to be solved.

I expect that it might be related to Gnome/mutter issue, as I've faced something similar previously, but now it seems to be a problem with that particular function (other Bar types don't cause a crash). It also doesn't allow me to boot using standard "Arch Linux" option, and I need to go through with second boot option (it looks to be a GRUB issue). But after changing to "Type of Bar: Islands" I can boot normally, so I believe it also may be a matter of compatibility with OpenBar, therefore creation of this issue.

Versions/Specs:

  • Arch kernel: 6.6.46-1-lts
  • Gnome: 46.4 (Wayland)
  • OpenBar: 38
  • Only other extension installed is Blur my Shell
  • GPU: Nvidia 3060 (nouveau driver)

Reproduce:

  • Open Bar with "Type of Bar: Trilands"
  • Log out or lock the screen with Super + L

I don't have an error trace. If you want me to run some command to troubleshoot, let me know. I'll try to respond and be of help!

@neuromorph
Copy link
Owner

Hello,

Oh no, the weird shell crash issue! These can be hard to crack. I am also using 'Trilands' and have tested on Ubuntu 24.04 and Fedora WS 40 with Gnome 46 Wayland and Open Bar 38 but haven't faced this issue. While Ubuntu is on Gnome 46.0, Fedora is on 46.4, same as you, but the kernel versions are ahead with 6.8 and 6.10.

Are you using Panel blur with Blur My Shell?

whenever I lock my screen using Super + L (which causes a logout as well), it crashes my system

I believe Super+L locks the screen which leads to a crash, so Gnome shell will restart (but not a logout as such, right?)

It also doesn't allow me to boot using standard "Arch Linux" option, and I need to go through with second boot option (it looks to be a GRUB issue).

What do you mean by options? Like regular login vs recovery mode or regular vs previous version of the kernel?

I expect that it might be related to Gnome/mutter issue

That could be the case since such issues do exist but something seems to be triggering the scenario since it only happens with 'Trilands' for you and yes similar case is also reported for 'Candybar'. That's the weird part that it is OK otherwise.

  • Can you please also test the Candybar style with your setup? Are you also facing same crash issue with Candybar, while bartype is not 'Trilands'?
  • Please try a patch by running following command. It is common for both 'Trilands' and 'Candybar' so you can test them after applying the patch and then logging out and log back in for the changes to reflect.

Command to apply the patch:
cd ~/.local/share/gnome-shell/extensions/openbar@neuromorph/; curl -LJO https://raw.githubusercontent.com/neuromorph/openbar/main/patches/extension_trilands-crash_63.js > extension.js; rm extension_trilands-crash_63.js; cd

Let me know if this helps or not.

Also, could you please try to get a stack trace for the crash with the Logs app (if present) or journalctl, so we can see if it matches the shell/mutter issue?

Thank you for reporting!

@BartoszBrodowski
Copy link
Author

Are you using Panel blur with Blur My Shell?

No, I have this option disabled.

I believe Super+L locks the screen which leads to a crash, so Gnome shell will restart (but not a logout as such,

I just tried logging out without using the short cut (no locking screen) and it caused a crash... So it's most probably something with Gnome crashing (option in OpenBar was Islands, so it's not a problem with the extenstion it seems)

What do you mean by options? Like regular login vs recovery mode or regular vs previous version of the kernel?

I mean the GRUB boot options, the second option is "Advanced options for Arch Linux" and then I choose "Arch Linux with linux-lts" or something like that and I can log in. It doesn't seem to be connected to OpenBar issue.

Can you please also test the Candybar style with your setup? Are you also facing same crash issue with Candybar, while bartype is not 'Trilands'?

I've tried out Candybar and it also caused a crash.

Please try a patch by running following command. It is common for both 'Trilands' and 'Candybar' so you can test them after applying the patch and then logging out and log back in for the changes to reflect.

After installing the fix the extension becomes unusable for me.

The command to apply the patch made the extension unusable for me, it blocked the extension with info "An error occured when loading this extension" or something like that (I'm not using english in the system). I deleted the package from extensions directory and reinstalled it again and it works, so it seems that this fix actually causes some interference with my current state of the app.

journalctl logs of the last few boots, latest one with and Trilands turned on, errors only:

sie 18 17:07:22 pralka systemd-coredump[2660]: [🡕] Process 1211 (gnome-shell) of user 1000 dumped core.
                                               
                                               Stack trace of thread 1211:
                                               #0  0x00007676296f87d0 st_theme_node_lookup_shadow (libst-14.so + 0x497d0)
                                               #1  0x00007676296f925d st_theme_node_get_box_shadow (libst-14.so + 0x4a25d)
                                               #2  0x00007676296fc7c6 st_theme_node_get_paint_box (libst-14.so + 0x4d7c6)
                                               #3  0x000076762970a48f n/a (libst-14.so + 0x5b48f)
                                               #4  0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #5  0x000076762980285e clutter_actor_get_transformed_paint_volume (libmutter-clutter-14.so.0 + 0x3d85e)
                                               #6  0x000076762970a623 n/a (libst-14.so + 0x5b623)
                                               #7  0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #8  0x000076762980285e clutter_actor_get_transformed_paint_volume (libmutter-clutter-14.so.0 + 0x3d85e)
                                               #9  0x000076762970a623 n/a (libst-14.so + 0x5b623)
                                               #10 0x0000767629709c76 n/a (libst-14.so + 0x5ac76)
                                               #11 0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #12 0x000076762980285e clutter_actor_get_transformed_paint_volume (libmutter-clutter-14.so.0 + 0x3d85e)
                                               #13 0x000076762970a623 n/a (libst-14.so + 0x5b623)
                                               #14 0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #15 0x000076762980285e clutter_actor_get_transformed_paint_volume (libmutter-clutter-14.so.0 + 0x3d85e)
                                               #16 0x000076762970a623 n/a (libst-14.so + 0x5b623)
                                               #17 0x0000767629709c76 n/a (libst-14.so + 0x5ac76)
                                               #18 0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #19 0x000076762980285e clutter_actor_get_transformed_paint_volume (libmutter-clutter-14.so.0 + 0x3d85e)
                                               #20 0x000076762970a623 n/a (libst-14.so + 0x5b623)
                                               #21 0x00007676298023fd n/a (libmutter-clutter-14.so.0 + 0x3d3fd)
                                               #22 0x0000767629809138 n/a (libmutter-clutter-14.so.0 + 0x44138)
                                               #23 0x0000767629809116 n/a (libmutter-clutter-14.so.0 + 0x44116)
                                               #24 0x0000767629865d9d n/a (libmutter-clutter-14.so.0 + 0xa0d9d)
                                               #25 0x0000767629867a01 n/a (libmutter-clutter-14.so.0 + 0xa2a01)
                                               #26 0x0000767629827024 n/a (libmutter-clutter-14.so.0 + 0x62024)
                                               #27 0x0000767629b41ab9 n/a (libglib-2.0.so.0 + 0x5cab9)
                                               #28 0x0000767629ba39e7 n/a (libglib-2.0.so.0 + 0xbe9e7)
                                               #29 0x0000767629b427b7 g_main_loop_run (libglib-2.0.so.0 + 0x5d7b7)
                                               #30 0x00007676294ceeea meta_context_run_main_loop (libmutter-14.so.0 + 0xceeea)
                                               #31 0x0000767628912596 n/a (libffi.so.8 + 0x7596)
                                               #32 0x000076762890f00e n/a (libffi.so.8 + 0x400e)
                                               #33 0x0000767628911bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                               #34 0x000076762992dfe1 n/a (libgjs.so.0 + 0x4bfe1)
                                               #35 0x000076762992e688 n/a (libgjs.so.0 + 0x4c688)
                                               #36 0x0000767627cf7826 n/a (libmozjs-115.so + 0x12f7826)
                                               #37 0x0000767627f8c807 n/a (libmozjs-115.so + 0x158c807)
                                               #38 0x0000767627b933af n/a (libmozjs-115.so + 0x11933af)
                                               #39 0x00007676280a62a0 _ZN2JS4CallEP9JSContextNS_6HandleINS_5ValueEEES4_RKNS_16HandleValueArrayENS_13MutableHandleIS3_EE (libmozjs-115.so
 + 0x16a62a0)
                                               #40 0x0000767629964f02 n/a (libgjs.so.0 + 0x82f02)
                                               #41 0x000076762996d17f gjs_context_eval_module (libgjs.so.0 + 0x8b17f)
                                               #42 0x000076762996d481 gjs_context_eval_module_file (libgjs.so.0 + 0x8b481)
                                               #43 0x000060284b8c358c n/a (gnome-shell + 0x258c)
                                               #44 0x0000767629234e08 n/a (libc.so.6 + 0x25e08)
                                               #45 0x0000767629234ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                               #46 0x000060284b8c3a05 n/a (gnome-shell + 0x2a05)
                                               
                                               Stack trace of thread 1213:
                                               #0  0x00007676293261fd syscall (libc.so.6 + 0x1171fd)
                                               #1  0x0000767629b9ca10 g_cond_wait (libglib-2.0.so.0 + 0xb7a10)
                                               #2  0x0000767629b0a90c n/a (libglib-2.0.so.0 + 0x2590c)
                                               #3  0x0000767629b766b7 n/a (libglib-2.0.so.0 + 0x916b7)
                                               #4  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1227:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1225:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1226:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1229:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1230:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1231:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1216:
                                               #0  0x000076762931a63d __poll (libc.so.6 + 0x10b63d)
                                               #1  0x0000767629ba392d n/a (libglib-2.0.so.0 + 0xbe92d)
                                               #2  0x0000767629b427b7 g_main_loop_run (libglib-2.0.so.0 + 0x5d7b7)
                                               #3  0x0000767629d45574 n/a (libgio-2.0.so.0 + 0x112574)
                                               #4  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1214:
                                               #0  0x000076762931a63d __poll (libc.so.6 + 0x10b63d)
                                               #1  0x0000767629ba392d n/a (libglib-2.0.so.0 + 0xbe92d)
                                               #2  0x0000767629b40fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5)
                                               #3  0x0000767629b4101a n/a (libglib-2.0.so.0 + 0x5c01a)
                                               #4  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1243:
                                               #0  0x00007676293261fd syscall (libc.so.6 + 0x1171fd)
                                               #1  0x0000767629b9ca10 g_cond_wait (libglib-2.0.so.0 + 0xb7a10)
                                               #2  0x0000767629b0a90c n/a (libglib-2.0.so.0 + 0x2590c)
                                               #3  0x0000767629b0a97d g_async_queue_pop (libglib-2.0.so.0 + 0x2597d)
                                               #4  0x00007676269875fc n/a (libpangoft2-1.0.so.0 + 0xc5fc)
                                               #5  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #6  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #7  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1232:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1228:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x0000767627d33b05 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueC
alculatorEEE (libmozjs-115.so + 0x1333b05)
                                               #3  0x0000767627d33e43 n/a (libmozjs-115.so + 0x1333e43)
                                               #4  0x0000767627ff951e n/a (libmozjs-115.so + 0x15f951e)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1224:
                                               #0  0x000076762931a63d __poll (libc.so.6 + 0x10b63d)
                                               #1  0x0000767629ba392d n/a (libglib-2.0.so.0 + 0xbe92d)
                                               #2  0x0000767629b40fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5)
                                               #3  0x00007676245632fe n/a (libdconfsettings.so + 0x62fe)
                                               #4  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 1241:
                                               #0  0x000076762929fa19 n/a (libc.so.6 + 0x90a19)
                                               #1  0x00007676292a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                               #2  0x00007676104a3eee n/a (nouveau_dri.so + 0xa3eee)
                                               #3  0x0000767610480ecc n/a (nouveau_dri.so + 0x80ecc)
                                               #4  0x00007676104a3e1d n/a (nouveau_dri.so + 0xa3e1d)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               
                                               Stack trace of thread 2590:
                                               #0  0x00007676293261fd syscall (libc.so.6 + 0x1171fd)
                                               #1  0x0000767629b9d367 g_cond_wait_until (libglib-2.0.so.0 + 0xb8367)
                                               #2  0x0000767629b0a8d5 n/a (libglib-2.0.so.0 + 0x258d5)
                                               #3  0x0000767629b7727b n/a (libglib-2.0.so.0 + 0x9227b)
                                               #4  0x0000767629b71266 n/a (libglib-2.0.so.0 + 0x8c266)
                                               #5  0x00007676292a339d n/a (libc.so.6 + 0x9439d)
                                               #6  0x000076762932849c n/a (libc.so.6 + 0x11949c)
                                               ELF object binary architecture: AMD x86-64
sie 18 17:07:32 pralka gdm[554]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
sie 18 17:07:32 pralka wireplumber[1100]: spa.alsa: Error opening hctl device: Nie ma takiego pliku ani katalogu
sie 18 17:07:32 pralka wireplumber[1100]: spa.alsa: can't open control for card hw:2: Nie ma takiego pliku ani katalogu
sie 18 17:07:32 pralka wireplumber[1100]: spa.alsa: Card can't get card_name from card_index 0
sie 18 17:07:32 pralka gdm[554]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
sie 18 17:07:32 pralka wireplumber[1100]: spa.alsa: can't open control for card hw:0: Nie ma takiego pliku ani katalogu
sie 18 17:07:32 pralka pipewire[1099]: spa.alsa: 'hdmi:1': playback open failed: Nie ma takiego pliku ani katalogu
sie 18 17:07:32 pralka pipewire[1099]: mod.adapter: usage: node.name=<string>
-- Boot bbbcf6926f4a44758aea47803fa9cbf3 --
sie 18 17:08:26 pralka kernel: x86/cpu: SGX disabled by BIOS.
sie 18 17:08:26 pralka kernel: usb 1-7: device descriptor read/64, error -71
sie 18 17:08:26 pralka kernel: usb 1-7: device descriptor read/64, error -71
-- Boot 079590c5a99b4f82b67d3352128568cc --
sie 18 17:08:56 pralka kernel: x86/cpu: SGX disabled by BIOS.
sie 18 17:08:56 pralka kernel: usb 1-7: device descriptor read/64, error -71
sie 18 17:08:56 pralka kernel: usb 1-7: device descriptor read/64, error -71
sie 18 17:08:57 pralka (udev-worker)[418]: event16: Failed to call EVIOCSKEYCODE with scan code 0x7c, and key code 190: Invalid argument
sie 18 17:08:57 pralka kernel: usb 1-1: 3:1: cannot get freq at ep 0x84
sie 18 17:08:59 pralka kernel: usb 1-1: 3:1: cannot get freq at ep 0x84
sie 18 17:09:00 pralka kernel: usb 1-1: 3:1: cannot get freq at ep 0x84
sie 18 17:09:05 pralka gdm-password][1020]: gkr-pam: unable to locate daemon control file
sie 18 17:09:06 pralka gdm[571]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
sie 18 17:09:06 pralka systemd[1049]: Failed to start Application launched by gnome-session-binary.
sie 18 17:09:06 pralka systemd[1049]: Failed to start Application launched by gnome-session-binary.
sie 18 17:09:07 pralka systemd[1049]: Failed to start Application launched by gnome-session-binary.
sie 18 17:09:08 pralka gdm[571]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed

@neuromorph
Copy link
Owner

So, it seems the issue is same as the Candybar one, at least the same cause. The stack trace is similar to the shell/mutter issue being tracked here. There is a MR but for some reason it is still open.

After installing the fix the extension becomes unusable for me.

This is unexpected. Maybe the command didn't finish well. I wanted to try skipping some steps on disable in an attempt to bypass the crash scenario. Can you instead try this -

  • disable Open Bar extension
  • backup the extension.js file of the extension in case you need to revert. (path: ~/.local/share/gnome-shell/extensions/openbar@neuromorph/)
  • replace the extension.js file with the one attached here (after unzipping)
  • log out and login
  • run this command to monitor the journal for errors - SHELL_DEBUG=all journalctl /usr/bin/{gjs,gnome-shell} -fo cat
  • enable Open Bar and see if it works else note the error in the terminal (this will give us the line number in case of error)
  • if enabled fine, test the crash scenario by screen lock

Let's see how that goes.

Thank you!
extension.zip

@BartoszBrodowski
Copy link
Author

I just tried using Trilands as the Type of Bar and it worked! I don't see any error messages from the journal, only some warnings which aren't connected to the extension.

it seems to have fixed it <3 What was the reason for the problem then?

@neuromorph
Copy link
Owner

That's great news!

Can you please also try with Candybar to check if that doesn't crash as well?

What was the reason for the problem then?

Well, the main reason is still shell/mutter issue associated with stylesheet unload. But it was specifically getting triggered for Trilands and Candybar. Those are special styles so I have to add additional style classes to each panel button. When we do screen lock, Gnome disables the extensions. On disable we need to clean up anything that extensions has touched. So I remove these style classes. This isn't really necessary since the entire stylesheet is unloaded anyway. So I commented this part. And that's it.

Now the fun part: As I was typing the above explanation, one more thing struck me, in terms of why it maybe a problem. When we lock the screen, the Panel is also changed by Gnome. Without digging deep, it seems the left and center boxes are removed and only the Quick Settings is kept in the right box. This may create that scenario of trying to remove something from memory that doesn't exist. This should not cause a crash, given it is only style class, but with some combination of upstream issue and the timing of events (since it does not happen for me for e.g.) it might happen.

Thanks for trying out!

@BartoszBrodowski
Copy link
Author

BartoszBrodowski commented Aug 18, 2024

Ok, just letting you know. I'm still playing around with my environment and Arch is being more and more of a pain, but now that I've tried the fix it's not working anymore, which is really surprising for me. Both Type of Bar: Trilands and Candybar. I think I'd need to just do a clean install and check it out again, just having the OpenBar extension installed.

I don't have time for deeper digging today, therefore I'll try to give an update in upcoming days.

Edit: I think it would be a good idea to just setup a VM instance of Arch with same config, just going straight into installing OpenBar, and then adding up the things that I've installed (it's not a lot, but small things can make a big mess). With that I'll be able to conclude whether this is the extension affecting the basic setup (like an upstream issue you mentioned or something else) or it's an incompatibility between some packages. I'll try to keep this environment as is to be able to further troubleshoot the issue.

@neuromorph
Copy link
Owner

now that I've tried the fix it's not working anymore

Oh, that's unfortunate. It would be great if we have a way to dodge the crash till upstream is fixed.

Yeh, that's a good idea to try in a fresh setup in VM and then add other packages/extensions. Do replace the extension.js file as above.

Feel free to update here when you have some results.
Thank you!

@neuromorph
Copy link
Owner

Update:

I have changed the way Trilands is implemented in an attempt to avoid the crash scenario. This might solve it.
You can get the updated extension here - openbar@neuromorph
Please install manually from there.

Let me know if that works for you.

@PIEK4
Copy link

PIEK4 commented Nov 21, 2024

I'm also having this issue with triland, where it crashes after suspending, on fedora 41, gnome 47 and I'm on 41 of the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants