Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-04-05 14:51:08

varnie
Member
Registered: 2023-03-30
Posts: 34

xfce4-panel coredump

Hi.

Here's a stacktrace from journalctl:

Apr 05 18:56:11 heimdal systemd[1]: systemd-coredump@2-31915-0.service: Deactivated successfully.
Apr 05 18:56:11 heimdal systemd-coredump[31916]: [?] Process 28005 (xfce4-panel) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 28005:
                                                 #0  0x00007f7b0c508706 gtk_widget_get_visible (libgtk-3.so.0 + 0x337706)
                                                 #1  0x00007f7b080d1d36 n/a (libtasklist.so + 0xfd36)
                                                 #2  0x00007f7b0bcda210 g_closure_invoke (libgobject-2.0.so.0 + 0x14210)
                                                 #3  0x00007f7b0bd082f8 n/a (libgobject-2.0.so.0 + 0x422f8)
                                                 #4  0x00007f7b0bcf8095 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32095)
                                                 #5  0x00007f7b0bcf8324 g_signal_emit (libgobject-2.0.so.0 + 0x32324)
                                                 #6  0x00007f7b0c50e66e n/a (libgtk-3.so.0 + 0x33d66e)
                                                 #7  0x00007f7b0bce8531 g_object_run_dispose (libgobject-2.0.so.0 + 0x22531)
                                                 #8  0x00007f7b080cd683 n/a (libtasklist.so + 0xb683)
                                                 #9  0x00007f7b0bcd8ca6 g_cclosure_marshal_VOID__OBJECTv (libgobject-2.0.so.0 + 0x12ca6)
                                                 #10 0x00007f7b0bcf823c g_signal_emit_valist (libgobject-2.0.so.0 + 0x3223c)
                                                 #11 0x00007f7b0bcf8324 g_signal_emit (libgobject-2.0.so.0 + 0x32324)
                                                 #12 0x00007f7b0c9acb12 n/a (libwnck-3.so.0 + 0x18b12)
                                                 #13 0x00007f7b0c9ad888 n/a (libwnck-3.so.0 + 0x19888)
                                                 #14 0x00007f7b0bbd553b g_main_context_dispatch (libglib-2.0.so.0 + 0x5a53b)
                                                 #15 0x00007f7b0bc32219 n/a (libglib-2.0.so.0 + 0xb7219)
                                                 #16 0x00007f7b0bbd4c7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
                                                 #17 0x00007f7b0c3a9e4f gtk_main (libgtk-3.so.0 + 0x1d8e4f)
                                                 #18 0x000055d282367375 main (xfce4-panel + 0x12375)
                                                 #19 0x00007f7b0b78c790 n/a (libc.so.6 + 0x23790)
                                                 #20 0x00007f7b0b78c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                 #21 0x000055d2823678d5 _start (xfce4-panel + 0x128d5)
                                                 
                                                 Stack trace of thread 28022:
                                                 #0  0x00007f7b0b8639df __poll (libc.so.6 + 0xfa9df)
                                                 #1  0x00007f7b0bc3217f n/a (libglib-2.0.so.0 + 0xb717f)
                                                 #2  0x00007f7b0bbd41a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                                                 #3  0x00007f7b0bbd41f2 n/a (libglib-2.0.so.0 + 0x591f2)
                                                 #4  0x00007f7b0bc02315 n/a (libglib-2.0.so.0 + 0x87315)
                                                 #5  0x00007f7b0b7eebb5 n/a (libc.so.6 + 0x85bb5)
                                                 #6  0x00007f7b0b870d90 n/a (libc.so.6 + 0x107d90)
                                                 
                                                 Stack trace of thread 28023:
                                                 #0  0x00007f7b0b8639df __poll (libc.so.6 + 0xfa9df)
                                                 #1  0x00007f7b0bc3217f n/a (libglib-2.0.so.0 + 0xb717f)
                                                 #2  0x00007f7b0bbd4c7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
                                                 #3  0x00007f7b0be37d5c n/a (libgio-2.0.so.0 + 0x10ed5c)
                                                 #4  0x00007f7b0bc02315 n/a (libglib-2.0.so.0 + 0x87315)
                                                 #5  0x00007f7b0b7eebb5 n/a (libc.so.6 + 0x85bb5)
                                                 #6  0x00007f7b0b870d90 n/a (libc.so.6 + 0x107d90)
                                                 
                                                 Stack trace of thread 28021:
                                                 #0  0x00007f7b0b8690dd syscall (libc.so.6 + 0x1000dd)
                                                 #1  0x00007f7b0bc2b7b5 g_cond_wait (libglib-2.0.so.0 + 0xb07b5)
                                                 #2  0x00007f7b0bb9ffb4 n/a (libglib-2.0.so.0 + 0x24fb4)
                                                 #3  0x00007f7b0bc06f9e n/a (libglib-2.0.so.0 + 0x8bf9e)
                                                 #4  0x00007f7b0bc02315 n/a (libglib-2.0.so.0 + 0x87315)
                                                 #5  0x00007f7b0b7eebb5 n/a (libc.so.6 + 0x85bb5)
                                                 #6  0x00007f7b0b870d90 n/a (libc.so.6 + 0x107d90)
                                                 ELF object binary architecture: AMD x86-64

