Version: (using KDE KDE 3.2.91) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) Gentoo's default OS: Linux After the upgrade to KDE 3.3.0_beta1 (from alpha1), Ximian OpenOffice (both 1.1.60 and 1.1.61 versions) crashes with SIGSEGV when I try to load it. The ouput is: kdecore (KIconLoader): WARNING: Icon directory /usr/share/icons/Smokey-Red/ group 48x48/emblems not valid. QGArray::at: Absolute index -1 out of range sh: line 1: crash_report: command not found QGArray::at: Absolute index -1 out of range Segmentation fault [Note: there's a lot of kdecore's WARNINGs, but I removed them, because they are printed out on all kde apps starts, and I saw that in CVS are now moved to debug messages.] Using KDE 3.3.0_alpha1, the four lines above aren't printed out and the program starts correctly. At the moment I can't strace Ximian OpenOffice using kde 3.3.0_alpha1 (I completely upgraded to beta1 and with gentoo isn't so quick :) ), but I attach the strace for beta1. I'm not so able reading at straces, but the two messages of index out of range appears after the opening of /dev/null (which is tried to be set up like a tty?), and then reading from it (it shouldn't be possible, right?). As a developer, I can imagine that in the code of Ximian-OpenOffice there's something like int readBytes = read(...); array[readBytes-1] without test if readBytes is at least 1. What I can't imagine is why on alpha1 it works perfectly, I also rebuilt Ximian OpenOffice thinking that beta1 was source-compatible but not binary-compatible, but nothing changed.
Created attachment 6638 [details] strace log for Ximian OpenOffice running on KDE 3.3.0_beta1
Does r1.152 of kdelibs/kdeui/kxmlguifactory.cpp fix this problem?
Yes r1.152 fixes it :)