Bug 173750 - kword kpart crashes konqueror and ark (embedded viewer)
Summary: kword kpart crashes konqueror and ark (embedded viewer)
Status: RESOLVED FIXED
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:
: 177374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-28 11:36 UTC by George Kiagiadakis
Modified: 2009-01-16 12:27 UTC (History)
2 users (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 George Kiagiadakis 2008-10-28 11:36:49 UTC
Version:           2.0-beta2 (using Devel)
Compiler:          gcc version 4.3.2 (Debian 4.3.2-1) 
OS:                Linux
Installed from:    Compiled sources

Steps to reproduce: Open any kword supported document in konqueror using the embedded kword viewer.

Backtrace:
Application: Konqueror (konqueror), signal SIGSEGV
0x00007f609b9fcff1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 22129)]

Thread 2 (Thread 0x41789950 (LWP 22151)):
#0  0x00007f609ba27ce2 in select () from /lib/libc.so.6
#1  0x00007f609ef3f083 in QProcessManager::run (this=0x1a82410) at io/qprocess_unix.cpp:301
#2  0x00007f609ee704ed in QThreadPrivate::start (arg=0x1a82410) at thread/qthread_unix.cpp:185
#3  0x00007f609ebeafc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f609ba2e5ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f60a0c9e6f0 (LWP 22129)):
[KCrash Handler]
#5  0x00007f608e0c392c in KoToolDocker::removeOptionWidget (this=0x0) at /home/gkiagia/kde/src/koffice/libs/guiutils/KoToolDocker.cpp:57
#6  0x00007f608e092b61 in KoDockerManager::newOptionWidgets (this=0x3281a90, optionWidgetMap=@0x7fffa8dcb060) at /home/gkiagia/kde/src/koffice/libs/guiutils/KoDockerManager.cpp:71
#7  0x00007f608e092d55 in KoDockerManager::qt_metacall (this=0x3281a90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffa8dcaf70)
    at /home/gkiagia/kde/build/koffice/libs/guiutils/KoDockerManager.moc:68
