Bug 181369 - Preview of documents in konquerer causes crash
Summary: Preview of documents in konquerer causes crash
Status: RESOLVED FIXED
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KOffice Bug Wranglers
URL:
Keywords:
: 187051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-20 07:07 UTC by Johan Erlands
Modified: 2009-03-14 19:00 UTC (History)
4 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 Johan Erlands 2009-01-20 07:07:19 UTC
Version:           2.0Beta5 (using Devel)
OS:                Linux
Installed from:    Compiled sources

I've tried to preview kspread, kword and kpresenter in konqueror. They all crashes konqueror.
Comment 1 Johan Erlands 2009-01-20 07:08:54 UTC
I'm using kde 4.2.0 RC1 on kubuntu 8.10.
Comment 2 Dario Andres 2009-01-20 13:34:22 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 3 Johan Erlands 2009-01-20 14:47:26 UTC
It's simple to repeat :( Here is one for a ods-file:
Application: Konqueror (konqueror), signal SIGSEGV

Thread 1 (Thread 0xb5f70af0 (LWP 8648)):
[KCrash Handler]
#6  0xb6a0a615 in QWidget::windowTitle () from /usr/lib/libQtGui.so.4
#7  0xb6a14b2f in QWidget::setWindowTitle () from /usr/lib/libQtGui.so.4
#8  0xb1fbbd3a in KoDockerManager::newOptionWidgets (this=0xb067e90, optionWidgetMap=@0xbfcc9ef0, callingView=0xa0de3c8) at /build/buildd/koffice2-1.9.98.5/libs/guiutils/KoDockerManager.cpp:127
#9  0xb1fbccfb in KoDockerManager::qt_metacall (this=0xb067e90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcc9da8)
    at /build/buildd/koffice2-1.9.98.5/obj-i486-linux-gnu/libs/guiutils/KoDockerManager.moc:68
#10 0xb72e3a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb72e47e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb1ee4df9 in KoCanvasController::toolOptionWidgetsChanged (this=0xa725818, _t1=@0xbfcc9ef0, _t2=0xa0de3c8)
    at /build/buildd/koffice2-1.9.98.5/obj-i486-linux-gnu/libs/flake/KoCanvasController.moc:172
#13 0xb1ee5b16 in KoCanvasController::setToolOptionWidgets (this=0xa725818, widgetMap=@0xbfcc9ef0) at /build/buildd/koffice2-1.9.98.5/libs/flake/KoCanvasController.cpp:419
#14 0xb1ef804a in KoToolManager::postSwitchTool (this=0xa117be8) at /build/buildd/koffice2-1.9.98.5/libs/flake/KoToolManager.cpp:414
#15 0xb1ef9851 in KoToolManager::switchTool (this=0xa117be8, tool=0xaff4738, temporary=<value optimized out>) at /build/buildd/koffice2-1.9.98.5/libs/flake/KoToolManager.cpp:364
#16 0xb1efa232 in KoToolManager::switchTool (this=0xa117be8, id=@0xbfcca12c, temporary=<value optimized out>) at /build/buildd/koffice2-1.9.98.5/libs/flake/KoToolManager.cpp:299
#17 0xb1efabfa in KoToolManager::switchToolRequested (this=0xa117be8, id=@0xbfcca12c) at /build/buildd/koffice2-1.9.98.5/libs/flake/KoToolManager.cpp:550
#18 0xb23450e7 in KSpread::View::initialPosition (this=0xa0de3c8) at /build/buildd/koffice2-1.9.98.5/kspread/part/View.cpp:1153
#19 0xb2346c18 in KSpread::View::qt_metacall (this=0xa0de3c8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcca1e8) at /build/buildd/koffice2-1.9.98.5/obj-i486-linux-gnu/kspread/View.moc:197
#20 0xb72e3a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb72e47e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb72e9db7 in ?? () from /usr/lib/libQtCore.so.4
#23 0xb72e9edc in ?? () from /usr/lib/libQtCore.so.4
#24 0xb72de53f in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb69bf8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb69c772e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb786e04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb72cee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb72fcd81 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb72f9520 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb62a66f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb62a9da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb62a9f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb72f9478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6a59ea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb72cd52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb72cd6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb72cfda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb69bf767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0xb7f845f5 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#41 0x080486f2 in _start ()

Comment 4 Johan Erlands 2009-01-20 14:51:27 UTC
And here is one for a odt

Application: Konqueror (konqueror), signal SIGSEGV

