Bug 21815 - xfce4-session-settings segfaults when trying to add autostart entry
Summary: xfce4-session-settings segfaults when trying to add autostart entry
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-07 14:20 CEST by Josua Dietze
Modified: 2017-10-08 15:52 CEST (History)
1 user (show)

See Also:
Source RPM: xfce4-session-4.13.0-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Josua Dietze 2017-10-07 14:20:38 CEST
Description of problem:
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]


Version-Release number of selected component (if applicable):
Current Cauldron version, all updates. The program is linked against libgtk-3, version 3.22.24-1.mga7


How reproducible:
Every time.


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


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 causes the crash is
gtk_grid_attach (GTK_GRID (grid), dialog->name_entry, 1, 0, 1, 1);
Marja Van Waes 2017-10-07 16:11:26 CEST

Assignee: bugsquad => jani.valimaa
CC: (none) => marja11

Comment 1 Jani Välimaa 2017-10-08 10:18:59 CEST
Can you report this directly to upstream?
Comment 2 Josua Dietze 2017-10-08 10:20:34 CEST
Sure, will do.
Comment 3 Josua Dietze 2017-10-08 10:50:54 CEST
Reported to upstream:

https://bugzilla.xfce.org/show_bug.cgi?id=13907
Comment 4 Jani Välimaa 2017-10-08 10:58:20 CEST
Thx, I will CC to it.

See Also: (none) => https://bugzilla.xfce.org/show_bug.cgi?id=13907

Comment 5 Jani Välimaa 2017-10-08 12:35:22 CEST
Digged this a bit more and it seems like this is same as:

https://bugzilla.xfce.org/show_bug.cgi?id=13271

Added 2 patches to -2.mga7 from upstream GIT that hopefully fixes the issue.

http://svnweb.mageia.org/packages?view=revision&revision=1170145
Jani Välimaa 2017-10-08 12:35:42 CEST

See Also: (none) => https://bugzilla.xfce.org/show_bug.cgi?id=13271

Comment 6 Jani Välimaa 2017-10-08 12:37:09 CEST
D'oh! I bumped rel twice locally before committing, so the fixed should be -3.mga7.
Comment 7 Josua Dietze 2017-10-08 12:41:25 CEST
Shoot! I have done an extensive bug search upstream before filing the report. Must have overlooked that one. Oh well, several bytes wasted.
Comment 8 Jani Välimaa 2017-10-08 15:52:08 CEST
I'm closing this as FIXED. Feel free to re-open if needed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.