It happened several times. I have the relevant coredumps if needed. Let me know what are my next steps? I just wanted to let you know about this bug.
Thank you.

xfce4-panel -V:

xfce4-panel 4.18.2 (Xfce 4.18)

Offline

#2 2023-04-05 15:02:15

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

What is your distro? It would be nice if you could install a package containing the debug symbols for the panel to get a more complete backtrace, because unfortunately there are a lot of gtk_widget_get_visible() calls in tasklist.

Offline

#3 2023-04-05 15:09:49

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

It is Manjaro.

Offline

#4 2023-04-05 15:19:14

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

So there is some compatibility with Arch? Can you enable the extra-debug repository and install xfce4-panel-debug?

Offline

#5 2023-04-05 15:39:26

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

Correct. I'd like to help, but I am yet to find that "extra-debug" repository and the way it works with Manjaro.

Offline

#6 2023-04-05 15:46:13

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

On Arch you just have to uncomment [extra-debug] in /etc/pacman.conf and pacman -Syyu xfce4-panel-debug.

Offline

#7 2023-04-05 21:13:27

robson75
Member
From: Poland
Registered: 2023-03-30
Posts: 13

Re: xfce4-panel coredump

I'm using Arch and I don't have any issues with xfce4-panel, maybe just rebuilding it.

EDIT.

There is version 4.18.3 on Arch, download the package and install it with the command

pacman -U package_name

Last edited by robson75 (2023-04-05 21:29:29)


Arch Linux Xfce - 64Bit Linux User #621110 GitHub

Offline

#8 2023-04-06 09:26:09

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

robson75 wrote:

There is version 4.18.3 on Arch

Thanks! I've just updated this package along with the others from the official Manjaro repos (there was a huge pending update today).
Will be testing its behavior now.

Offline

#9 2023-04-06 09:35:41

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

Please install debug package if you can and get a proper backtrace, see https://wiki.archlinux.org/title/Core_d … _core_dump
I don't think that updating to 4.18.3 fixed the problem (or maybe the massive update fixed it by side effect).

Offline

#10 2023-04-06 12:06:28

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

Tamaranch wrote:

On Arch you just have to uncomment [extra-debug] in /etc/pacman.conf and pacman -Syyu xfce4-panel-debug.

This doesn't work for Manjaro. It says it cannot sync the repos.

Offline

#11 2023-04-06 13:28:26

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

Maybe you can try to install debuginfod and see if gdb downloads debug symbols automatically when examining the coredumd (see link above).
See also https://wiki.archlinux.org/title/Debugg … Debuginfod

Offline

#12 2023-04-06 17:13:49

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

thanks! I've got some progress now:

Core was generated by `xfce4-panel'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fd22f737706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
Downloading source file /usr/src/debug/gtk3/build/../gtk/gtk/gtkwidget.c
9126      g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);                                           
[Current thread is 1 (Thread 0x7fd22dac15c0 (LWP 1868))]
(gdb) backtrace
#0  0x00007fd22f737706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
#1  0x00007fd22daacd36 in xfce_tasklist_group_button_child_visible_changed (group_child=0x561f4413aad0)
    at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:4399
#2  0x00007fd22f06f210 in g_closure_invoke
    (closure=0x561f43fcd490, return_value=0x0, n_param_values=1, param_values=0x7fff475c1b30, invocation_hint=0x7fff475c1ab0)
    at ../glib/gobject/gclosure.c:832
#3  0x00007fd22f09d2f8 in signal_emit_unlocked_R.isra.0
    (node=node@entry=0x561f43f99fe0, detail=detail@entry=0, instance=instance@entry=0x561f440d64b0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff475c1b30) at ../glib/gobject/gsignal.c:3802
#4  0x00007fd22f08d095 in g_signal_emit_valist
    (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff475c1cd0)
    at ../glib/gobject/gsignal.c:3555
#5  0x00007fd22f08d324 in g_signal_emit (instance=instance@entry=0x561f440d64b0, signal_id=<optimized out>, detail=detail@entry=0)
    at ../glib/gobject/gsignal.c:3612
#6  0x00007fd22f73d66e in gtk_widget_dispose (object=0x561f440d64b0) at ../gtk/gtk/gtkwidget.c:12166
#7  0x00007fd22f07d531 in g_object_run_dispose (object=0x561f440d64b0) at ../glib/gobject/gobject.c:1448
#8  0x00007fd22f72d38a in gtk_widget_destroy (widget=<optimized out>) at ../gtk/gtk/gtkwidget.c:4780
#9  0x00007fd22daa8683 in xfce_tasklist_window_removed (screen=<optimized out>, window=0x561f444fddb0, tasklist=0x561f44038290)
    at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:1995
#10 0x00007fd22f06dca6 in g_cclosure_marshal_VOID__OBJECTv
    (closure=0x561f44042820, return_value=<optimized out>, instance=0x561f4410f0a0, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x561f4410fde0) at ../glib/gobject/gmarshal.c:1910
#11 0x00007fd22f08d23c in _g_closure_invoke_va
    (param_types=0x561f4410fde0, n_params=<optimized out>, args=0x7fff475c2000, instance=0x561f4410f0a0, return_value=0x0, closure=0x561f44042820) at ../glib/gobject/gclosure.c:895
#12 g_signal_emit_valist (instance=0x561f4410f0a0, signal_id=257, detail=<optimized out>, var_args=var_args@entry=0x7fff475c2000)
    at ../glib/gobject/gsignal.c:3462
#13 0x00007fd22f08d324 in g_signal_emit (instance=<optimized out>, signal_id=signal_id@entry=257, detail=detail@entry=0)
    at ../glib/gobject/gsignal.c:3612
#14 0x00007fd22fd4cb12 in emit_window_closed (window=0x561f444fddb0, screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:2218
#15 update_client_list (screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:1561
--Type <RET> for more, q to quit, c to continue without paging--c
#16 do_update_now (screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:2133
#17 0x00007fd22fd4d888 in update_idle (data=<optimized out>) at ../libwnck/libwnck/screen.c:2156
#18 0x00007fd22ef6a53b in g_main_dispatch (context=0x561f43f78b70) at ../glib/glib/gmain.c:3460
#19 g_main_context_dispatch (context=0x561f43f78b70) at ../glib/glib/gmain.c:4200
#20 0x00007fd22efc7219 in g_main_context_iterate.constprop.0 (context=0x561f43f78b70, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#21 0x00007fd22ef69c7f in g_main_loop_run (loop=0x561f44121080) at ../glib/glib/gmain.c:4479
#22 0x00007fd22f5d8e4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#23 0x0000561f427ff3a5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/panel/main.c:382
(gdb) p widget
$1 = 0x2b
(gdb) print widget
$2 = 0x2b
(gdb) 
$3 = 0x2b
(gdb) info locals
__inst = 0x2b
__t = <optimized out>
__r = <optimized out>
_g_boolean_var_ = <optimized out>
__func__ = "gtk_widget_get_visible"

if you want me to do something here in gdb, please guide me.

Last edited by varnie (2023-04-06 17:25:47)

Offline

#13 2023-04-06 17:25:56

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

Nice, it can be investigated properly now, even if I can't reproduce the crash.
The next step is to open a new bug on GitLab: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues
I can do that for you if you don't want to create an account etc. Thanks for reporting anyway smile

Offline

#14 2023-04-06 17:30:17

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

sure, please do it! I'll add there more details later if needed.

xfce4-panel -V:

xfce4-panel 4.18.3 (Xfce 4.18)

Last edited by varnie (2023-04-06 17:32:01)

Offline

#15 2023-04-06 17:39:12

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Offline

#16 2023-04-07 16:52:57

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

@varnie could you give the output of

xfconf-query -c xfce4-panel -lv | grep -Ef <(xfconf-query -c xfce4-panel -lv | awk '$2=="tasklist"{print "^" $1 "(/| )"}')

Also, according to the backtrace, the crash should occur when you close an app window.
* Does it happen with a particular application or with any application?
* Does it happen when you close the last app window (when the button is supposed to disappear from the tasklist), the second to last one (when the group button is supposed to change to a normal button) or any time?
* Any other particular sign to reproduce the problem?

Last edited by Tamaranch (2023-04-07 17:13:46)

Offline

#17 2023-04-07 19:29:24

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

Here's the output of your command:

/plugins/plugin-3                                    tasklist
/plugins/plugin-3/grouping                           true
/plugins/plugin-3/sort-order                         1

Right, it happens only when I close some app windows.
Some cases which I remember when it happened: closing of PyCharm IDE, lmms, Zoom.
I don't know about any particular signs of this bug, sorry.

Last edited by varnie (2023-04-07 19:52:40)

Offline

#18 2023-04-07 19:45:59

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

I have 3 apps opened: xfce4-terminal, Firefox and LMMS.
Here's how my taskbar looks for this setup: https://imgur.com/B7pOpEq
Now, If I were to close the LMMS app window, there is a big chance that a crash might occur. I experimented with this setup and got 3 crashes in a row!!!
But still, the crash is not 100% guaranteed to happen.

Interestingly, it doesn't happen if I try for example geany instead of LMMS in the scenario above.

update
Weird, Now I opened LMMS app only and it also led to crash when I closed it!

Last edited by varnie (2023-04-07 19:59:14)

Offline

#19 2023-04-08 09:15:14

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

I can't reproduce that at all. I tried to launch/close LMMS in a loop by a script, with or without another window open, with my current user and with a test user, without success.

I'm going to keep this tasklist configuration for a while anyway, maybe it will happen to me eventually.

Offline

#20 2023-04-08 15:14:54

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

@varnie could you try to reproduce the crash in gdb?
You would have to run

xfce4-panel -q; gdb -ex run -ex bt -ex q xfce4-panel

and post the complete output after the crash.

Offline

#21 2023-04-08 16:31:37

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

sure, but I don't think this helps:

[varnie@heimdal ~]$ xfce4-panel -q; gdb -ex run -ex bt -ex q xfce4-panel
GNU gdb (GDB) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from xfce4-panel...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) Y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for /usr/bin/xfce4-panel
                                                                                --Type <RET> for more, q to quit, c to continue without paging--
Reading symbols from /home/varnie/.cache/debuginfod_client/547c99c286e0cee22e79c12da9b1a8f0aae1d2ac/debuginfo...
Starting program: /usr/bin/xfce4-panel 
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc8000       
Downloading separate debug info for /usr/lib/libxfce4panel-2.0.so.4             
Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0                
Downloading separate debug info for /usr/lib/libxfce4ui-2.so.0                  
Downloading separate debug info for /usr/lib/libxfce4util.so.7                  
Downloading separate debug info for /usr/lib/libwnck-3.so.0                     
Downloading separate debug info for /usr/lib/libgtk-3.so.0                      
Downloading separate debug info for /usr/lib/libgdk-3.so.0                      
Downloading separate debug info for /usr/lib/libpango-1.0.so.0                  
Downloading separate debug info for /usr/lib/libatk-1.0.so.0                    
Downloading separate debug info for /usr/lib/libcairo.so.2                      
Downloading separate debug info for /usr/lib/libxfconf-0.so.3                   
Downloading separate debug info for /usr/lib/libgio-2.0.so.0                    
Downloading separate debug info for /usr/lib/libgobject-2.0.so.0                
Downloading separate debug info for /usr/lib/libglib-2.0.so.0                   
Downloading separate debug info for /usr/lib/libX11.so.6                        
Downloading separate debug info for /usr/lib/libm.so.6                          
Downloading separate debug info for /usr/lib/libc.so.6                          
[Thread debugging using libthread_db enabled]                                   
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Downloading separate debug info for /usr/lib/libz.so.1
Downloading separate debug info for /usr/lib/libpangocairo-1.0.so.0             
Downloading separate debug info for /usr/lib/libharfbuzz.so.0                   
Downloading separate debug info for /usr/lib/libcairo-gobject.so.2              
Downloading separate debug info for /usr/lib/libgdk_pixbuf-2.0.so.0             
Downloading separate debug info for /usr/lib/libSM.so.6                         
Downloading separate debug info for /usr/lib/libICE.so.6                        
Downloading separate debug info for /usr/lib/libstartup-notification-1.so.0     
Downloading separate debug info for /usr/lib/libXrender.so.1                    
Downloading separate debug info for /usr/lib/libXRes.so.1                       
Downloading separate debug info for /usr/lib/libpangoft2-1.0.so.0               
Downloading separate debug info for /usr/lib/libfontconfig.so.1                 
Downloading separate debug info for /usr/lib/libfribidi.so.0                    
Downloading separate debug info for /usr/lib/libepoxy.so.0                      
Downloading separate debug info for /usr/lib/libXi.so.6                         
Downloading separate debug info for /usr/lib/libatk-bridge-2.0.so.0             
Downloading separate debug info for /usr/lib/libcloudproviders.so.0             
Downloading separate debug info for /usr/lib/libtracker-sparql-3.0.so.0         
Downloading separate debug info for /usr/lib/libXfixes.so.3                     
Downloading separate debug info for /usr/lib/libxkbcommon.so.0                  
Downloading separate debug info for /usr/lib/libwayland-client.so.0             
Downloading separate debug info for /usr/lib/libwayland-cursor.so.0             
Downloading separate debug info for /usr/lib/libwayland-egl.so.1                
Downloading separate debug info for /usr/lib/libXext.so.6                       
Downloading separate debug info for /usr/lib/libXcursor.so.1                    
Downloading separate debug info for /usr/lib/libXdamage.so.1                    
Downloading separate debug info for /usr/lib/libXcomposite.so.1                 
Downloading separate debug info for /usr/lib/libXrandr.so.2                     
Downloading separate debug info for /usr/lib/libXinerama.so.1                   
Downloading separate debug info for /usr/lib/libthai.so.0                       
Downloading separate debug info for /usr/lib/libpng16.so.16                     
Downloading separate debug info for /usr/lib/libfreetype.so.6                   
Downloading separate debug info for /usr/lib/libxcb.so.1                        
Downloading separate debug info for /usr/lib/libxcb-render.so.0                 
Downloading separate debug info for /usr/lib/libxcb-shm.so.0                    
Downloading separate debug info for /usr/lib/libpixman-1.so.0                   
Downloading separate debug info for /usr/lib/libgthread-2.0.so.0                
Downloading separate debug info for /usr/lib/libffi.so.8                        
Downloading separate debug info for /usr/lib/libpcre2-8.so.0                    
Downloading separate debug info for /usr/lib/libgraphite2.so.3                  
Downloading separate debug info for /usr/lib/libjpeg.so.8                       
Downloading separate debug info for /usr/lib/libtiff.so.6                       
Downloading separate debug info for /usr/lib/libxcb-util.so.1                   
Downloading separate debug info for /usr/lib/libX11-xcb.so.1                    
Downloading separate debug info for /usr/lib/libexpat.so.1                      
Downloading separate debug info for /usr/lib/libatspi.so.0                      
Downloading separate debug info for /usr/lib/libdbus-1.so.3                     
Downloading separate debug info for /usr/lib/libjson-glib-1.0.so.0              
Downloading separate debug info for /usr/lib/libxml2.so.2                       
Downloading separate debug info for /usr/lib/libsqlite3.so.0                    
Downloading separate debug info for /usr/lib/libdatrie.so.1                     
Downloading separate debug info for /usr/lib/libbz2.so.1.0                      
Downloading separate debug info for /usr/lib/libbrotlidec.so.1                  
Downloading separate debug info for /usr/lib/libXau.so.6                        
Downloading separate debug info for /usr/lib/libXdmcp.so.6                      
Downloading separate debug info for /usr/lib/libzstd.so.1                       
Downloading separate debug info for /usr/lib/liblzma.so.5                       
Downloading separate debug info for /usr/lib/libsystemd.so.0                    
Downloading separate debug info for /usr/lib/libicuuc.so.72                     
Downloading separate debug info for /usr/lib/libbrotlicommon.so.1               
Downloading separate debug info for /usr/lib/libcap.so.2                        
Downloading separate debug info for /usr/lib/libgcrypt.so.20                    
Downloading separate debug info for /usr/lib/liblz4.so.1                        
Downloading separate debug info for /usr/lib/libicudata.so.72                   
Downloading separate debug info for /usr/lib/libgpg-error.so.0                  
--Type <RET> for more, q to quit, c to continue without paging--Downloading separate debug info for /usr/lib/gtk-3.0/modules/libxapp-gtk3-module.so
Downloading separate debug info for /usr/lib/libxapp.so.1                                                        
Downloading separate debug info for /usr/lib/libgnomekbdui.so.8                                                  
Downloading separate debug info for /usr/lib/libgnomekbd.so.8                                                    
Downloading separate debug info for /usr/lib/libxklavier.so.16                                                   
Downloading separate debug info for /usr/lib/libxkbfile.so.1                                                     
Downloading separate debug info for /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so                           
Downloading separate debug info for /usr/lib/libcanberra-gtk3.so.0                                               
Downloading separate debug info for /usr/lib/libcanberra.so.0                                                    
Downloading separate debug info for /usr/lib/libvorbisfile.so.3                                                  
Downloading separate debug info for /usr/lib/libtdb.so.1                                                         
Downloading separate debug info for /usr/lib/libltdl.so.7                                                        
Downloading separate debug info for /usr/lib/libvorbis.so.0                                                      
Downloading separate debug info for /usr/lib/libogg.so.0                                                         
Downloading separate debug info for /usr/lib/gio/modules/libgvfsdbus.so                                          
Downloading separate debug info for /usr/lib/gvfs/libgvfscommon.so                                               
[New Thread 0x7ffff31ff6c0 (LWP 3572)]                                                                           
[New Thread 0x7ffff29fe6c0 (LWP 3573)]
[New Thread 0x7ffff21fd6c0 (LWP 3574)]
[New Thread 0x7ffff19fc6c0 (LWP 3575)]
[Detaching after fork from child process 3576]
Downloading separate debug info for /usr/lib/xfce4/panel/plugins/libtasklist.so
Downloading separate debug info for /usr/lib/libexo-2.so.0                                                       
Downloading separate debug info for /usr/lib/xfce4/panel/plugins/libseparator.so                                 
Downloading separate debug info for /usr/lib/xfce4/panel/plugins/libshowdesktop.so                               
Downloading separate debug info for /usr/lib/xfce4/panel/plugins/libpager.so                                     
Downloading separate debug info for /usr/lib/xfce4/panel/plugins/liblauncher.so                                  
Downloading separate debug info for /usr/lib/libgarcon-gtk3-1.so.0                                               
Downloading separate debug info for /usr/lib/libgarcon-1.so.0                                                    
[Detaching after fork from child process 3581]                                                                   
[Detaching after fork from child process 3582]
[Detaching after fork from child process 3583]
[Detaching after fork from child process 3584]
[Detaching after fork from child process 3585]
[New Thread 0x7ffff11fb6c0 (LWP 3586)]
[New Thread 0x7ffff09026c0 (LWP 3593)]
[Thread 0x7ffff11fb6c0 (LWP 3586) exited]
[New Thread 0x7ffff11fb6c0 (LWP 3596)]
[New Thread 0x7fffdbfff6c0 (LWP 3598)]
[New Thread 0x7fffdb7fe6c0 (LWP 3599)]
[Thread 0x7ffff11fb6c0 (LWP 3596) exited]
[Thread 0x7ffff09026c0 (LWP 3593) exited]
[Thread 0x7fffdb7fe6c0 (LWP 3599) exited]
[Thread 0x7fffdbfff6c0 (LWP 3598) exited]
Downloading separate debug info for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Downloading separate debug info for /usr/lib/librsvg-2.so.2                                                      
Downloading separate debug info for /usr/lib/gconv/ISO8859-1.so                                                  
[New Thread 0x7fffdb7fe6c0 (LWP 3644)]                                                                           
[New Thread 0x7fffdbfff6c0 (LWP 3645)]
[Thread 0x7fffdb7fe6c0 (LWP 3644) exited]
[New Thread 0x7fffdb7fe6c0 (LWP 3646)]
[New Thread 0x7ffff09026c0 (LWP 3647)]
[Thread 0x7fffdb7fe6c0 (LWP 3646) exited]
[Thread 0x7fffdbfff6c0 (LWP 3645) exited]
[Thread 0x7ffff09026c0 (LWP 3647) exited]
[Thread 0x7ffff19fc6c0 (LWP 3575) exited]


*** WEAK-JACK: initializing
*** WEAK-JACK: OK. (0)
Notice: could not set realtime priority.
Cannot load library /usr/lib/lmms/libcarlapatchbay.so: (libcarlabase.so: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/lmms/libcarlabase.so: (libcarla_native-plugin.so: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/lmms/libcarlarack.so: (libcarlabase.so: cannot open shared object file: No such file or directory)
Connection established.

Stream successfully created


Thread 1 "xfce4-panel" received signal SIGSEGV, Segmentation fault.
0x00007ffff7937706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
Downloading source file /usr/src/debug/gtk3/build/../gtk/gtk/gtkwidget.c
9126      g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);                                                  
--Type <RET> for more, q to quit, c to continue without paging--
#0  0x00007ffff7937706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
#1  0x00007ffff5c80d36 in xfce_tasklist_group_button_child_visible_changed (group_child=0x5555558985d0)
    at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:4399
#2  0x00007ffff7243210 in g_closure_invoke
    (closure=0x5555558ab7c0, return_value=0x0, n_param_values=1, param_values=0x7fffffffd5b0, invocation_hint=0x7fffffffd530) at ../glib/gobject/gclosure.c:832
#3  0x00007ffff72712f8 in signal_emit_unlocked_R.isra.0
    (node=node@entry=0x555555634200, detail=detail@entry=0, instance=instance@entry=0x5555558a09c0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffd5b0)
    at ../glib/gobject/gsignal.c:3802
#4  0x00007ffff7261095 in g_signal_emit_valist
    (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd750) at ../glib/gobject/gsignal.c:3555
#5  0x00007ffff7261324 in g_signal_emit
    (instance=instance@entry=0x5555558a09c0, signal_id=<optimized out>, detail=detail@entry=0)
    at ../glib/gobject/gsignal.c:3612
#6  0x00007ffff793d66e in gtk_widget_dispose (object=0x5555558a09c0) at ../gtk/gtk/gtkwidget.c:12166
#7  0x00007ffff7251531 in g_object_run_dispose (object=0x5555558a09c0) at ../glib/gobject/gobject.c:1448
#8  0x00007ffff792d38a in gtk_widget_destroy (widget=<optimized out>) at ../gtk/gtk/gtkwidget.c:4780
#9  0x00007ffff5c7c683 in xfce_tasklist_window_removed
    (screen=<optimized out>, window=0x55555589d2e0, tasklist=0x5555557b2750)
    at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:1995
#10 0x00007ffff7241ca6 in g_cclosure_marshal_VOID__OBJECTv
    (closure=0x55555568c510, return_value=<optimized out>, instance=0x5555557a7910, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x55555579f360) at ../glib/gobject/gmarshal.c:1910
#11 0x00007ffff726123c in _g_closure_invoke_va
    (param_types=0x55555579f360, n_params=<optimized out>, args=0x7fffffffda80, instance=0x5555557a7910, return_value=0x0, closure=0x55555568c510) at ../glib/gobject/gclosure.c:895
#12 g_signal_emit_valist
--Type <RET> for more, q to quit, c to continue without paging--
    (instance=0x5555557a7910, signal_id=257, detail=<optimized out>, var_args=var_args@entry=0x7fffffffda80)
    at ../glib/gobject/gsignal.c:3462
#13 0x00007ffff7261324 in g_signal_emit
    (instance=<optimized out>, signal_id=signal_id@entry=257, detail=detail@entry=0)
    at ../glib/gobject/gsignal.c:3612
#14 0x00007ffff7f20b12 in emit_window_closed (window=0x55555589d2e0, screen=0x5555557a7910)
    at ../libwnck/libwnck/screen.c:2218
#15 update_client_list (screen=0x5555557a7910) at ../libwnck/libwnck/screen.c:1561
#16 do_update_now (screen=0x5555557a7910) at ../libwnck/libwnck/screen.c:2133
#17 0x00007ffff7f21888 in update_idle (data=<optimized out>) at ../libwnck/libwnck/screen.c:2156
#18 0x00007ffff713e53b in g_main_dispatch (context=0x555555613b50) at ../glib/glib/gmain.c:3460
#19 g_main_context_dispatch (context=0x555555613b50) at ../glib/glib/gmain.c:4200
#20 0x00007ffff719b219 in g_main_context_iterate.constprop.0
    (context=0x555555613b50, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#21 0x00007ffff713dc7f in g_main_loop_run (loop=0x5555557cfd80) at ../glib/glib/gmain.c:4479
#22 0x00007ffff77d8e4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#23 0x00005555555663a5 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/panel/main.c:382
A debugging session is active.

	Inferior 1 [process 3436] will be killed.

Quit anyway? (y or n) y

(wrapper-2.0:3583): GLib-GObject-CRITICAL **: 21:32:17.945: ../glib/gobject/gsignal.c:2778: instance '0x555555675c00' has no handler with id '63'

(wrapper-2.0:3576): GLib-GObject-CRITICAL **: 21:32:17.946: ../glib/gobject/gsignal.c:2778: instance '0x55555566f4b0' has no handler with id '63'

(wrapper-2.0:3585): GLib-GObject-CRITICAL **: 21:32:17.948: ../glib/gobject/gsignal.c:2778: instance '0x55555566d970' has no handler with id '61'

(wrapper-2.0:3584): GLib-GObject-CRITICAL **: 21:32:17.948: ../glib/gobject/gsignal.c:2778: instance '0x5555556990f0' has no handler with id '59'

(wrapper-2.0:3581): GLib-GObject-CRITICAL **: 21:32:17.975: ../glib/gobject/gsignal.c:2778: instance '0x555555669dc0' has no handler with id '60'

Last edited by varnie (2023-04-08 16:32:33)

Offline

#22 2023-04-08 17:09:46

varnie
Member
Registered: 2023-03-30
Posts: 34

Re: xfce4-panel coredump

just FYI - I've found one more relatively recent coredumps of xfce-panel.

Mar 31 23:59:50 heimdal systemd-coredump[9810]: [?] Process 5717 (xfce4-panel) of user 1001 dumped core.
                                                
                                                Stack trace of thread 5717:
                                                #0  0x00007f3f5bf8b15d wnck_window_set_icon_geometry (libwnck-3.so.0 + 0x2715d)
                                                #1  0x00007f3f5769bb56 n/a (libtasklist.so + 0x9b56)
                                                #2  0x00007f3f5b1a553b g_main_context_dispatch (libglib-2.0.so.0 + 0x5a53b)
                                                #3  0x00007f3f5b202219 n/a (libglib-2.0.so.0 + 0xb7219)
                                                #4  0x00007f3f5b1a4c7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
                                                #5  0x00007f3f5b979e4f gtk_main (libgtk-3.so.0 + 0x1d8e4f)
                                                #6  0x000055f1e90ba375 main (xfce4-panel + 0x12375)
                                                #7  0x00007f3f5ad5c790 n/a (libc.so.6 + 0x23790)
                                                #8  0x00007f3f5ad5c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                #9  0x000055f1e90ba8d5 _start (xfce4-panel + 0x128d5)
                                                
                                                Stack trace of thread 5718:
                                                #0  0x00007f3f5ae390dd syscall (libc.so.6 + 0x1000dd)
                                                #1  0x00007f3f5b1fb7b5 g_cond_wait (libglib-2.0.so.0 + 0xb07b5)
                                                #2  0x00007f3f5b16ffb4 n/a (libglib-2.0.so.0 + 0x24fb4)
                                                #3  0x00007f3f5b1d6f9e n/a (libglib-2.0.so.0 + 0x8bf9e)
                                                #4  0x00007f3f5b1d2315 n/a (libglib-2.0.so.0 + 0x87315)
                                                #5  0x00007f3f5adbebb5 n/a (libc.so.6 + 0x85bb5)
                                                #6  0x00007f3f5ae40d90 n/a (libc.so.6 + 0x107d90)
                                                
                                                Stack trace of thread 5720:
                                                #0  0x00007f3f5ae339df __poll (libc.so.6 + 0xfa9df)
                                                #1  0x00007f3f5b20217f n/a (libglib-2.0.so.0 + 0xb717f)
                                                #2  0x00007f3f5b1a4c7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
                                                #3  0x00007f3f5b407d5c n/a (libgio-2.0.so.0 + 0x10ed5c)
                                                #4  0x00007f3f5b1d2315 n/a (libglib-2.0.so.0 + 0x87315)
                                                #5  0x00007f3f5adbebb5 n/a (libc.so.6 + 0x85bb5)
                                                #6  0x00007f3f5ae40d90 n/a (libc.so.6 + 0x107d90)
                                                
                                                Stack trace of thread 6831:
                                                #0  0x00007f3f5ae339df __poll (libc.so.6 + 0xfa9df)
                                                #1  0x00007f3f5b20217f n/a (libglib-2.0.so.0 + 0xb717f)
                                                #2  0x00007f3f5b1a41a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                                                #3  0x00007f3f3f5e1fde n/a (libdconfsettings.so + 0x5fde)
                                                #4  0x00007f3f5b1d2315 n/a (libglib-2.0.so.0 + 0x87315)
                                                #5  0x00007f3f5adbebb5 n/a (libc.so.6 + 0x85bb5)
                                                #6  0x00007f3f5ae40d90 n/a (libc.so.6 + 0x107d90)
                                                
                                                Stack trace of thread 5719:
                                                #0  0x00007f3f5ae339df __poll (libc.so.6 + 0xfa9df)
                                                #1  0x00007f3f5b20217f n/a (libglib-2.0.so.0 + 0xb717f)
                                                #2  0x00007f3f5b1a41a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                                                #3  0x00007f3f5b1a41f2 n/a (libglib-2.0.so.0 + 0x591f2)
                                                #4  0x00007f3f5b1d2315 n/a (libglib-2.0.so.0 + 0x87315)
                                                #5  0x00007f3f5adbebb5 n/a (libc.so.6 + 0x85bb5)
                                                #6  0x00007f3f5ae40d90 n/a (libc.so.6 + 0x107d90)
                                                ELF object binary architecture: AMD x86-64

, but this has happened one time only. I cannot properly debug it, because there's no coredump, sorry. I will keep an eye on it.

Offline

#23 2023-04-08 17:36:47

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

> sure, but I don't think this helps:

No it doesn't bring anything more indeed, but it was to try.

I do understand what happens "on the surface": child->button becomes dangling for you after calling gtk_widget_destroy(), and that makes the value of this saved pointer change to 0x2b (it doesn't do it on all systems but on yours). From then on, this pointer comparison fails, the closed window is not removed from the list and when testing the visibility of child->button it crashes.

What I don't understand is: why is child->button dangling after calling gtk_widget_destroy()? It shouldn't. A reference is kept in GLib so that this is not the case.

Maybe it's a side effect of memory corruption elsewhere, but that's going to be hard to find. Feel free to provide detailed backtraces of other crashes like the one on March 31 above in the future, that can always help.

Offline

#24 2023-04-08 18:04:08

Tamaranch
Member
Registered: 2020-12-31
Posts: 271

Re: xfce4-panel coredump

@varnie could you also give your full panel config please:

xfconf-query -c xfce4-panel -lv

Offline

#25 2023-04-09 10:50:22

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,025

Re: xfce4-panel coredump

Here is another report with a similar backtrace. Downgrading libwnck3 solved it over there.

Note: I can't replicate this issue either and I'm also using Arch and libwnck3, 43.0-3


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB