Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314775 - kde-base/plasma-desktop-4.3.5 segfaults when switching to openoffice-3.2 through taskbar
Summary: kde-base/plasma-desktop-4.3.5 segfaults when switching to openoffice-3.2 thro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 313999
  Show dependency tree
 
Reported: 2010-04-12 05:51 UTC by Oliver Schwabedissen
Modified: 2010-06-15 07:32 UTC (History)
2 users (show)

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


Attachments
Crash report (plasma-desktop-20100412.kcrash,12.57 KB, text/plain)
2010-04-12 05:52 UTC, Oliver Schwabedissen
Details
Screenshot of apps causing the crash (314775.jpg,4.63 KB, image/jpeg)
2010-04-13 19:04 UTC, Oliver Schwabedissen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schwabedissen 2010-04-12 05:51:54 UTC
When I try to switch to a running openoffice application (calc, writer, ...) from a different using the taskbar, plasma-desktop crashes reproducible with a segmentation fault.

plasma-workspace is v4.3.5, openoffice is v3.2


Reproducible: Always

Steps to Reproduce:
1.Login to KDE4
2.start openoffice writer
3.switch to another desktop
4.switch to openoffice using the taskbar

Actual Results:  
plasma-desktop crashes. Sometimes it's able to restart, but most of the time I'm ending up with a black screen.

Expected Results:  
KDE switches to the openoffice application

emerge --info:
Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================                                   
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 11 Apr 2010 23:30:01 +0000                                                       
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                  
ccache version 2.4 [disabled]                                                                            
app-shells/bash:     4.0_p37                                                                             
dev-java/java-config: 2.1.10                                                                             
dev-lang/python:     2.6.4-r1                                                                            
dev-util/ccache:     2.4-r7                                                                              
dev-util/cmake:      2.6.4-r3                                                                            
sys-apps/baselayout: 1.12.13                                                                             
sys-apps/sandbox:    1.6-r2                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                       
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                  
sys-devel/binutils:  2.18-r3                                                                             
sys-devel/gcc:       4.3.4                                                                               
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6b                                                                              
virtual/os-headers:  2.6.30-r1                                                                           
ACCEPT_KEYWORDS="x86"                                                                                    
ACCEPT_LICENSE="* -@EULA"                                                                                
CBUILD="i686-pc-linux-gnu"                                                                               
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -fno-delete-null-pointer-checks -fwrapv"            
CHOST="i686-pc-linux-gnu"                                                                                
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                    
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -fno-delete-null-pointer-checks -fwrapv"                                                                                                   
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa apache2 apm arts artswrappersuid asf aspell audiofile bash-completion binary-drivers branding bzip2 cairo caps cdparanoia cdr chm clamav cli consolekit cracklib crypt css ctype cups cxx dbm dbus dmi doc dri dts dvd dvdnav dvdr dvdread emacs embedded emboss encode esd exif expat extrafilters fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimp glitz glut gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk hal hddtemp iconv icq id3 idn ieee1394 imagemagick imap imlib inotify jadetex java javascript jpeg jpeg2k kde kdehiddenvisibility kipi kpathsea lame lastfm lcms libnotify lm_sensors logitech-mouse logrotate logwatch lzo mad mbox mikmod mime mjpeg mmx mmxext mng modules moneyplex mono motif mp3 mp4 mpeg mpeg2 mplayer msn mudflap musicbrainz mysql mysqli ncurses nls npp nptl nptlonly nsplugin offensive ogg ole openexr opengl openmp oss pam pango pcre pda pdf perl plasma pmu png posix ppds pppd print python pyzord qt3support qt4 quicktime raster razor rdesktop readline reflection rtc samba sasl scanner sdl semantic-desktop sensord session sharedmem slang smp snmp sockets sox spell spl sql sqlite3 sse sse2 ssl startup-notification svg sysfs syslog tcl tcpd tidy tiff tk toolbar tools truetype unicode usb userlocales v4l v4l2 vcd vim-syntax vim-with-x visualization vorbis webkit win32codecs wxwindows x264 x86 xcb xcomposite xft xine xinetd xml xorg xosd xpm xscreensaver xulrunner 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 share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev vga v4l v4l2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Oliver Schwabedissen 2010-04-12 05:52:42 UTC
Created attachment 227465 [details]
Crash report
Comment 2 Oliver Schwabedissen 2010-04-13 19:04:06 UTC
Created attachment 227645 [details]
Screenshot of apps causing the crash

Apps that cause this crash can be identified in the taskbar by their icon, which is not the normal icon for this application. In the screenshot you can see two applications that cause plasma-desktop to crash here: openoffice 3.2 and Moneyplex 2008.
Comment 3 Jiri Horky 2010-05-04 08:12:07 UTC
I have exactly the same problem. As Oliver mentioned, every application without taskbar icon properly set (thus failing back to "X icon") is causing it.
Comment 4 Maciej Mrozowski gentoo-dev 2010-06-05 22:04:46 UTC
KDE version, Qt version and output of `emerge -vp1 qt-core qt-gui kdelibs` please.
Comment 5 Oliver Schwabedissen 2010-06-06 08:56:56 UTC
(In reply to comment #4)
> KDE version, Qt version and output of `emerge -vp1 qt-core qt-gui kdelibs`
> please.

KDE: 4.3.5
Qt: 4.6.2-r1
emerge -vp1 qt-core qt-gui kdelibs:
~ # emerge -vp1 qt-core qt-gui kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-core-4.6.2-r1  USE="debug doc exceptions glib iconv qt3support ssl (-aqua) -optimized-qmake -pch" 0 kB
[ebuild   R   ] x11-libs/qt-gui-4.6.2  USE="accessibility cups dbus debug exceptions glib gtk mng qt3support raster tiff (-aqua) -nas -nis -pch -xinerama" 0 kB
[ebuild   R   ] kde-base/kdelibs-4.3.5  USE="acl alsa bzip2 debug fam handbook jpeg2k mmx nls openexr opengl semantic-desktop spell sse sse2 ssl -3dnow (-altivec) (-aqua) -bindist -doc (-kdeenablefinal) (-kdeprefix) -kerberos -lzma -test -zeroconf" 0 kB

And an additional observation: I don't have to click on the application in the taskbar to crash plasma-desktop. It's enough to move the mouse over it's icon in the taskbar.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-06-06 16:41:12 UTC
Does this still happen with kde-4.4.4? (Current stable candidate...)
Comment 7 Oliver Schwabedissen 2010-06-06 17:28:55 UTC
(In reply to comment #6)
> Does this still happen with kde-4.4.4? (Current stable candidate...)

I don't know, I'm only running stable KDE. The only unstable KDE package here is Amarok 2.3.0.

BTW: The highest KDE version I'm currently seeing in the tree is KDE 4.4.3.
Comment 8 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-06-11 14:17:11 UTC
(In reply to comment #6)
> Does this still happen with kde-4.4.4? (Current stable candidate...)
> 

No problem here with kde-4.4.4 and openoffice-bin-3.2.0
Can you try with openoffice-bin-3.2.0?
Comment 9 Oliver Schwabedissen 2010-06-11 16:58:01 UTC
> No problem here with kde-4.4.4 and openoffice-bin-3.2.0
> Can you try with openoffice-bin-3.2.0?

I'm using openoffice-3.2.0, compiled from source. As openoffice is not the only application causing plasma-desktop to segfault (same happens when using Moneyplex (closed source)).

I guess the culprit is KDE 4.3.5, I'm stilll waiting for a stable 4.4.x release. Also to get bug 305339 fixed (it's fixed in KDE 4.4.1).

I'm considering switching to an unstable KDE release, as digikam is nearly unusable for me because of this bug. However I'm unsure how to do this as a lot of packages is involved.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2010-06-13 14:57:14 UTC
> 
> I'm considering switching to an unstable KDE release, as digikam is nearly
> unusable for me because of this bug. However I'm unsure how to do this as a lot
> of packages is involved.
> 

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob_plain;f=Documentation/package.keywords/kde-4.4.keywords;hb=HEAD

Download this file and place it in /etc/portage/package.keywords
Then run emerge -uDNa world

Maybe you will have to manually keyword one or two more additional packages (dependency updates). 

You could get some problems with the kmail addressbook, but otherwise everything should imho work fine. We'd be happy for any feedback!
Comment 11 Oliver Schwabedissen 2010-06-15 05:44:28 UTC
(In reply to comment #10)

> You could get some problems with the kmail addressbook, but otherwise
> everything should imho work fine. We'd be happy for any feedback!

Yes, I can't access my addressbook because of Akonadi problems :-(

The good news first: Openoffice and Moneyplex don't crash plasma-desktop anymore. So upgrading to KDE 4.4.* seems to solve this problem. Now we just need a stable KDE 4.4... 

BTW: Both application still show the default X icon in the task bar.

Upgrading to KDE 4.4.4 was a bit tricky. First I had to update cmake from the current stable version 2.6.4 to unstable 2.8.1 because kdelibs stopped emerging each time it tried to link /usr/lib/libkio.so.

After everything compiled fine, plasma-desktop crashed each time I logged in to KDE until I removed ~/.kde4/share/config/plasma-desktop*.

And currently Amarok 2.3.1 just loads its splash screen and then hangs. So no music for my anymore at the moment :-(.


Comment 12 Andreas K. Hüttel archtester gentoo-dev 2010-06-15 07:32:08 UTC
(In reply to comment #11)
> The good news first: Openoffice and Moneyplex don't crash plasma-desktop
> anymore. So upgrading to KDE 4.4.* seems to solve this problem. Now we just
> need a stable KDE 4.4... 

OK, I am resolving this bug then (4.4.4 should get stable sometime in the near future).

> Upgrading to KDE 4.4.4 was a bit tricky. First I had to update cmake from the
> current stable version 2.6.4 to unstable 2.8.1 because kdelibs stopped emerging
> each time it tried to link /usr/lib/libkio.so.

-> now bug 324061

> 
> After everything compiled fine, plasma-desktop crashed each time I logged in to
> KDE until I removed ~/.kde4/share/config/plasma-desktop*.

-> now bug 324065

> And currently Amarok 2.3.1 just loads its splash screen and then hangs. So no
> music for my anymore at the moment :-(.

-> now bug 324069

Could you please review these bugs and add a bit of missing info (like emerge --info output, maybe a failed build log if you still have one, or a crash dump)?

Thank you very much!