Summary: | Calligratables crashes when importing just ANY document | ||
---|---|---|---|
Product: | [Applications] calligrasheets | Reporter: | Dyrver Eriksson <dyrver.eriksson> |
Component: | general | Assignee: | Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | mstraf, sebsauer |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | some old fake accounting transfer. |
Description
Dyrver Eriksson
2011-07-30 23:36:50 UTC
Created attachment 62354 [details]
some old fake accounting transfer.
See if you can import this without issues :)
This doesn't only happen with .skv files. Importing/loading that attached skv file direct using "calligratables ~/bokf_trans_198209258956.skv works as expected but as soon as I already have a calligratables instance and try to use File=>Import it crashes with any document including skv and ods. Updated backtrace; [KCrash Handler] #6 0x00007f90a74cc488 in QWidget::window() const () from /usr/lib64/libQtGui.so.4 #7 0x00007f90a74df84a in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib64/libQtGui.so.4 #8 0x00007f90a74e0142 in QWidget::setParent(QWidget*) () from /usr/lib64/libQtGui.so.4 #9 0x00007f90abfc8c3d in KoToolDocker::Private::recreateLayout (this=0xa6fe00, optionWidgetList=...) at /home/snoopy/src/calligra/libs/main/KoToolDocker.cpp:77 #10 0x00007f90abfc85af in KoToolDocker::setOptionWidgets (this=0xa57630, optionWidgetList=...) at /home/snoopy/src/calligra/libs/main/KoToolDocker.cpp:269 #11 0x00007f90abf6e980 in KoDockerManager::newOptionWidgets (this=0xa5a5c0, optionWidgetList=...) at /home/snoopy/src/calligra/libs/main/KoDockerManager.cpp:168 #12 0x00007f90abf6ea98 in KoDockerManager::qt_metacall (this=0xa5a5c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffb9a021d0) at /home/snoopy/src/build/calligra/libs/main/KoDockerManager.moc:78 #13 0x00007f90a6872a5f in QMetaObject::activate (sender=0x168d410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb9a021d0) at kernel/qobject.cpp:3278 #14 0x00007f90ab0ca2a1 in KoCanvasControllerWidget::toolOptionWidgetsChanged (this=0x168d410, _t1=...) at /home/snoopy/src/build/calligra/libs/flake/KoCanvasControllerWidget.moc:97 #15 0x00007f90ab0c9615 in KoCanvasControllerWidget::setToolOptionWidgets (this=0x168d410, widgetMap=...) at /home/snoopy/src/calligra/libs/flake/KoCanvasControllerWidget.cpp:534 #16 0x00007f90ab0dd637 in KoToolManager::Private::postSwitchTool (this=0xe76990, temporary=false) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:385 #17 0x00007f90ab0dc3f3 in KoToolManager::Private::switchTool (this=0xe76990, tool=0x1841e00, temporary=false) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:263 #18 0x00007f90ab0dc77e in KoToolManager::Private::switchTool (this=0xe76990, id=..., temporary=false) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:289 #19 0x00007f90ab0e1130 in KoToolManager::switchToolRequested (this=0xe768d0, id=...) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:856 #20 0x00007f909491f4ea in Calligra::Tables::View::finishLoading (this=0x915d70) at /home/snoopy/src/calligra/tables/part/View.cpp:1112 The problem is that the CellToolOptionWidget instance remembered in the KoToolBase is deleted in between on calling setRootDocument; #0 Calligra::Tables::CellToolOptionWidget::~CellToolOptionWidget (this=0xa237e0, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/tables/ui/CellToolOptionWidget.cpp:105 #1 0x00007fffe02c76d6 in Calligra::Tables::CellToolOptionWidget::~CellToolOptionWidget (this= 0xa237e0, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/tables/ui/CellToolOptionWidget.cpp:106 #2 0x00007ffff69e6f15 in qDeleteAll<QList<QWidget*>::const_iterator> (begin=..., end=...) at /usr/include/QtCore/qalgorithms.h:322 #3 0x00007ffff69e68bc in qDeleteAll<QList<QWidget*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330 #4 0x00007ffff69e6489 in KoToolBasePrivate::~KoToolBasePrivate (this=0xefafa0, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/libs/flake/KoToolBase_p.h:57 #5 0x00007ffff69e51b2 in KoToolBase::~KoToolBase (this=0xefaf70, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/libs/flake/KoToolBase.cpp:62 #6 0x00007ffff6a7cc68 in KoInteractionTool::~KoInteractionTool (this=0xefaf70, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/libs/flake/tools/KoInteractionTool.cpp:33 #7 0x00007fffe02a66d0 in Calligra::Tables::CellToolBase::~CellToolBase (this=0xefaf70, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/tables/ui/CellToolBase.cpp:857 #8 0x00007fffe0258f16 in Calligra::Tables::CellTool::~CellTool (this=0xefaf70, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/tables/part/CellTool.cpp:104 #9 0x00007fffe0258f48 in Calligra::Tables::CellTool::~CellTool (this=0xefaf70, __in_chrg=<value optimized out>) at /home/snoopy/src/calligra/tables/part/CellTool.cpp:107 #10 0x00007ffff69ff045 in KoToolManager::Private::detachCanvas (this=0xdd9ce0, controller= 0xdd87b8) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:458 #11 0x00007ffff6a01f14 in KoToolManager::removeCanvasController (this=0xdd9c20, controller= 0xdd87b8) at /home/snoopy/src/calligra/libs/flake/KoToolManager.cpp:833 #12 0x00007fffe027c476 in Calligra::Tables::View::~View (this=0xb1d3f0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/snoopy/src/calligra/tables/part/View.cpp:648 #13 0x00007fffe027c566 in Calligra::Tables::View::~View (this=0xb1d3f0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/snoopy/src/calligra/tables/part/View.cpp:655 #14 0x00007ffff78c1ae3 in KoMainWindow::setRootDocument (this=0x963a40, doc=0x1367440) at /home/snoopy/src/calligra/libs/main/KoMainWindow.cpp:496 #15 0x00007ffff78c36aa in KoMainWindow::slotLoadCompleted (this=0x963a40) at /home/snoopy/src/calligra/libs/main/KoMainWindow.cpp:711 #16 0x00007ffff78cbd27 in KoMainWindow::qt_metacall (this=0x963a40, _c= QMetaObject::InvokeMetaMethod, _id=34, _a=0x7fffffffb600) at /home/snoopy/src/build/calligra/libs/main/KoMainWindow.moc:175 #17 0x00007ffff2193a5f in QMetaObject::activate (sender=0x1367440, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278 #18 0x00007ffff5181562 in KParts::ReadOnlyPartPrivate::openLocalFile() () from /usr/lib64/libkparts.so.4 Fixed with 76ae2c395075d42fca26430b28554393f0818400 *** Bug 309599 has been marked as a duplicate of this bug. *** |