#8  0x00007f609ef6eda8 in QMetaObject::activate (sender=0x1fecc50, from_signal_index=38, to_signal_index=38, argv=0x7fffa8dcaf70) at kernel/qobject.cpp:3028
#9  0x00007f609ef6f21d in QMetaObject::activate (sender=0x1fecc50, m=0x7f608e020560, local_signal_index=7, argv=0x7fffa8dcaf70) at kernel/qobject.cpp:3101
#10 0x00007f608dd774b1 in KoCanvasController::toolOptionWidgetsChanged (this=0x1fecc50, _t1=@0x7fffa8dcb060) at /home/gkiagia/kde/build/koffice/libs/flake/KoCanvasController.moc:172
#11 0x00007f608dd774d1 in KoCanvasController::setToolOptionWidgets (this=0x1fecc50, widgetMap=@0x7fffa8dcb060) at /home/gkiagia/kde/src/koffice/libs/flake/KoCanvasController.cpp:418
#12 0x00007f608dd8931c in KoToolManager::postSwitchTool (this=0x1f99040) at /home/gkiagia/kde/src/koffice/libs/flake/KoToolManager.cpp:411
#13 0x00007f608dd89ff4 in KoToolManager::switchTool (this=0x1f99040, tool=0x238d520, temporary=false) at /home/gkiagia/kde/src/koffice/libs/flake/KoToolManager.cpp:362
#14 0x00007f608dd8a2a0 in KoToolManager::switchTool (this=0x1f99040, id=@0x7fffa8dcb4b0, temporary=false) at /home/gkiagia/kde/src/koffice/libs/flake/KoToolManager.cpp:299
#15 0x00007f608dd8a75e in KoToolManager::switchToolRequested (this=0x1f99040, id=@0x7fffa8dcb4b0) at /home/gkiagia/kde/src/koffice/libs/flake/KoToolManager.cpp:547
#16 0x00007f608e627b41 in KWDocument::createViewInstance (this=0x24381c0, parent=0x1e324c0) at /home/gkiagia/kde/src/koffice/kword/part/KWDocument.cpp:169
#17 0x00007f608d586d18 in KoDocument::createView (this=0x24381c0, parent=0x1e324c0) at /home/gkiagia/kde/src/koffice/libs/main/KoDocument.cpp:338
#18 0x00007f608d58d6f7 in KoDocument::openFile (this=0x24381c0) at /home/gkiagia/kde/src/koffice/libs/main/KoDocument.cpp:1577
#19 0x00007f609d62e746 in KParts::ReadOnlyPartPrivate::_k_slotJobFinished (this=0x243bbb0, job=0x1c66070) at /home/gkiagia/kde/src/KDE/kdelibs/kparts/part.cpp:636
#20 0x00007f609d62f84d in KParts::ReadOnlyPart::qt_metacall (this=0x24381c0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa8dcbd70) at /home/gkiagia/kde/build/KDE/kdelibs/kparts/part.moc:162
#21 0x00007f609d62f95a in KParts::ReadWritePart::qt_metacall (this=0x24381c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffa8dcbd70) at /home/gkiagia/kde/build/KDE/kdelibs/kparts/part.moc:268
#22 0x00007f608d59258a in KoDocument::qt_metacall (this=0x24381c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffa8dcbd70) at /home/gkiagia/kde/build/koffice/libs/main/KoDocument.moc:104
#23 0x00007f608e61c893 in KWDocument::qt_metacall (this=0x24381c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffa8dcbd70) at /home/gkiagia/kde/build/koffice/kword/part/moc_KWDocument.cpp:80
#24 0x00007f609ef6eda8 in QMetaObject::activate (sender=0x1c66070, from_signal_index=7, to_signal_index=7, argv=0x7fffa8dcbd70) at kernel/qobject.cpp:3028
#25 0x00007f609ef6f21d in QMetaObject::activate (sender=0x1c66070, m=0x7f609f93d2a0, local_signal_index=3, argv=0x7fffa8dcbd70) at kernel/qobject.cpp:3101
#26 0x00007f609f5c266d in KJob::result (this=0x1c66070, _t1=0x1c66070) at /home/gkiagia/kde/build/KDE/kdelibs/kdecore/kjob.moc:186
#27 0x00007f609f5c2b51 in KJob::emitResult (this=0x1c66070) at /home/gkiagia/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:294
#28 0x00007f60a0088afd in KIO::FileCopyJob::slotResult (this=0x1c66070, job=0x1e351f0) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/job.cpp:2211
#29 0x00007f60a00894eb in KIO::FileCopyJob::qt_metacall (this=0x1c66070, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffa8dcbfa0) at /home/gkiagia/kde/build/KDE/kdelibs/kio/jobclasses.moc:658
#30 0x00007f609ef6eda8 in QMetaObject::activate (sender=0x1e351f0, from_signal_index=7, to_signal_index=7, argv=0x7fffa8dcbfa0) at kernel/qobject.cpp:3028
#31 0x00007f609ef6f21d in QMetaObject::activate (sender=0x1e351f0, m=0x7f609f93d2a0, local_signal_index=3, argv=0x7fffa8dcbfa0) at kernel/qobject.cpp:3101
#32 0x00007f609f5c266d in KJob::result (this=0x1e351f0, _t1=0x1e351f0) at /home/gkiagia/kde/build/KDE/kdelibs/kdecore/kjob.moc:186
#33 0x00007f609f5c2b51 in KJob::emitResult (this=0x1e351f0) at /home/gkiagia/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:294
#34 0x00007f60a0082dc6 in KIO::SimpleJob::slotFinished (this=0x1e351f0) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/job.cpp:489
#35 0x00007f60a0083191 in KIO::TransferJob::slotFinished (this=0x1e351f0) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/job.cpp:958
#36 0x00007f60a0089904 in KIO::TransferJob::qt_metacall (this=0x1e351f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffa8dcc380) at /home/gkiagia/kde/build/KDE/kdelibs/kio/jobclasses.moc:336
#37 0x00007f609ef6eda8 in QMetaObject::activate (sender=0x1cc0a10, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3028
#38 0x00007f609ef6f21d in QMetaObject::activate (sender=0x1cc0a10, m=0x7f60a044aee0, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#39 0x00007f60a0125a34 in KIO::SlaveInterface::finished (this=0x1cc0a10) at /home/gkiagia/kde/build/KDE/kdelibs/kio/slaveinterface.moc:163
#40 0x00007f60a01274f7 in KIO::SlaveInterface::dispatch (this=0x1cc0a10, _cmd=104, rawdata=@0x7fffa8dcc6e0) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:175
#41 0x00007f60a01273d1 in KIO::SlaveInterface::dispatch (this=0x1cc0a10) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#42 0x00007f60a011afbf in KIO::Slave::gotInput (this=0x1cc0a10) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/slave.cpp:322
#43 0x00007f60a011c1dd in KIO::Slave::qt_metacall (this=0x1cc0a10, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffa8dcc840) at /home/gkiagia/kde/build/KDE/kdelibs/kio/slave.moc:75
#44 0x00007f609ef6eda8 in QMetaObject::activate (sender=0x1b6d6a0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3028
#45 0x00007f609ef6f21d in QMetaObject::activate (sender=0x1b6d6a0, m=0x7f60a0444540, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#46 0x00007f60a0055042 in KIO::Connection::readyRead (this=0x1b6d6a0) at /home/gkiagia/kde/build/KDE/kdelibs/kio/connection.moc:84
#47 0x00007f60a0055e4a in KIO::ConnectionPrivate::dequeue (this=0x1edbf00) at /home/gkiagia/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#48 0x00007f60a0056ce0 in KIO::Connection::qt_metacall (this=0x1b6d6a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1b72b40) at /home/gkiagia/kde/build/KDE/kdelibs/kio/connection.moc:72
#49 0x00007f609ef68ef9 in QMetaCallEvent::placeMetaCall (this=0x1bc0ac0, object=0x1b6d6a0) at kernel/qobject.cpp:529
#50 0x00007f609ef6d126 in QObject::event (this=0x1b6d6a0, e=0x1bc0ac0) at kernel/qobject.cpp:1152
#51 0x00007f609da3cd0d in QApplicationPrivate::notify_helper (this=0x1a7e930, receiver=0x1b6d6a0, e=0x1bc0ac0) at kernel/qapplication.cpp:3803
#52 0x00007f609da3d029 in QApplication::notify (this=0x7fffa8dcd6c0, receiver=0x1b6d6a0, e=0x1bc0ac0) at kernel/qapplication.cpp:3393
#53 0x00007f609fb66722 in KApplication::notify (this=0x7fffa8dcd6c0, receiver=0x1b6d6a0, event=0x1bc0ac0) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#54 0x00007f609ef5a92b in QCoreApplication::notifyInternal (this=0x7fffa8dcd6c0, receiver=0x1b6d6a0, event=0x1bc0ac0) at kernel/qcoreapplication.cpp:583
#55 0x00007f609ef5e3c9 in QCoreApplication::sendEvent (receiver=0x1b6d6a0, event=0x1bc0ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#56 0x00007f609ef5aead in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a68de0) at kernel/qcoreapplication.cpp:1195
#57 0x00007f609ef5b084 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#58 0x00007f609ef88fa3 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#59 0x00007f609ef881ec in postEventSourceDispatch (s=0x1a81e50) at kernel/qeventdispatcher_glib.cpp:205
#60 0x00007f6099c5078b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0x00007f6099c53f5d in ?? () from /usr/lib/libglib-2.0.so.0
#62 0x00007f6099c5411b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0x00007f609ef8752e in QEventDispatcherGlib::processEvents (this=0x1a7d740, flags={i = -1461922640}) at kernel/qeventdispatcher_glib.cpp:319
#64 0x00007f609dadc1cb in QGuiEventDispatcherGlib::processEvents (this=0x1a7d740, flags={i = -1461922544}) at kernel/qguieventdispatcher_glib.cpp:198
#65 0x00007f609ef57b8f in QEventLoop::processEvents (this=0x7fffa8dcd5c0, flags={i = -1461922448}) at kernel/qeventloop.cpp:143
#66 0x00007f609ef57d8a in QEventLoop::exec (this=0x7fffa8dcd5c0, flags={i = -1461922352}) at kernel/qeventloop.cpp:190
#67 0x00007f609ef5b190 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#68 0x00007f609da3ca6a in QApplication::exec () at kernel/qapplication.cpp:3331
#69 0x00007f60a09766e5 in kdemain (argc=1, argv=0x7fffa8dce338) at /home/gkiagia/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257
#70 0x00000000004008a7 in main (argc=1, argv=0x7fffa8dce338) at /home/gkiagia/kde/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
Comment 1 Dario Andres 2008-12-10 11:54:00 UTC
*** Bug 177374 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Zander 2008-12-11 13:17:49 UTC
Fixed in 895414
Comment 3 Ritesh Raj Sarraf 2009-01-15 08:33:47 UTC
(In reply to comment #2)
> Fixed in 895414
> 

What beta release of koffice does that relate to?

I just tried Koffice Beta 5 and got the crash.

Application: Ark (ark), signal SIGSEGV

Thread 1 (Thread 0xb5fbf6c0 (LWP 9631)):
[KCrash Handler]
#6  0xb6ebfd59 in QWidget::setContextMenuPolicy (this=0x0, policy=Qt::ActionsContextMenu) at kernel/qwidget.cpp:6144
#7  0xb3abd3f0 in KWStatusBar (this=0xaae6ad0, statusBar=0x0, view=0xa4290d8) at /tmp/buildd/koffice-1.9.98.5/kword/part/KWStatusBar.cpp:52
#8  0xb3ab0bda in KWView (this=0xa4290d8, viewMode=@0xa3174e4, document=0xa317470, parent=0xa37bd28) at /tmp/buildd/koffice-1.9.98.5/kword/part/KWView.cpp:126
#9  0xb3aa4f13 in KWDocument::createViewInstance (this=0xa317470, parent=0xa37bd28) at /tmp/buildd/koffice-1.9.98.5/kword/part/KWDocument.cpp:157
#10 0xb33fdeb1 in KoDocument::createView (this=0xa317470, parent=0xa37bd28) at /tmp/buildd/koffice-1.9.98.5/libs/main/KoDocument.cpp:338
#11 0xb340bf61 in KoDocument::openFile (this=0xa317470) at /tmp/buildd/koffice-1.9.98.5/libs/main/KoDocument.cpp:1577
#12 0xb7eaf6fa in KParts::ReadOnlyPart::openUrl (this=0xa317470, url=@0xbf831510) at ../../kparts/part.cpp:558
#13 0xb3406832 in KoDocument::openUrl (this=0xa317470, _url=@0xbf8315e4) at /tmp/buildd/koffice-1.9.98.5/libs/main/KoDocument.cpp:1385
#14 0xb4614557 in ArkViewer::viewInInternalViewer (this=0xbf8316b4, filename=@0xbf831780) at ../../../ark/part/arkviewer.cpp:158
#15 0xb4614c59 in ArkViewer::view (filename=@0xbf831780, parent=0xa1124f0) at ../../../ark/part/arkviewer.cpp:106
#16 0xb4608ce1 in Part::slotPreviewExtracted (this=0xa0e6f78, job=0xa2c44d8) at ../../../ark/part/part.cpp:454
#17 0xb460634f in Part::qt_metacall (this=0xa0e6f78, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xa079188) at moc_part.cpp:120
#18 0xb6c65d7b in QMetaCallEvent::placeMetaCall (this=0xa2cc928, object=0xa0e6f78) at kernel/qobject.cpp:529
#19 0xb6c678f1 in QObject::event (this=0xa0e6f78, e=0xa2cc928) at kernel/qobject.cpp:1155
#20 0xb6e7879c in QApplicationPrivate::notify_helper (this=0x9fe00b0, receiver=0xa0e6f78, e=0xa2cc928) at kernel/qapplication.cpp:3803
#21 0xb6e8061e in QApplication::notify (this=0xbf831fe4, receiver=0xa0e6f78, e=0xa2cc928) at kernel/qapplication.cpp:3393
#22 0xb7a4f77d in KApplication::notify (this=0xbf831fe4, receiver=0xa0e6f78, event=0xa2cc928) at ../../kdeui/kernel/kapplication.cpp:307
#23 0xb6c580e1 in QCoreApplication::notifyInternal (this=0xbf831fe4, receiver=0xa0e6f78, event=0xa2cc928) at kernel/qcoreapplication.cpp:587
#24 0xb6c58d65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fd42f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#25 0xb6c58f5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#26 0xb6f12e6f in QEventDispatcherX11::processEvents (this=0x9fdfbd0, flags={i = -1081925992}) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#27 0xb6c567aa in QEventLoop::processEvents (this=0xbf831f10, flags={i = -1081925928}) at kernel/qeventloop.cpp:143
#28 0xb6c5696a in QEventLoop::exec (this=0xbf831f10, flags={i = -1081925864}) at kernel/qeventloop.cpp:194
#29 0xb6c59025 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#30 0xb6e78617 in QApplication::exec () at kernel/qapplication.cpp:3331
#31 0x08051fca in main (argc=5, argv=0xbf832384) at ../../../ark/app/main.cpp:204


Comment 4 Ritesh Raj Sarraf 2009-01-15 08:36:19 UTC
Should the bug be re-opened?
And how to re-open it?
Comment 5 Dario Andres 2009-01-16 12:27:21 UTC
@Ritesh: the backtrace is a lot different from the original one. So, even when the effect (ark crashing) is the same, the crash source is different. I think you need to file a new bug report with your information. Thanks :)