Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48775

Summary: KWord Crashes When attempting to open word documents [with seg-v]
Product: Gentoo Linux Reporter: Steve <steve>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steve 2004-04-23 03:54:43 UTC
When One attempts to open a Microsoft Word Format File in Kword, there is a segmentation violation. 

Reproducible: Always
Steps to Reproduce:
1.Build Koffice from the ebuild	
2.Open a word Document
3.Go look at the error output

Actual Results:  
the following error was produced: 
 
steve@SuperLaptop steve $ kword 
nFib=193 
Word 8 (aka Word 97) document found 
Information: Couldn't open the Data stream, no big deal 
Detected a different STSHI, check this (trying to read Word97 one) 
Warning: STSHI too big? New version? Expected: 22 Read: 20 
Warning: sprmCLidBi not implemented (no documentation available) 
Warning: sprmCHpsBi not implemented (no documentation available) 
Warning: DOP has a different size than expected. 
KCrash: Application 'kword' crashing... 
 

Expected Results:  
Opened the file, or declined to be able to open it 

Maybe this is a KDE project bug and not gentoo? I've rebuilt Koffice several 
times with different Make options. As far as i can see my CFlags dont do it, 
can anyone confirm this? or give settings with which it worked? 
 
root@SuperLaptop steve # emerge info 
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 Celeron (Coppermine) 
Gentoo Base System version 1.4.9 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fmove-all-movables 
-fforce-mem -fforce-addr -mmmx -msse -mfpmath=sse" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fmove-all-movables 
-fforce-mem -fforce-addr -mmmx -msse -mfpmath=sse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc fixpackages regenworld sandbox strict" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://gentoo.mirrors.pair.com/ http://128.213.5.34/gentoo/ 
http://gentoo.netnitco.net" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/home/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acl acpi alsa apm audiofile avi berkdb crypt cups dga dvd encode esd 
foomaticdb gdbm gif gpm gtk imap imlib java jpeg kde libg++ libwww mad mikmod 
mmx motif mozilla mpeg msn ncurses offensive oggvorbis opengl pam pcmcia 
pdflib perl png pnp python qt quicktime readline sdl slang spell sse ssl svga 
tcpd tiff truetype wlan wmf x86 xml2 xmms xv zlib"
Comment 1 Steve 2004-04-23 04:17:23 UTC
Additional Wonkey Behavior, when opening a OpenOffice file format, KWord appears to get stuck in a loop, the following message

ASSERT: "frm" in kwframe.cc (632) 

over and over agian in console. And KWord itself is locked.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-04-26 18:59:03 UTC
try the koffice mailing list, I bet they can help you out with it.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-10 14:51:47 UTC
Caleb marked KOffice 1.3.2 stable today. Emerging a recent wv2 version (before upgrading koffice) is helpful, too. This is nothing we can do about. If you still have problems, try either the koffice mailinglist or bugs.kde.org.