Bug 180949 - KWord crashes while saving ODT document
Summary: KWord crashes while saving ODT document
Status: RESOLVED DUPLICATE of bug 180238
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 10:37 UTC by Jaroslav Reznik
Modified: 2009-01-16 10:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Reznik 2009-01-16 10:37:48 UTC
Version:           2 beta 5 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Crash occurs while saving to native format. Same for Save from menu and autosave. Only incomplete tmp file is saved (with header).

How to reproduce:
1. start KWord
2. click Save or wait few minutes for autosave
3. KWord crashes

Expected result:
KWord doesn't crash

Backtrace:
Application: KWord (kword), signal SIGSEGV
0x00000038b78a7f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f6f90eb5800 (LWP 19864))]

Thread 5 (Thread 0x7f6f83534950 (LWP 19886)):
#0  0x00000038b840b309 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00000031d225a839 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x00000031d880a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00000031d880cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00000031d880b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00000031d880b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#8  0x00000031d2259852 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000038b84073da in start_thread () from /lib64/libpthread.so.0
#10 0x00000038b78e62bd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6f83f35950 (LWP 19887)):
#0  0x00000038b840b309 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00000031d225a839 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x00000031d880a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00000031d880cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00000031d880b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00000031d880b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#9  0x00000031d2259852 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00000038b84073da in start_thread () from /lib64/libpthread.so.0
#11 0x00000038b78e62bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6f82a33950 (LWP 19888)):
#0  0x00000038b840b309 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00000031d225a839 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x00000031d880a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00000031d880cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00000031d880b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00000031d880b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#6  0x00000031d2259852 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00000038b84073da in start_thread () from /lib64/libpthread.so.0
#8  0x00000038b78e62bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6f7e5dc950 (LWP 19889)):
#0  0x00000038b840b309 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00000031d225a839 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x00000031d880a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00000031d880cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00000031d880cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00000031d880b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00000031d880b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#7  0x00000031d2259852 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00000038b84073da in start_thread () from /lib64/libpthread.so.0
#9  0x00000038b78e62bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6f90eb5800 (LWP 19864)):
[KCrash Handler]
#5  0x0000000000c8f5a3 in KWPageStyle::pageLayout (this=0x7fff98effac0) at
/usr/src/debug/koffice-1.9.98.5/kword/part/KWPageStyle.cpp:113
#6  0x0000000000c958b6 in KWOdfWriter::saveHeaderFooter (this=0x7fff98effdd0,
embeddedSaver=@0x7fff98effe70, mainStyles=@0x7fff98effd80)
    at /usr/src/debug/koffice-1.9.98.5/kword/part/KWOdfWriter.cpp:93
#7  0x0000000000c967a8 in KWOdfWriter::save (this=0x7fff98effdd0,
odfStore=@0x7fff98f00070, embeddedSaver=@0x7fff98effe70) at
/usr/src/debug/koffice-1.9.98.5/kword/part/KWOdfWriter.cpp:154
#8  0x0000000000c7acad in KWDocument::saveOdf (this=<value optimized out>,
documentContext=@0x7fff98effe60) at
/usr/src/debug/koffice-1.9.98.5/kword/part/KWDocument.cpp:627
#9  0x00000031d78541a1 in KoDocument::saveNativeFormat (this=0x1842870,
file=@0x7fff98f00290) at
/usr/src/debug/koffice-1.9.98.5/libs/main/KoDocument.cpp:1012
#10 0x00000031d7857147 in KoDocument::saveFile (this=0x1842870) at
/usr/src/debug/koffice-1.9.98.5/libs/main/KoDocument.cpp:443
#11 0x00000031d5e1f03a in KParts::ReadWritePart::save () from
/usr/lib64/libkparts.so.4
#12 0x00000031d5e1febf in KParts::ReadWritePart::saveAs () from
/usr/lib64/libkparts.so.4
#13 0x00000031d78781b2 in KoMainWindow::saveDocument (this=0x1905ae0,
saveas=<value optimized out>, silent=false) at
/usr/src/debug/koffice-1.9.98.5/libs/main/KoMainWindow.cpp:992
#14 0x00000031d786b054 in KoMainWindow::slotFileSaveAs (this=0x7fff98eff970) at
/usr/src/debug/koffice-1.9.98.5/libs/main/KoMainWindow.cpp:1252
#15 0x00000031d78768c2 in KoMainWindow::qt_metacall (this=0x1905ae0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff98f00a50)
    at /usr/src/debug/koffice-1.9.98.5/x86_64-redhat-linux-
gnu/libs/main/KoMainWindow.moc:130
#16 0x00000031d2356764 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
#17 0x00000031d297cbf7 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#18 0x00000031d297d3c0 in QAction::activate () from /usr/lib64/libQtGui.so.4
#19 0x00000031d2d14a8d in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00000031d48cf521 in KMenu::mouseReleaseEvent () from
/usr/lib64/libkdeui.so.5
#21 0x00000031d29d4fd9 in QWidget::event () from /usr/lib64/libQtGui.so.4
#22 0x00000031d2d1726b in QMenu::event () from /usr/lib64/libQtGui.so.4
#23 0x00000031d29828dd in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#24 0x00000031d298aefa in QApplication::notify () from
/usr/lib64/libQtGui.so.4
#25 0x00000031d4804dfb in KApplication::notify () from
/usr/lib64/libkdeui.so.5
#26 0x00000031d2342391 in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#27 0x00000031d298a298 in QApplicationPrivate::sendMouseEvent () from
/usr/lib64/libQtGui.so.4
#28 0x00000031d29eead4 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00000031d29ed337 in QApplication::x11ProcessEvent () from
/usr/lib64/libQtGui.so.4
#30 0x00000031d2a13ae4 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00000038b903779b in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#32 0x00000038b903af6d in ?? () from /lib64/libglib-2.0.so.0
#33 0x00000038b903b12b in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#34 0x00000031d236a79f in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#35 0x00000031d2a1328f in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00000031d2340cb2 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#37 0x00000031d2340e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#38 0x00000031d23432ed in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#39 0x00000031d74020b5 in kdemain (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/koffice-1.9.98.5/kword/part/main.cpp:38
#40 0x00000038b781e576 in __libc_start_main () from /lib64/libc.so.6
#41 0x00000000004006b9 in _start ()
Comment 1 Jaroslav Reznik 2009-01-16 10:39:23 UTC
Ops, I've missed to fill version info, sorry. 

KWord 2 beta 5 from kde-redhat unstable repos on Fedora 10 (KDE 4.1.96). 
Comment 2 T Zachmann 2009-01-16 10:45:39 UTC
Thanks for reporting the bug. It has already been fixed but did not make it into beta5

*** This bug has been marked as a duplicate of bug 180238 ***