! 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-appearance-settings crash
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-settings
Component:
Appearance Settings

Comments

Description qwertyone 2015-03-22 17:35:01 CET
After upgrading system to XFCE 4.12 xfce4-appearance-settings crashes.
Here is terminal dump:
[code]
(xfce4-appearance-settings:8684): GLib-ERROR **: /build/buildd/glib2.0-2.40.2/./glib/gmem.c:133: failed to allocate 2048 bytes
Trace/breakpoint trap (core dumped)
[/code]

My system:
 System: Linux Mint 17 Qiana xfce4.12
 Kernel: i686 Linux 3.13.0-24-generic
 CPU: Intel Atom CPU N450 @ 1.667GHz
 Video driver: Kernel driver i915
 Graphic processor: VGA compatible Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
 X.Org X Server 1.15.1
 libglib2.0-0  2.40.2-0ubuntu1

Last installed packages during upgrade: http://pastie.org/10045488
Comment 1 qwertyone 2015-04-08 12:03:59 CEST
gdb backtrace: http://pastie.org/10079940
Comment 2 LOR-superuser 2015-09-27 14:34:14 CEST
Hi all. I resolve this bug. There is a memory leak. 
Patch: 

diff -Naur ./xfce4-settings-4.12.0-original/dialogs/appearance-settings/main.c ./xfce4-settings-4.12.0/dialogs/appearance-settings/main.c
--- ./xfce4-settings-4.12.0-original/dialogs/appearance-settings/main.c	2015-02-26 14:47:26.000000000 +0300
+++ ./xfce4-settings-4.12.0/dialogs/appearance-settings/main.c	2015-09-27 01:09:04.134553744 +0300
@@ -775,6 +775,7 @@
                         gtk_tree_path_free (tree_path);
                     }
 
+                    g_object_unref (icon_theme);
                     g_object_unref (preview);
                 }
             }
Comment 3 Sean Davis editbugs 2016-08-13 14:45:57 CEST
Thanks for the bug report and patch. Verified and committed here: https://git.xfce.org/xfce/xfce4-settings/commit/?id=90c3f40da0ae66f0c532d788249b77b68241e1c0

Bug #11746

Reported by:
qwertyone
Reported on: 2015-03-22
Last modified on: 2016-08-13

People

Assignee:
Nick Schermer
CC List:
6 users

Version

Version:
4.12.0

Attachments

Additional information