! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crash with action buttons upon second settings change
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Action Buttons

Comments

Description Ali Akcaagac 2017-11-07 14:40:42 CET
1) Go to any panel
2) Go to add new panel item
3) Add "Action Buttons"
4) Open "Action Buttons" properties
5) Click on any checkbox (mark or unmark) inside the actions area -> *crash*

-bash-4.4$ coredumpctl gdb 20283
           PID: 20283 (panel-21-action)
           UID: 1000 (aakcaagac)
           GID: 1000 (aakcaagac)
        Signal: 11 (SEGV)
     Timestamp: Tue 2017-11-07 14:27:38 CET (10min ago)
  Command Line: /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libactions.so 21 14718108 actions Action Buttons Log out, lock or other system actions
    Executable: /usr/lib64/xfce4/panel/wrapper-2.0
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (aakcaagac)
       Boot ID: 85eec05de016427f81421200c6dc297b
    Machine ID: b3c2075daed546b285cdceb12a9b9c0e
      Hostname: localhost.localdomain
       Storage: /var/lib/systemd/coredump/core.panel-21-action.1000.85eec05de016427f81421200c6dc297b.20283.1510061258000000.lz4
       Message: Process 20283 (panel-21-action) of user 1000 dumped core.
                
                Stack trace of thread 20283:
                #0  0x00007ff4b8d351ef g_type_check_value (libgobject-2.0.so.0)
                #1  0x00007ff4b8d37486 g_value_unset (libgobject-2.0.so.0)
                #2  0x00007ff4af8de1c9 xfonf_free_array_elem_val (libxfconf-0.so.3)
                #3  0x00007ff4b85f86eb g_ptr_array_foreach (libglib-2.0.so.0)
                #4  0x00007ff4b85f8780 ptr_array_free (libglib-2.0.so.0)
                #5  0x00007ff4afd03998 actions_plugin_configure_store (libactions.so)
                #6  0x00007ff4afd03b31 actions_plugin_configure_visible_toggled (libactions.so)
                #7  0x00007ff4b8d11c91 g_cclosure_marshal_VOID__STRINGv (libgobject-2.0.so.0)
                #8  0x00007ff4b8d0f546 _g_closure_invoke_va (libgobject-2.0.so.0)
                #9  0x00007ff4b8d2a484 g_signal_emit_valist (libgobject-2.0.so.0)
                #10 0x00007ff4b8d2aaff g_signal_emit (libgobject-2.0.so.0)
                #11 0x00007ff4b9c7bcf1 gtk_cell_renderer_toggle_activate (libgtk-3.so.0)
                #12 0x00007ff4b9c685ea gtk_cell_area_activate_cell (libgtk-3.so.0)
                #13 0x00007ff4b9c68a9d gtk_cell_area_real_event (libgtk-3.so.0)
                #14 0x00007ff4b9e99764 gtk_tree_view_multipress_gesture_pressed (libgtk-3.so.0)
                #15 0x00007ff4b3265bde ffi_call_unix64 (libffi.so.6)
                #16 0x00007ff4b326554f ffi_call (libffi.so.6)
                #17 0x00007ff4b8d0fefd g_cclosure_marshal_generic_va (libgobject-2.0.so.0)
                #18 0x00007ff4b8d0f546 _g_closure_invoke_va (libgobject-2.0.so.0)
                #19 0x00007ff4b8d2a484 g_signal_emit_valist (libgobject-2.0.so.0)
                #20 0x00007ff4b8d2aaff g_signal_emit (libgobject-2.0.so.0)
                #21 0x00007ff4b9d17cec gtk_gesture_multi_press_begin (libgtk-3.so.0)
                #22 0x00007ff4b8d11fd8 g_cclosure_marshal_VOID__BOXEDv (libgobject-2.0.so.0)
                #23 0x00007ff4b8d0f546 _g_closure_invoke_va (libgobject-2.0.so.0)
                #24 0x00007ff4b8d2a484 g_signal_emit_valist (libgobject-2.0.so.0)
                #25 0x00007ff4b8d2aaff g_signal_emit (libgobject-2.0.so.0)
                #26 0x00007ff4b9d14c0e _gtk_gesture_check_recognized (libgtk-3.so.0)
                #27 0x00007ff4b9d1616b gtk_gesture_handle_event (libgtk-3.so.0)
                #28 0x00007ff4b9d18ece gtk_gesture_single_handle_event (libgtk-3.so.0)
                #29 0x00007ff4b9ce60e1 gtk_event_controller_handle_event (libgtk-3.so.0)
                #30 0x00007ff4b9ea9c9b _gtk_widget_run_controllers (libgtk-3.so.0)
                #31 0x00007ff4b9d612bb _gtk_marshal_BOOLEAN__BOXED (libgtk-3.so.0)
                #32 0x00007ff4b8d0f30d g_closure_invoke (libgobject-2.0.so.0)
                #33 0x00007ff4b8d213c0 signal_emit_unlocked_R (libgobject-2.0.so.0)
                #34 0x00007ff4b8d29b2f g_signal_emit_valist (libgobject-2.0.so.0)
                #35 0x00007ff4b8d2aaff g_signal_emit (libgobject-2.0.so.0)
                #36 0x00007ff4b9eabf24 gtk_widget_event_internal (libgtk-3.so.0)
                #37 0x00007ff4b9d5e28e propagate_event (libgtk-3.so.0)
                #38 0x00007ff4b9d603b0 gtk_main_do_event (libgtk-3.so.0)
                #39 0x00007ff4b9871685 _gdk_event_emit (libgdk-3.so.0)
                #40 0x00007ff4b98a2bb2 gdk_event_source_dispatch (libgdk-3.so.0)
                #41 0x00007ff4b8624257 g_main_context_dispatch (libglib-2.0.so.0)
                #42 0x00007ff4b86245f8 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #43 0x00007ff4b8624912 g_main_loop_run (libglib-2.0.so.0)
                #44 0x00007ff4b9d5f4e5 gtk_main (libgtk-3.so.0)
                #45 0x0000557d0003b0bc main (wrapper-2.0)
                #46 0x00007ff4b800688a __libc_start_main (libc.so.6)
                #47 0x0000557d0003b1fa _start (wrapper-2.0)
                
                Stack trace of thread 20284:
                #0  0x00007ff4b80ead2d poll (libc.so.6)
                #1  0x00007ff4b8624579 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #2  0x00007ff4b862468c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007ff4b86246d1 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007ff4b864b516 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007ff4b83c236d start_thread (libpthread.so.0)
                #6  0x00007ff4b80f6e1f __clone (libc.so.6)
                
                Stack trace of thread 20285:
                #0  0x00007ff4b80ead2d poll (libc.so.6)
                #1  0x00007ff4b8624579 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #2  0x00007ff4b8624912 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007ff4b901cdb6 gdbus_shared_thread_func (libgio-2.0.so.0)
                #4  0x00007ff4b864b516 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007ff4b83c236d start_thread (libpthread.so.0)
                #6  0x00007ff4b80f6e1f __clone (libc.so.6)

