Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244681 - x11-themes/gtk-engines-qt-1.1 breaks all gtk apps
Summary: x11-themes/gtk-engines-qt-1.1 breaks all gtk apps
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 20:20 UTC by PM
Modified: 2009-10-20 16:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the backtrace (backtrace,4.25 KB, text/plain)
2008-10-27 20:24 UTC, PM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2008-10-27 20:20:25 UTC
it causes them to segfault just after being started. Here's an example:

$ gdb switch2
GNU gdb 6.8                   
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "i686-pc-linux-gnu"...                            
(gdb) run                                                                    
Starting program: /usr/bin/switch2
[Thread debugging using libthread_db enabled]
[New Thread 0xb6800940 (LWP 9476)]
sh: kde-config: command not found
sh: kde-config: command not found

(switch2:9476): GLib-GObject-WARNING **: Two different plugins tried to register 'QtEngineRcStyle'.

(switch2:9476): GLib-GObject-WARNING **: Two different plugins tried to register 'QtEngineStyle'.

(switch2:9476): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6800940 (LWP 9476)]
gtk_rc_parse_style (context=0x8af0580, scanner=0x8af0c20) at gtkrc.c:3669
3669    gtkrc.c: No such file or directory.
        in gtkrc.c
(gdb) bt
#0  gtk_rc_parse_style (context=0x8af0580, scanner=0x8af0c20) at gtkrc.c:3669
#1  0xb7db1078 in gtk_rc_parse_any (context=0x8af0580, input_name=0x8c396c0 "/usr/share/themes/Qt/gtk-2.0/gtkrc", input_fd=10, input_string=0x0) at gtkrc.c:2898
#2  0xb7db169f in gtk_rc_context_parse_one_file (context=0x8af0580, filename=0x8c396c0 "/usr/share/themes/Qt/gtk-2.0/gtkrc", priority=12, reload=0) at gtkrc.c:1012
#3  0xb7db183c in gtk_rc_context_parse_file (context=0x8af0580, filename=0x8c396c0 "/usr/share/themes/Qt/gtk-2.0/gtkrc", priority=12, reload=0) at gtkrc.c:1078
#4  0xb7db1372 in gtk_rc_parse_any (context=0x8af0580, input_name=0x8ac39d8 "/home/piotrek/.gtkrc-2.0-kde", input_fd=8, input_string=0x0) at gtkrc.c:2866
#5  0xb7db169f in gtk_rc_context_parse_one_file (context=0x8af0580, filename=0x8ac39d8 "/home/piotrek/.gtkrc-2.0-kde", priority=12, reload=0) at gtkrc.c:1012
#6  0xb7db183c in gtk_rc_context_parse_file (context=0x8af0580, filename=0x8ac39d8 "/home/piotrek/.gtkrc-2.0-kde", priority=12, reload=0) at gtkrc.c:1078
#7  0xb7db1c57 in IA__gtk_rc_reparse_all_for_settings (settings=0x8ac5620, force_load=1) at gtkrc.c:841
#8  0xb7dcee42 in IA__gtk_settings_get_for_screen (screen=0x8ad50d0) at gtksettings.c:1006
#9  0xb7dcef95 in IA__gtk_settings_get_default () at gtksettings.c:1034
#10 0xb7de90fc in gtk_style_init (style=0x8aec128) at gtkstyle.c:407
#11 0xb7aac1b3 in IA__g_type_create_instance (type=145617288) at gtype.c:1674
#12 0xb7a903b5 in g_object_constructor (type=145617288, n_construct_properties=0, construct_params=0x0) at gobject.c:1334
#13 0xb7a90bd4 in IA__g_object_newv (object_type=145617288, n_parameters=0, parameters=0x0) at gobject.c:1211
#14 0xb7a91784 in IA__g_object_new_valist (object_type=145617288, first_property_name=0x0,
    var_args=0xbff05058 "xP��0���I\017޷�o��xP
Comment 1 PM 2008-10-27 20:24:03 UTC
funny, the backtrace got cut. Looks like I found a bug in bugzilla ;)

I'll make an attachment with the backtrace.

emerge  --info  also got cut

# emerge --info
WARNING: repository at /usr/local/portage/moje is missing a repo_name entry
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 i686)
=================================================================                                            
System uname: Linux-2.6.27-gentoo-r1-i686-AMD_Athlon-TM-_XP_2500+-with-glibc2.0                              
Timestamp of tree: Mon, 27 Oct 2008 18:30:01 +0000                                                           
ccache version 2.4 [enabled]                                                                                 
app-shells/bash:     3.2_p39                                                                                 
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                        
dev-lang/python:     2.5.2-r8                                                                                
dev-util/ccache:     2.4-r8                                                                                  
dev-util/cmake:      2.6.2                                                                                   
sys-apps/baselayout: 2.0.0                                                                                   
sys-apps/openrc:     0.3.0-r1                                                                                
sys-apps/sandbox:    1.2.18.1-r3                                                                             
sys-devel/autoconf:  2.13, 2.63                                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                            
sys-devel/binutils:  2.18-r4                                                                                 
sys-devel/gcc-config: 1.4.0-r4                                                                               
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.27-r2                                                                               
ACCEPT_KEYWORDS="x86 ~x86"                                                                                   
CBUILD="i686-pc-linux-gnu"                                                                                   
CFLAGS="-O2 -march=athlon-xp -pipe -mfpmath=sse -g"                                                          
CHOST="i686-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -mfpmath=sse -g"                                                                                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                                                                    
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"                                                  
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                                               
LANG="pl_PL.UTF-8"                                                                                                                                                                  
LC_ALL="pl_PL.UTF-8"                                                                                                                                                                
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/moje"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amr amrnb amrwb async audiofile automount bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cddb cdr cli cracklib crypt css cups curl custom-optimization dbus disk-partition djvu dri dvd dvdr dvdread eds emboss emovix encode esd evo exif fam fat ffmpeg firefox firefox3 flac fortran gdbm geoip gif glitzgpm gstreamer gtk hal hddtemp iconv id3 id3tag imagemagick inotify ipod ipv6 isdnlog jack jpeg kde kdeenablefinal kdehiddenvisibility kipi ladspa lame libcaca libnotify libsamplerate lm_sensors mad midi mikmod mmap mmx mmxext mng mp3 mp3tunes mp4 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection roe sasl scanner schroedinger sdl sensord session sndfile soundtouch spell spl sse ssl startup-notification svg swat symlink sysfs syslog tcpd theora threads tiff truetype unicode upnp usb vamp vcd vorbis win32codecs wmf x264 x86 xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route shareshm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 PM 2008-10-27 20:24:54 UTC
Created attachment 170030 [details]
the backtrace
Comment 3 David 2009-01-22 16:04:22 UTC
I fixed this by removing the older version from slot :2 (i.e. 0.8-r1).  It seems you can't have both installed at the same time.
Comment 4 Michael 2009-04-01 08:24:29 UTC
Using the 1.x versions works for qt4.

Eventho the bug still seems open upstream, I think it is fixed now.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-10-20 16:44:05 UTC
Yes, reopen if it's still a problem.