KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
67216
:
KWord can still crash on loading MS Word documents
P
roduct
:
kword
Co
m
ponent
:
filters
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
1.4
Pr
i
ority
:
NOR
Severity
:
crash
V
otes
:
45
Description
:
Opened:
2003-11-04 17:05
Last Changed:
2007-07-30 00:52:43
Version: 1.2.94 (using KDE KDE 3.1.3) Installed from: Compiled From Sources OS: Linux KWord versions have been crashing on MS Word documents as long as I remember. KWord 1.3 RC1 still crashes on some Word documents. Is there nothing that can be done about this? KWord should never crash, no matter what garbage you throw at it. If the document loader would be a seperate process, it would for ever fix these crashes, right? The reason why this is so annoying is that when KWord is embedded in, say, konqueror, it takes konqueror down with it. All your opened tabs and web pages are gone.
Comment
#1
Waldo Bastian 2004-02-12 13:38:18
Please attach MSWord document(s) that causes a crash to this bugreport.
Comment
#2
Nicolas Goutte 2004-02-17 02:40:59
It is hard to guess what the problem is without having any document to test. As for a separate process, well, it will fix nothing. It is very rarely the loading that crashes, it is the processing thereafter (just before displaying it the first time.) Have a nice day!
Comment
#3
Dik Takken 2004-02-17 13:46:05
I will try to create some evil Word documents when I have some time. I guess it's not too hard to do.
Comment
#4
Steve 2004-04-24 10:17:31
I can confirm this, My version of KWord (1.3) crashes whenever I try to open an Word Document. I've tried several word documents, most authored in Open Office, ranging from 1 - 20 pages, and they all crash for me, with a seg-v
Comment
#5
Werner Trobin 2004-04-24 10:57:48
Hi Steve! Please attach some of those documents (3 should be enough) to this bug report and tell us which version of wv2 you are using. Thanks, Werner
Comment
#6
Steve 2004-04-24 13:32:14
I'm using wv 0.2.1, any word document i create does it, I cant attach the "original" ones, they are slightly confidential :), but i just created a 3 word document in open office, and saved it under a word 97 file format, and it crashed. I am running gentoo, so I have the wounderful option of doing an emerge info, its at the bottom, and Also, is the output from kword, which is the same for any office document i try to open. Let me know if I can be of any help... Error Message: steve@SuperLaptop steve $ kword nFib=194 A document newer than Word 8 found (nFib=194), trying with the Word 8 parser Information: Couldn't open the Data stream, no big deal Warning: sprmCLidBi not implemented (no documentation available) Warning: sprmCHpsBi not implemented (no documentation available) Warning: DOP has a different size than expected. Error: The conversion was not successful: 84 Warning: Associated strings have a different size than expected! KCrash: Application 'kword' crashing... System Info (for reference like cflags and make options) Gentoo Base System version 1.4.9 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) 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 strict" GENTOO_MIRRORS="
http://mirror.datapipe.net/gentoo
ftp://mirrors.sec.informatik.t
u-darmstadt.de/gentoo/
http://gentoo.mirrors.pair.com/
http://128.213.5.34/gento
o/
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 foom aticdb gdbm gif gpm gtk imap imlib java jpeg kde libg++ libwww mad mikmod mmx mo tif mozilla mpeg msn ncurses offensive oggvorbis opengl pam pcmcia pdflib perl p ng pnp python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truet ype wlan wmf x86 xml2 xmms xv zlib"
Comment
#7
Werner Trobin 2004-04-24 14:55:28
Hi again, I still miss the attached .doc file. You say all of them crash. Well, I created one just like you described it and it opens nicely here. Please attach one of your files. Thanks, Werner
Comment
#8
Steve 2004-04-24 19:34:19
Created an attachment (id=5764)
[details]
A Word document created in open office that crashes kmail This File crashes my KWord when i try to open it, It was created in open office and saved under word 97 file format
Comment
#9
Werner Trobin 2004-04-24 21:27:19
Works for me, using KWord from CVS head and a recent wv2. Do you think I should close the bug and blame it to a setup problem on your machine? Maybe you could try to update as soon as KOffice 1.3.1 is out (will be released soon).
Comment
#10
Dik Takken 2004-04-24 21:52:45
Well, I still want to try to create some really mean MS Word documents that crash KWord. As soon as I have time to do this, I can upload the troublemakers here. No please don't close this report just yet.
Comment
#11
Steve 2004-04-25 00:55:49
Well, I'd personaly like to find a way around it, my laptop has limited memory and I would rather use KOffice than open office, since this is a seg-v it could be a build problem. I Highly doubt configuration. However, are there any make options, or CFLAGS, or even the need to write outside the workdir [since I use portage on gentoo, sometimes it becomes neccesary to turn off sandboxing] that could cause this sort of problems? My CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fmove-all-movables -fforce-mem -fforce-addr -mmmx -msse -mfpmath=sse"
Comment
#12
Bouke Woudstra 2004-11-04 14:12:09
Created an attachment (id=8163)
[details]
this doc file is an example that crashes kword. If need to be I can send more doc files. Most doc files open up correctly, but every once in a while a certain file crashes kword.
Comment
#13
paul black nist gov 2005-03-02 18:04:52
Created an attachment (id=9930)
[details]
File which consistently crashes KWord
Comment
#14
Malte S Stretz 2005-06-24 23:40:55
In KWord 1.4:
attachment 5764
[details]
works for me,
attachment 8163
[details]
freezes kword and
attachment 9930
[details]
crashes it. The backtrace (will also attach the debug output): (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) [...] (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 10280)] [KCrash handler] #5 0xb5b9554a in KWTableFrameSet::TableIterator<2>::toFirstCell () from /usr/lib/kde3/libkwordpart.so #6 0xb5b9439d in KWTableFrameSet::TableIterator<2>::TableIterator () from /usr/lib/kde3/libkwordpart.so #7 0xb5b8faa1 in KWTableFrameSet::finalize () from /usr/lib/kde3/libkwordpart.so #8 0xb5bdc3c8 in KWDocument::completeLoading () from /usr/lib/kde3/libkwordpart.so #9 0xb7f324f4 in KoDocument::loadNativeFormatFromStore () from /usr/lib/libkofficecore.so.2 #10 0xb7f31936 in KoDocument::loadNativeFormat () from /usr/lib/libkofficecore.so.2 #11 0xb7f30328 in KoDocument::openFile () from /usr/lib/libkofficecore.so.2 #12 0xb7d41f36 in KParts::ReadOnlyPart::openURL () from /usr/kde/3.4/lib/libkparts.so.2 #13 0xb7f2f74f in KoDocument::openURL () from /usr/lib/libkofficecore.so.2 #14 0xb7f4b68c in KoMainWindow::openDocumentInternal () from /usr/lib/libkofficecore.so.2 #15 0xb7f4b5aa in KoMainWindow::openDocument () from /usr/lib/libkofficecore.so.2 #16 0xb7f54828 in KoApplication::start () from /usr/lib/libkofficecore.so.2 #17 0xb7fe7420 in kdemain () from /usr/lib/libkdeinit_kword.so #18 0x08048863 in ?? () #19 0x00000002 in ?? () #20 0xbfffee64 in ?? () #21 0xbfffee08 in ?? () #22 0x08049c64 in ?? () #23 0xf868a4c7 in ?? () #24 0xb7ff5b80 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #25 0xb5eec63f in __libc_start_main () from /lib/libc.so.6 #26 0x08048761 in ?? ()
Comment
#15
Malte S Stretz 2005-06-24 23:42:27
Created an attachment (id=11575)
[details]
debug output from
attachment 9930
[details]
Comment
#16
Eduard Giménez Cerdà 2005-07-01 18:56:13
Created an attachment (id=11646)
[details]
Microsoft Word file that crashes KOffice 1.3.5 That Microsoft Word file crashes KOffice 1.3.5 on Ubuntu 5.4 every time I try to open it.
Comment
#17
Michael Garrett 2005-08-06 10:35:00
Works with KWord 1.3.5 on Gentoo. Screen shot attached.
Comment
#18
Michael Garrett 2005-08-06 10:36:15
Created an attachment (id=12109)
[details]
Opens fine screenshot. Seems to open just fine.
Comment
#19
Michael Garrett 2005-08-06 11:05:04
Last comment was for attachment from 2005-07-01, 2005-03-02 still crashes kword, 2004-11-04 locks kword, 2004-04-24 opens fine.
Comment
#20
Mohd Asif Ali Rizwaan 2005-10-24 06:45:40
Created an attachment (id=13130)
[details]
an ms word document file which crashes kword 1.4 post kword 1.4 post here, and this doucument crashes kword as soon as the file loads.
Comment
#21
Roland Mundloch 2005-11-09 17:33:54
Created an attachment (id=13366)
[details]
ms word test document
Comment
#22
Roland Mundloch 2005-11-09 17:37:01
(From update of
attachment 13366
[details]
) ms word doc (97-2002) crashed KWord (KDE 3.4.3 Level"b"/SuSE Linux 9.2) and also OpenOffice2.0/Linux is not able to open it (read error/konverter problem) KDE-CrashManager: Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1095917088 (LWP 6560)] [KCrash handler] #7 0x41de8a1f in KWTableFrameSet::TableIterator<2>::toFirstCell () from /opt/kde3/lib/kde3/libkwordpart.so #8 0x41de8a8f in KWTableFrameSet::TableIterator<2>::TableIterator () from /opt/kde3/lib/kde3/libkwordpart.so #9 0x41d06e16 in KWTableFrameSet::finalize () from /opt/kde3/lib/kde3/libkwordpart.so #10 0x41dbe123 in KWDocument::completeLoading () from /opt/kde3/lib/kde3/libkwordpart.so #11 0x417b6d63 in KoDocument::loadNativeFormatFromStore () from /opt/kde3/lib/libkofficecore.so.2 #12 0x417b74f6 in KoDocument::loadNativeFormat () from /opt/kde3/lib/libkofficecore.so.2 #13 0x417b1b12 in KoDocument::openFile () from /opt/kde3/lib/libkofficecore.so.2 #14 0x4006bcd1 in KParts::ReadOnlyPart::openURL () from /opt/kde3/lib/libkparts.so.2 #15 0x417b91df in KoDocument::openURL () from /opt/kde3/lib/libkofficecore.so.2 #16 0x4179c08f in KoMainWindow::openDocumentInternal () from /opt/kde3/lib/libkofficecore.so.2 #17 0x417b99dc in KoMainWindow::openDocument () from /opt/kde3/lib/libkofficecore.so.2 #18 0x417ba257 in KoApplication::start () from /opt/kde3/lib/libkofficecore.so.2 #19 0x4171289d in kdemain () from /opt/kde3/lib/libkdeinit_kword.so #20 0x400187c4 in kdeinitmain () from /opt/kde3/lib/kde3/kword.so #21 0x0804e7b5 in launch () #22 0x0804eecc in handle_launcher_request () #23 0x0804f489 in handle_requests () #24 0x0804fc5a in main ()
Comment
#23
H 2006-03-17 00:09:05
I run 1.4.1-0ubuntu7.2 (Kubuntu Breezy), with libwv2-1c2 0.2.2-1ubuntu1. When launching the kword kpart ("embedded"/"preview"), it _ALWAYS_ crashes (bringing down everything, as you well know). Even on the simplest of documents, created with OpenOffice2 and saved as doc (attached). The interesting thing is that KWord on its own has no problem opening files, so this is limited to the kpart only. I am attaching a backtrace and an offending document. I have tried to get output on the terminal, it's all silent. I agree with Dik Takkens original statement that things would be better if the wv parser (and thus its crash) was isolated in some way, because everything just goes down the drain. But then again, who wouldn't agree with that.. ;P Thanks and good luck.
Comment
#24
H 2006-03-17 00:11:08
Created an attachment (id=15152)
[details]
Simple msword document that ALWAYS crashes kword kpart. The document is created in OpenOffice2, "save as..." ms word.
Comment
#25
H 2006-03-17 00:15:13
Created an attachment (id=15153)
[details]
Backtrace from kword kpart crash I have compared backtraces from four crashes, and they all end up the same: [KCrash handler] #6 0xb493a18c in __gnu_cxx::__mt_alloc<wvWare::Word97::TabDescriptor, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate () from /usr/lib/libwv2.so.1 #7 0xb497dea9 in wvWare::Word97::PAP::PAP () from /usr/lib/libwv2.so.1 #8 0xb497d681 in wvWare::ParagraphProperties::ParagraphProperties () from /usr/lib/libwv2.so.1 [...]
Comment
#26
Andy V 2006-03-19 02:27:10
Werner Trobin, what are you using? I have Fedora 4 with kword 1.42 installed with yum .44 Everything should be fine. I hate to say this, but I think the development team is playing with us. There is no rhyme or reason, is it all files NOT created by or for kword only?
Comment
#27
Sebastian Sauer 2006-03-19 02:39:19
The testcases of #13, #20, #21 are still crashing KWord-svn from today. [KCrash handler] #5 0xb751b081 in QGList::locate () from /usr/lib/libqt-mt.so.3 #6 0xb71c38cd in QGList::at () from /usr/lib/libqt-mt.so.3 #7 0xb6135560 in QPtrList<KWFrame>::at (this=0x2c, i=0) at qptrlist.h:103 #8 0xb626eb1d in KWFrameSet::frame (this=0x0, num=0) at KWFrameSet.cpp:509 The reason seems to be, that the frameset doesn't have a valid frame. During import following assert's are printed through the console; [...] kword (tables): KWTableFrameSet::finalize ASSERT: "m_cell" in KWTableFrameSet.h (618) ASSERT: "activeCell" in KWTableFrameSet.cpp (300) kword (tables): Table 1 KWTableFrameSet::recalcRows (0,0) ASSERT: "activeCell" in KWTableFrameSet.cpp (354) ASSERT: "m_cell" in KWTableFrameSet.h (618) [...] To disable table-support fixes the crash for all testcases. @Andy: It is just very difficult to find the reason for the crash. I for myself seeked for it last 3 hours and failed to find a fix. It would be muchh easier if I would be able to manipulate the doc-files by hand and test for various conditions where that crash happens. But that's not possible cause MS doc is just a blackbox and that makes things much more difficult :-(
Comment
#28
Sebastian Sauer 2006-03-19 04:26:28
***
Bug 84547
has been marked as a duplicate of this bug. ***
Comment
#29
Sebastian Sauer 2006-03-19 04:29:22
Bug 84547
provides another testcase that still crashes KWord and provides the same backtrace, the same assert's and the same missing/invalid KWFrame in a KWFrameSet;
http://bugs.kde.org/attachment.cgi?id=6568&action=view
Comment
#30
Werner Trobin 2006-03-21 14:19:21
Please leave that bug opened. There are at least two problems in the documents attached to this report. One of them is a real bug in the wvWare import filter (the filter performing the acutal work on .doc import). It seems to occur only with .doc files created by OpenOffice 2. The second bug (which also occurs in the duplicate 84547) is not a filter bug, but a bug inside KWord's table layouting code. David Faure knows about this problem and there are several related bug reports in the bug database (partly filed as filter bugs, partly filed as KWord bugs). Ciao, Werner
Comment
#31
Sebastian Sauer 2006-03-25 06:40:41
Ok. Thanks for the provided details, Trobin.
Comment
#32
Thomas Zander 2006-04-13 17:48:50
Update; docs from comments 13, 20 and 21 still crash kword.
Comment
#33
Sebastian Sauer 2006-08-18 22:54:32
Just some minutes ago a patch got committed that works at least around the crasher. So, the attachments 13, 20 and 21 are at least loaded now. The fix will be available in 1.6 beta1/final.
Comment
#34
Bouke Woudstra 2006-10-31 19:05:19
The documents no longer crash here with Kword-1.6rc1. I think the bug can be closed.
Comment
#35
Marek Laane 2007-07-30 00:31:24
So, after 9 months, are these attachments still crashing? I tried and found they opened correctly ( in Konqueror with KWord 1.6.3 (KDE 3.5.7))
Comment
#36
Giovanni Venturi 2007-07-30 00:52:43
These attachments don't crash kword anymore for me too.
P
latform
:
Compiled Sources
O
S
:
Linux
K
eywords
:
People
Reporter
:
Dik Takken
Assigned To
:
Ariya Hidayat
CC
:
gventuri73 tiscali it
kde-bugger msquadrat de
nicolasg snafu de
steve stevesworld hopto org
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
A Word document created in open office that crashes kmail
(8.00 KB, application/octet-stream)
2004-04-24 19:34
,
Steve
Details
this doc file is an example that crashes kword.
(70.50 KB, application/msword)
2004-11-04 14:12
,
Bouke Woudstra
Details
File which consistently crashes KWord
(86.50 KB, application/msword)
2005-03-02 18:04
,
paul.black@nist.gov
Details
debug output
(3.28 KB, text/plain)
2005-06-24 23:42
,
Malte S. Stretz
Details
Microsoft Word file that crashes KOffice 1.3.5
(27.00 KB, application/msword)
2005-07-01 18:56
,
Eduard Giménez Cerdà
Details
Opens fine screenshot.
(137.28 KB, image/png)
2005-08-06 10:36
,
Michael Garrett
Details
an ms word document file which crashes kword 1.4 post
(38.00 KB, application/msword)
2005-10-24 06:45
,
Mohd Asif Ali Rizwaan
Details
ms word test document
(32.50 KB, application/msword)
2005-11-09 17:33
,
Roland Mundloch
Details
Simple msword document that ALWAYS crashes kword kpart.
(7.50 KB, application/msword)
2006-03-17 00:11
,
H
Details
Backtrace from kword kpart crash
(12.49 KB, text/plain)
2006-03-17 00:15
,
H
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In