! 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 !
exo-helper-1 segfaults on g_signal_emit_by_name
Status:
RESOLVED: FIXED

Comments

Description Igor editbugs 2017-02-22 15:26:44 CET
The segfault happens on this string: https://git.xfce.org/xfce/exo/tree/exo-helper/exo-helper-chooser.c#n791
During adopting exo to gtk3, a deprecated gtk_button_released() call was replaced with g_signal_emit_by_name() - but it lacks required "event" argument which makes gtk crash.
Proposed solution is to revert this change and restore gtk_button_released(); or maybe it would be fine without this call at call.

Feb 22 16:22:39 kernel: exo-helper-1[4373]: segfault at ffffffff ip 00007f8bea814082 sp 00007ffed4f53590 error 4 in libgtk-3.so.0.2200.8[7f8bea49a000+6fa000]
Feb 22 16:22:39 systemd[1]: Started Process Core Dump (PID 4376/UID 0).
Feb 22 16:22:40 systemd-coredump[4377]: Process 4373 (exo-helper-1) of user 1000 dumped core.
                                        
                                        Stack trace of thread 4373:
                                        #0  0x00007f8bea814082 n/a (libgtk-3.so.0)
                                        #1  0x00007f8bea6c9a81 n/a (libgtk-3.so.0)
                                        #2  0x00007f8be98c91a4 n/a (libgobject-2.0.so.0)
                                        #3  0x00007f8be98e3391 g_signal_emit_valist (libgobject-2.0.so.0)
                                        #4  0x00007f8be98e445b g_signal_emit_by_name (libgobject-2.0.so.0)
                                        #5  0x0000000000408b3f exo_helper_chooser_pressed (exo-helper-1)
Comment 1 Sean Davis editbugs 2017-03-02 05:22:55 CET
This commit seems to resolve the issue for me. Please confirm if this also resolves for you.

https://git.xfce.org/xfce/exo/commit/?id=4f3674e0ec5cb16cb0835191cb8f320e7fd220dd
Comment 2 Igor editbugs 2017-03-02 07:49:45 CET
Yep, seems to work fine, thanks.

Bug #13374

Reported by:
Igor
Reported on: 2017-02-22
Last modified on: 2017-03-02

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information