! 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 !
xfce4-session-settings segfaults when trying to add autostart entry
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-session
Component:
General

Comments

Description digidietze@draisberghof.de 2017-10-08 10:48:16 CEST
Crash in xfce4-session-settings, when clicking "Add" on tab "Application Autostart"

Gtk message before crash:
Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed

Kernel message:
segfault at 0 ip 000000000040da7c sp 00007ffccbcdb720 error 4 in xfce4-session-settings[400000+26000]


My system is Mageia Cauldron. The program is linked against libgtk-3, version 3.22.24-1.mga7.
I'm not familiar with Gtk, else I could probably have created a fix myself.
However, I can test any patches immediately.


The affecting file in the source tree is "settings/xfae-dialog.c".
The crash happens in function "xfae_dialog_init".

The exact line (103) that's causing the crash is:

gtk_grid_attach (GTK_GRID (grid), dialog->name_entry, 1, 0, 1, 1);


How reproducible:
Every time.


Steps to Reproduce:
1. Run xfce4-session-setting
2. Change to tab "Application Autostart"
3. Click button "Add"


Reference:
https://bugs.mageia.org/show_bug.cgi?id=21815
Comment 1 ToZ editbugs 2017-10-08 12:41:38 CEST
This is a duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=13271 that was fixed in the git tree with this commit: https://git.xfce.org/xfce/xfce4-session/commit/?id=193b09a9c159d1d16ad69e4298f48c2b531e9392.
Comment 2 digidietze@draisberghof.de 2017-10-08 12:43:11 CEST
Sorry, must have overlooked it when I searched for similar bugs!
Comment 3 Skunnyk editbugs 2017-12-17 23:32:39 CET

*** This bug has been marked as a duplicate of bug 13271 ***

Bug #13907

Reported by:
digidietze@draisberghof.de
Reported on: 2017-10-08
Last modified on: 2017-12-17

People

Assignee:
Xfce Bug Triage
CC List:
5 users

Version

Version:
4.13.0

Attachments

Additional information