[Pkg-kde-extras] Bug#612895: gtk2-engines-qtcurve: Evolution segfaults when using qtcurve style for GTK-apps in KDE

Kristian Grønfeldt Sørensen ksorensen at nordija.com
Fri Feb 11 11:50:35 UTC 2011


Package: gtk2-engines-qtcurve
Version: 1.8.5-1
Severity: important

When starting evolution using the qtcurve  GTK style (from system-settings ->
Appearance -> "GTK Styles and Fonts") it keeps segfault'ing

Below is a backtrace from gdb showing that libqtcurve seems to be the culprit:

#0  0x00007fffe4f6307a in qtcDefaultSettings () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#1  0x00007fffe4f62f7c in qtcReadConfig () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#2  0x00007fffe4f5f1e6 in qtcReadConfig () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#3  0x00007fffe4f2bc87 in qtSettingsInit () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#4  0x00007fffe4f262cb in ?? () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#5  0x00007fffeefc5b18 in g_type_create_instance (type=<value optimized out>)
at /tmp/buildd/glib2.0-2.28.0/./gobject/gtype.c:1889
#6  0x00007fffeefa93e9 in g_object_constructor (type=140736639143160,
n_construct_properties=0, construct_params=0x61) at
/tmp/buildd/glib2.0-2.28.0/./gobject/gobject.c:1615
#7  0x00007fffeefa7d2a in g_object_newv (object_type=<value optimized out>,
n_parameters=0, parameters=0x0) at
/tmp/buildd/glib2.0-2.28.0/./gobject/gobject.c:1398
#8  0x00007fffeefa850c in g_object_new (object_type=6657136,
first_property_name=0x0) at /tmp/buildd/glib2.0-2.28.0/./gobject/gobject.c:1308
#9  0x00007fffe4f264fa in theme_create_rc_style () from
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
#10 0x00007ffff104a280 in gtk_rc_parse_engine (context=0x651600,
scanner=0x7fffd4002f30, rc_style=0x7fffffffd7d0) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:3715
#11 0x00007ffff104bd40 in gtk_rc_parse_style (context=0x651600,
scanner=0x7fffd4002f30) at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:3186
#12 0x00007ffff104cbf6 in gtk_rc_parse_statement (context=<value optimized
out>, input_name=<value optimized out>, input_fd=<value optimized out>,
    input_string=<value optimized out>) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:2945
#13 gtk_rc_parse_any (context=<value optimized out>, input_name=<value
optimized out>, input_fd=<value optimized out>, input_string=<value optimized
out>)
    at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:2301
#14 0x00007ffff104d1d4 in gtk_rc_context_parse_one_file (context=0x651600,
filename=0x7fffd40127a0 "/usr/share/themes/QtCurve/gtk-2.0/gtkrc",
priority=<value optimized out>,
    reload=<value optimized out>) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:1059
#15 0x00007ffff104d361 in gtk_rc_context_parse_file (context=<value optimized
out>, filename=0x7fffd40127a0 "/usr/share/themes/QtCurve/gtk-2.0/gtkrc",
    priority=<value optimized out>, reload=<value optimized out>) at /scratch
/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:1125
#16 0x00007ffff104cedc in parse_include_file (context=<value optimized out>,
input_name=<value optimized out>, input_fd=<value optimized out>,
    input_string=<value optimized out>) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:2913
#17 gtk_rc_parse_statement (context=<value optimized out>, input_name=<value
optimized out>, input_fd=<value optimized out>, input_string=<value optimized
out>)
    at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:2941
#18 gtk_rc_parse_any (context=<value optimized out>, input_name=<value
optimized out>, input_fd=<value optimized out>, input_string=<value optimized
out>)
    at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:2301
#19 0x00007ffff104d1d4 in gtk_rc_context_parse_one_file (context=0x651600,
filename=0x6246c0 "/home/kriller/.gtkrc-2.0-kde", priority=<value optimized
out>,
    reload=<value optimized out>) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:1059
#20 0x00007ffff104d361 in gtk_rc_context_parse_file (context=<value optimized
out>, filename=0x6246c0 "/home/kriller/.gtkrc-2.0-kde", priority=<value
optimized out>,
    reload=<value optimized out>) at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:1125
#21 0x00007ffff104d72f in gtk_rc_parse_default_files (settings=<value optimized
out>, force_load=1) at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:888
#22 IA__gtk_rc_reparse_all_for_settings (settings=<value optimized out>,
force_load=1) at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkrc.c:1835
#23 0x00007ffff104d9fe in IA__gtk_rc_reparse_all () at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkrc.c:1889
#24 0x00007ffff22dbe45 in gconf_listeners_notify () from
/usr/lib/libgconf-2.so.4
#25 0x00007ffff22e98d0 in ?? () from /usr/lib/libgconf-2.so.4
#26 0x00007ffff22e99a1 in ?? () from /usr/lib/libgconf-2.so.4
#27 0x00007fffee6dc2e2 in g_main_dispatch (context=0x647af0) at
/tmp/buildd/glib2.0-2.28.0/./glib/gmain.c:2440
#28 g_main_context_dispatch (context=0x647af0) at
/tmp/buildd/glib2.0-2.28.0/./glib/gmain.c:3013
#29 0x00007fffee6e09a8 in g_main_context_iterate (context=0x647af0,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /tmp/buildd/glib2.0-2.28.0/./glib/gmain.c:3091
#30 0x00007fffee6e0eb5 in g_main_loop_run (loop=0xb51d10) at
/tmp/buildd/glib2.0-2.28.0/./glib/gmain.c:3299
#31 0x00007ffff0ffe6b7 in IA__gtk_main () at /scratch/build-
area/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
#32 0x00000000004027d4 in main (argc=1, argv=0x7fffffffe158) at main.c:639

I've managed to work around the problem by commenting out the line

"export GTK2_RC_FILES=/<myhomedir>/.gtkrc-2.0-kde"

from the file .kde/env/gtk-qt-engine.rc.sh, but that file get overwritten by
something from time to time - which is quite annoying.

I've attached .gtkrc-2.0-kde for reference.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gtk2-engines-qtcurve depends on:
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libc6                  2.11.2-11         Embedded GNU C Library: Shared lib
ii  libcairo2              1.10.2-2          The Cairo 2D vector graphics libra
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-2.1         FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.28.0-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio
ii  libx11-6               2:1.4.1-4         X11 client-side library

gtk2-engines-qtcurve recommends no packages.

Versions of packages gtk2-engines-qtcurve suggests:
ii  kde-style-qtcurve             1.8.4-1    Unified widget styles for KDE and 

-- no debconf information
-------------- next part --------------
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"

style "user-font"
{
	font_name="DejaVu Sans"
}

gtk-theme-name="QtCurve"
gtk-font-name="DejaVu Sans 9"


More information about the pkg-kde-extras mailing list