GNU gdb (GDB) Fedora 8.0.1-30.fc26
Copyright (C) 2017 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /usr/lib64/xfce4/panel/wrapper-2.0...

Missing separate debuginfo for /usr/lib64/xfce4/panel/wrapper-2.0
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/8a/cbd57c22a515ef1c20e13a6a5a13a43d2e49b1.debug
Reading symbols from /usr/lib64/xfce4/panel/wrapper-2.0...(no debugging symbols found)...done.
(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 20283]
[New LWP 20284]
[New LWP 20285]

Missing separate debuginfo for /lib64/libxfce4ui-2.so.0
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/db/effd43b7e785985cc68e6da6f9cfc3823c53b4.debug
Core was generated by `/usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libactions.so'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff4b8d351ef in g_type_check_value () from /lib64/libgobject-2.0.so.0
[Current thread is 1 (Thread 0x7ff4ba7c0f00 (LWP 20283))]
Missing separate debuginfos, use: dnf debuginfo-install at-spi2-atk-2.24.1-1.fc26.x86_64 at-spi2-core-2.24.1-1.fc26.x86_64 atk-2.24.0-1.fc26.x86_64 bzip2-libs-1.0.6-22.fc26.x86_64 cairo-1.14.10-1.fc26.x86_64 cairo-gobject-1.14.10-1.fc26.x86_64 dbus-libs-1.11.18-1.fc26.x86_64 dconf-0.26.0-2.fc26.x86_64 expat-2.2.4-1.fc26.x86_64 fontconfig-2.12.6-3.fc26.x86_64 freetype-2.7.1-9.fc26.x86_64 gdk-pixbuf2-2.36.9-1.fc26.x86_64 glib2-2.52.3-2.fc26.x86_64 glibc-2.25-12.fc26.x86_64 graphite2-1.3.10-1.fc26.x86_64 gtk3-3.22.21-2.fc26.x86_64 gvfs-client-1.32.1-2.fc26.x86_64 harfbuzz-1.4.4-1.fc26.x86_64 libICE-1.0.9-9.fc26.x86_64 libSM-1.2.2-5.fc26.x86_64 libX11-1.6.5-2.fc26.x86_64 libXau-1.0.8-7.fc26.x86_64 libXcomposite-0.4.4-9.fc26.x86_64 libXcursor-1.1.14-8.fc26.x86_64 libXdamage-1.1.4-9.fc26.x86_64 libXext-1.3.3-5.fc26.x86_64 libXfixes-5.0.3-2.fc26.x86_64 libXi-1.7.9-2.fc26.x86_64 libXinerama-1.1.3-7.fc26.x86_64 libXrandr-1.5.1-2.fc26.x86_64 libXrender-0.9.10-2.fc26.x86_64 libblkid-2.30.2-1.fc26.x86_64 libcap-2.25-5.fc26.x86_64 libcroco-0.6.12-1.fc26.x86_64 libdatrie-0.2.9-4.fc26.x86_64 libepoxy-1.4.3-1.fc26.x86_64 libffi-3.1-12.fc26.x86_64 libgcc-7.2.1-2.fc26.x86_64 libgcrypt-1.7.9-1.fc26.x86_64 libglvnd-0.2.999-24.20170818git8d4d03f.fc26.x86_64 libglvnd-egl-0.2.999-24.20170818git8d4d03f.fc26.x86_64 libglvnd-glx-0.2.999-24.20170818git8d4d03f.fc26.x86_64 libgpg-error-1.25-2.fc26.x86_64 libmodman-2.0.1-13.fc26.x86_64 libmount-2.30.2-1.fc26.x86_64 libpng-1.6.28-2.fc26.x86_64 libproxy-0.4.15-2.fc26.x86_64 librsvg2-2.40.18-1.fc26.x86_64 libselinux-2.6-7.fc26.x86_64 libstdc++-7.2.1-2.fc26.x86_64 libthai-0.1.25-2.fc26.x86_64 libuuid-2.30.2-1.fc26.x86_64 libwayland-client-1.13.0-1.fc26.x86_64 libwayland-cursor-1.13.0-1.fc26.x86_64 libxcb-1.12-3.fc26.x86_64 libxkbcommon-0.7.1-3.fc26.x86_64 libxml2-2.9.4-2.fc26.x86_64 lz4-libs-1.8.0-1.fc26.x86_64 mesa-libwayland-egl-17.2.2-2.fc26.x86_64 pango-1.40.12-1.fc26.x86_64 pcre-8.41-3.fc26.x86_64 pixman-0.34.0-3.fc26.x86_64 startup-notification-0.12-12.fc26.x86_64 systemd-libs-233-7.fc26.x86_64 xcb-util-0.4.0-6.fc26.x86_64 xz-libs-5.2.3-2.fc26.x86_64 zlib-1.2.11-2.fc26.x86_64
(gdb) bt full
#0  0x00007ff4b8d351ef in g_type_check_value () at /lib64/libgobject-2.0.so.0
#1  0x00007ff4b8d37486 in g_value_unset () at /lib64/libgobject-2.0.so.0
#2  0x00007ff4af8de1c9 in xfonf_free_array_elem_val (data=0x557d00ae4c00)
    at xfconf-gvaluefuncs.c:580
        val = 0x557d00ae4c00
#3  0x00007ff4b85f86eb in g_ptr_array_foreach () at /lib64/libglib-2.0.so.0
#4  0x00007ff4b85f8780 in ptr_array_free () at /lib64/libglib-2.0.so.0
#5  0x00007ff4afd03998 in actions_plugin_configure_store ()
    at /usr/lib64/xfce4/panel/plugins/libactions.so
#6  0x00007ff4afd03b31 in actions_plugin_size_changed ()
    at /usr/lib64/xfce4/panel/plugins/libactions.so
#7  0x0000000000000000 in  ()
(gdb)
Comment 1 Simon Steinbeiss editbugs 2017-11-11 00:48:49 CET
Strange, can't reproduce. What panel version and what distribution/version?
Comment 2 Ali Akcaagac 2017-11-11 07:41:51 CET
Fedora 26

And the panel version was compiled from GIT Master the same day as the bugreport was opened. I also saw this issue in earlier compiles from GIT Master (right after the gdbus port).
Comment 3 Simon Steinbeiss editbugs 2017-11-11 21:01:13 CET
Ok.
Can you still reproduce the issue with the panel from git master (or 4.13.1) with Fedora 26?
Comment 4 Ali Akcaagac 2017-11-11 21:45:45 CET
I have everything till here:
Only missing the fix alignment of labels patch from the last 48 hrs:

https://git.xfce.org/xfce/xfce4-panel/commit/?id=6345387b168fd25240b1d025e277fb0ea4c7131e

So the answer is "yes"... Reproducable every time... and only the actions buttons plugin is affected. All other plugins that deals with checkboxes and were bundled with the panel works.

xfconf is from Git as well same day of checkout... So quite recent...
Comment 5 Simon Steinbeiss editbugs 2017-11-11 22:03:55 CET
Ok thanks, I just noticed that I can reproduce.
Comment 6 Git Bot editbugs 2017-11-12 00:12:08 CET
Simon Steinbeiss referenced this bugreport in commit 7b6f620942f95ce636184006eebd8486c8b690ed

actions: Fix GPtrArray usage (Bug #13981)

https://git.xfce.org/xfce/xfce4-panel/commit?id=7b6f620942f95ce636184006eebd8486c8b690ed
Comment 7 Simon Steinbeiss editbugs 2017-11-12 00:12:34 CET
Should be fixed now. Thanks for reporting!

Bug #13981

Reported by:
Ali Akcaagac
Reported on: 2017-11-07
Last modified on: 2017-11-12

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
4.13.1

Attachments

Additional information