Thread 1 (Thread 0xb601eaf0 (LWP 9934)):
[KCrash Handler]
#6  0xb6ab4f19 in QWidget::setContextMenuPolicy () from /usr/lib/libQtGui.so.4
#7  0xb3cda3e0 in KWStatusBar (this=0x94a2db0, statusBar=0x0, view=0x8a7cae8) at /build/buildd/koffice2-1.9.98.5/kword/part/KWStatusBar.cpp:52
#8  0xb3ccdbea in KWView (this=0x8a7cae8, viewMode=@0x87371ec, document=0x8737178, parent=0x87deac0) at /build/buildd/koffice2-1.9.98.5/kword/part/KWView.cpp:126
#9  0xb3cc1f23 in KWDocument::createViewInstance (this=0x8737178, parent=0x87deac0) at /build/buildd/koffice2-1.9.98.5/kword/part/KWDocument.cpp:157
#10 0xb390bef1 in KoDocument::createView (this=0x8737178, parent=0x87deac0) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:338
#11 0xb3919f81 in KoDocument::openFile (this=0x8737178) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:1577
#12 0xb7eb4afa in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4
#13 0xb3914862 in KoDocument::openUrl (this=0x8737178, _url=@0x8298d68) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:1385
#14 0xb7fa6987 in ?? () from /usr/lib/libkdeinit4_konqueror.so
#15 0xb7fe431c in ?? () from /usr/lib/libkdeinit4_konqueror.so
#16 0xb800723c in ?? () from /usr/lib/libkdeinit4_konqueror.so
#17 0xb738abfb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#18 0xb738c771 in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb6ac5004 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb6e19517 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#21 0xb7a05bf7 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#22 0xb7a4b17c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#23 0xb7ffe96d in ?? () from /usr/lib/libkdeinit4_konqueror.so
#24 0xb6a6d8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#25 0xb6a757fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#26 0xb791c04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#27 0xb737ce61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#28 0xb737dae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#29 0xb737dcdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#30 0xb73a782f in ?? () from /usr/lib/libQtCore.so.4
#31 0xb63546f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6357da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb6357f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb73a7478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6b07ea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb737b52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb737b6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb737dda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb6a6d767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0xb80325f5 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#41 0x080486f2 in _start ()

Comment 5 Dario Andres 2009-01-20 14:53:29 UTC
This may be related to bug 173750
Comment 6 Johan Erlands 2009-01-20 15:25:05 UTC
The reports looks similar...
 I'll add the backtrace for kpresentel as well.

Application: Konqueror (konqueror), signal SIGSEGV

Thread 1 (Thread 0xb5f12af0 (LWP 10235)):
[KCrash Handler]
#6  0xb3ba5647 in KoPADocumentStructureDocker::setPart (this=0x0, part=0x9a75d38) at /build/buildd/koffice2-1.9.98.5/libs/kopageapp/KoPADocumentStructureDocker.cpp:196
#7  0xb3b933de in KoPAView::initGUI (this=0x995e7d0) at /build/buildd/koffice2-1.9.98.5/libs/kopageapp/KoPAView.cpp:187
#8  0xb3b9646f in KoPAView (this=0x995e7d0, __vtt_parm=0xb3c17e64, document=0x9a75d38, parent=0x9a72a60) at /build/buildd/koffice2-1.9.98.5/libs/kopageapp/KoPAView.cpp:86
#9  0xb3bd83c6 in KPrView (this=0x995e7d0, document=0x9a75d38, parent=0x9a72a60) at /build/buildd/koffice2-1.9.98.5/kpresenter/part/KPrView.cpp:57
#10 0xb3bd449b in KPrDocument::createViewInstance (this=0x9a75d38, parent=0x9a72a60) at /build/buildd/koffice2-1.9.98.5/kpresenter/part/KPrDocument.cpp:96
#11 0xb385bef1 in KoDocument::createView (this=0x9a75d38, parent=0x9a72a60) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:338
#12 0xb3869f81 in KoDocument::openFile (this=0x9a75d38) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:1577
#13 0xb7da8afa in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4
#14 0xb3864862 in KoDocument::openUrl (this=0x9a75d38, _url=@0x942d6a8) at /build/buildd/koffice2-1.9.98.5/libs/main/KoDocument.cpp:1385
#15 0xb7e9a987 in ?? () from /usr/lib/libkdeinit4_konqueror.so
#16 0xb7ed831c in ?? () from /usr/lib/libkdeinit4_konqueror.so
#17 0xb7efb23c in ?? () from /usr/lib/libkdeinit4_konqueror.so
#18 0xb727ebfb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#19 0xb7280771 in QObject::event () from /usr/lib/libQtCore.so.4
#20 0xb69b9004 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb6d0d517 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#22 0xb78f9bf7 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#23 0xb793f17c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#24 0xb7ef296d in ?? () from /usr/lib/libkdeinit4_konqueror.so
#25 0xb69618ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb69697fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb781004d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb7270e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb7271ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#30 0xb7271cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#31 0xb729b82f in ?? () from /usr/lib/libQtCore.so.4
#32 0xb62486f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb624bda3 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb624bf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb729b478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#36 0xb69fbea5 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb726f52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#38 0xb726f6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#39 0xb7271da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#40 0xb6961767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#41 0xb7f265f5 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#42 0x080486f2 in _start ()

Comment 7 Jan Hambrecht 2009-03-01 14:04:50 UTC
SVN commit 933604 by jaham:

fix embedding in konqueror

CCBUG:181369
CCMAIL:koffice-devel@kde.org



 M  +2 -1      View.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=933604
Comment 8 Jan Hambrecht 2009-03-01 14:08:22 UTC
KPresenter is also fixed. For KWord there is a patch pending on reviewboard (http://reviewboard.kde.org/r/176/).
Comment 9 Thomas Zander 2009-03-11 22:53:55 UTC
SVN commit 938459 by zander:

Fix crash on embedding
BUG:181369

 M  +2 -1      KWView.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=938459
Comment 10 Thomas Zander 2009-03-14 19:00:22 UTC
*** Bug 187051 has been marked as a duplicate of this bug. ***