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
gdb backtrace: http://pastie.org/10079940
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); } }
Thanks for the bug report and patch. Verified and committed here: https://git.xfce.org/xfce/xfce4-settings/commit/?id=90c3f40da0ae66f0c532d788249b77b68241e1c0