Budgie-panel keeps crashing despite repeated resets

This has been happening for a very long time, and finally, I’m really fed up! I can see coredumps being created with budgie-panel-***cordeump. I checked journalctl only to find the following before after the panel crashed all together:

  #3  0x00007f62e19e9721 n/a (
                                                    #4  0x00007f62e1a11195 n/a (
                                                    #5  0x00007f62de7bc6db start
                                                    #6  0x00007f62e0e3e88f __clo
                                                    
                                                    Stack trace of thread 6603:
                                                    #0  0x00007f62e0e38839 sysca
                                                    #1  0x00007f62e1a2f89a g_con
                                                    #2  0x00007f62e19bc571 n/a (
                                                    #3  0x00007f62e19bcb2c g_asy
                                                    #4  0x00007f62e1a11c3e n/a (
                                                    #5  0x00007f62e1a11195 n/a (
                                                    #6  0x00007f62de7bc6db start
                                                    #7  0x00007f62e0e3e88f __clo
                                                    
                                                    Stack trace of thread 6056:
                                                    #0  0x00007f62e0e31bf9 __GI_
                                                    #1  0x00007f62e19e95c9 n/a (
                                                    #2  0x00007f62e19e9962 g_mai
                                                    #3  0x00007f62e1fd70e6 n/a (
                                                    #4  0x00007f62e1a11195 n/a (
                                                    #5  0x00007f62de7bc6db start
                                                    #6  0x00007f62e0e3e88f __clo
lines 1188-1210/1210 (END)
                                                    #3  0x00007f62e19e9721 n/a (libglib-2.0.so.0)
                                                    #4  0x00007f62e1a11195 n/a (libglib-2.0.so.0)
                                                    #5  0x00007f62de7bc6db start_thread (libpthread.so.0)
                                                    #6  0x00007f62e0e3e88f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 6603:
                                                    #0  0x00007f62e0e38839 syscall (libc.so.6)
                                                    #1  0x00007f62e1a2f89a g_cond_wait_until (libglib-2.0.so.0)
                                                    #2  0x00007f62e19bc571 n/a (libglib-2.0.so.0)
                                                    #3  0x00007f62e19bcb2c g_async_queue_timeout_pop (libglib-2.0.so.0)
                                                    #4  0x00007f62e1a11c3e n/a (libglib-2.0.so.0)
                                                    #5  0x00007f62e1a11195 n/a (libglib-2.0.so.0)
                                                    #6  0x00007f62de7bc6db start_thread (libpthread.so.0)
                                                    #7  0x00007f62e0e3e88f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 6056:
                                                    #0  0x00007f62e0e31bf9 __GI___poll (libc.so.6)
                                                    #1  0x00007f62e19e95c9 n/a (libglib-2.0.so.0)
                                                    #2  0x00007f62e19e9962 g_main_loop_run (libglib-2.0.so.0)
                                                    #3  0x00007f62e1fd70e6 n/a (libgio-2.0.so.0)
                                                    #4  0x00007f62e1a11195 n/a (libglib-2.0.so.0)
                                                    #5  0x00007f62de7bc6db start_thread (libpthread.so.0)
                                                    #6  0x00007f62e0e3e88f __clone (libc.so.6)

Any clue what’s wrong?
PS: I’ve already reset budgie panel twice till this date

Reset the panel but run for a while without any customisation on the panel. Does it crash?

Then gradually introduce your changes … hopefully this way we can identify the culprit change.

Well, I’ve found it. It’s the global menu applet which causes the entire budgie-panel to become unstable and crash. But I find this applet to be an everyday need, any recommendations?

what version of UB are you using? 18.04 or 19.10 ?

Is this issue with any specific application? Or is it with one application more than others? Any particular action you need to-do to make things crash?

I’m on 18.04 and it crashes randomly. There’s no need to do anything. I just use vscode + terminal. Don’t know what’s wrong

strictly speaking the crash dump file needs analysing to find out what the issue is causing the crash. Debug symbols needs to be installed first, then make it crash

https://wiki.ubuntu.com/DebuggingProgramCrash

Then once a good trace file is found pin-pointing a crash a fix (in theory) can be devised and pushed to the repos.

I’ve had a quick look to see if I can recompile the 19.10 version of vala-app-menu and vala-panel for 18.04 - unfortunately the version of meson is to new. Not really a big issue for a talented source compiler - need to grab a later version of meson and compile against that.

So - yes - two routes for 18.04 - both needs much more time and effort than I have at the moment :frowning:

Where is your global menu : left, middle or right of panel ?

Mine is at center and I don’t have any crash of panel.

I don’t pretend it’s the solution but hey, why not ?

( when placed at left or right of panel, global menu can’t display longer menus and truncates them, that may cause other issues as well… )

Drop me a link to the source. I use meson quite a bit, and I’ll try to figure it out.
PS: I already have debugging symbols installed, come on I’m a dev too!

I didn’t know! Great :slight_smile:

I use the package ubuntu-dev-tools

Then first pull-lp-source vala-panel to get the latest source

First trick is to get that to compile and install

Then the appmenu builds upon that - pull-lp-source vala-panel-appmenu

1 Like

Cool, I’ll do that as soon as possible and report back