Bug 173732 - OpenCalc file importer broken
Summary: OpenCalc file importer broken
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2008-10-28 07:08 UTC by Michael Leupold
Modified: 2010-06-29 21:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (6.24 KB, application/octet-stream)
2008-10-28 07:18 UTC, Michael Leupold
Details
testcase (2.94 KB, application/octet-stream)
2008-10-28 07:20 UTC, Michael Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Leupold 2008-10-28 07:08:38 UTC
Version:           2.0 beta-2 (using 4.1.71 (KDE 4.1.71 (KDE 4.2 >= 20081023)), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.7quechua-0.1intelquechua-0.1intel

I can't seem to open any OpenCalc file. I'll attach backtraces and two testcases separately.
Comment 1 Michael Leupold 2008-10-28 07:12:00 UTC
On opening a file I created using OpenCalc 3.0 (beta) I get the following warning:
"This document was created with OpenOffice.org version '%1(I18N_ARGUMENT_MISSING)'. This filter was written for version 1.0. Reading this file could cause strange behavior, crashes or incorrect display of the data. Do you want to continue converting the document?"

As I'm brave I told it to go on. That made it crash. I don't know much about the file format but I saved the file in OpenCalc 1.0 format so I expected neither the warning nor the crash.
Comment 2 Michael Leupold 2008-10-28 07:17:22 UTC
Backtrace I get on opening the file created with OpenCalc 3.0 beta:

Thread 1 (Thread 0x7f99e61f97a0 (LWP 18415)):
[KCrash Handler]
#4  QBasicAtomicInt::operator!= (this=0x10, value=1) at /home/lemma/kde/trunk/build/debug/include/QtCore/qbasicatomic.h:65
#5  0x00007f99e4b00d25 in QHash<int, KoXmlVector<KoXmlPackedItem> >::detach (this=0xbc1948) at /home/lemma/kde/trunk/build/debug/include/QtCore/qhash.h:280
#6  0x00007f99e4b01b68 in QHash<int, KoXmlVector<KoXmlPackedItem> >::operator[] (this=0x10, akey=@0x1) at /home/lemma/kde/trunk/build/debug/include/QtCore/qhash.h:716
#7  0x00007f99e4b01c06 in KoXmlPackedDocument::itemCount (this=<value optimized out>, depth=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:715
#8  0x00007f99e4afcfdb in KoXmlNodeData::loadChildren (this=0xba6e00, depth=1) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:1541
#9  0x00007f99e4afd8ca in KoXmlNode::namedItemNS (this=0x7fffee38c4f0, nsURI=@0x7fffee38c1d0, name=@0x7fffee38c1c0) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:2185
#10 0x00007f99e4afd987 in KoXml::namedItemNS (node=@0x7fffee38c4f0, nsURI=0x7f99cb721568 "http://openoffice.org/2000/style", localName=<value optimized out>)
    at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:2763
#11 0x00007f99cb70f27a in OpenCalcImport::loadTableMasterStyle (this=0xb94000, table=0xbcf4d0, stylename=@0x7fffee38cbe0)
    at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:1207
#12 0x00007f99cb7177f8 in OpenCalcImport::parseBody (this=0xb94000, numOfTables=3) at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:1517
#13 0x00007f99cb7183ae in OpenCalcImport::convert (this=0xb94000, from=@0x85a700, to=@0x85a708) at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:2770
#14 0x00007f99e5cf9e03 in KoFilterChain::ChainLink::invokeFilter (this=0x85a6f0, parentChainLink=0x0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterChain.cpp:67
#15 0x00007f99e5cf9f71 in KoFilterChain::invokeChain (this=0xb66630) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterChain.cpp:177
#16 0x00007f99e5ce3961 in KoFilterManager::importDocument (this=0xb4ce40, url=@0x7fffee38d7b0, status=@0x7fffee38d97c) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterManager.cpp:235
#17 0x00007f99e5cce109 in KoDocument::openFile (this=0x779a80) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:1457
#18 0x00007f99e2d933cb in KParts::ReadOnlyPart::openUrl (this=0x779a80, url=@0x7fffee38dc50) at /home/lemma/kde/trunk/source/KDE/kdelibs/kparts/part.cpp:557
#19 0x00007f99e5ccf351 in KoDocument::openUrl (this=0x779a80, _url=@0x7fffee38e0e0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:1385
#20 0x00007f99e5cc937a in KoDocument::openExistingFile (this=0x10, url=@0x1) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:2565
#21 0x00007f99e5cd287c in KoDocument::qt_metacall (this=0x779a80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffee38df30)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoDocument.moc:124
#22 0x00007f99d826d525 in KSpread::Doc::qt_metacall (this=0x10, _c=QMetaObject::ReadProperty, _id=-298270256, _a=0x7fffee38c1c0) at /home/lemma/kde/trunk/build/debug/build/koffice/kspread/Doc.moc:72
#23 0x00007f99e42f58d1 in QMetaObject::activate (sender=0x8646a0, from_signal_index=27, to_signal_index=27, argv=0x7fffee38df30)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#24 0x00007f99e42f5e57 in QMetaObject::activate (sender=0x8646a0, m=0x7f99e5f6e400, local_signal_index=0, argv=0x7fffee38df30)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#25 0x00007f99e5d2aec2 in KoOpenPane::openExistingFile (this=0x10, _t1=<value optimized out>) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:96
#26 0x00007f99e5d2b10f in KoOpenPane::qt_metacall (this=0x8646a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffee38e0c0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:79
#27 0x00007f99e42f58d1 in QMetaObject::activate (sender=0x8a9110, from_signal_index=27, to_signal_index=27, argv=0x7fffee38e0c0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#28 0x00007f99e42f5e57 in QMetaObject::activate (sender=0x8a9110, m=0x7f99e5f6fe00, local_signal_index=0, argv=0x7fffee38e0c0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#29 0x00007f99e5d3cb82 in KoExistingDocumentPane::openExistingUrl (this=0x10, _t1=<value optimized out>) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoExistingDocumentPane.moc:81
#30 0x00007f99e5d3cc1a in KoExistingDocumentPane::onAccepted (this=0x8a9110) at /home/lemma/kde/trunk/source/koffice/libs/main/KoExistingDocumentPane.cpp:62
#31 0x00007f99e5d3cc9a in KoExistingDocumentPane::qt_metacall (this=0x8a9110, _c=QMetaObject::InvokeMetaMethod, _id=12202128, _a=0x7fffee38e1d0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoExistingDocumentPane.moc:70
#32 0x00007f99e42f58d1 in QMetaObject::activate (sender=0x8590a0, from_signal_index=31, to_signal_index=31, argv=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#33 0x00007f99e42f5e57 in QMetaObject::activate (sender=0x8590a0, m=0x7f99e2d6c6a0, local_signal_index=4, argv=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#34 0x00007f99e2b1e6b4 in KFileWidget::accepted (this=0x8590a0) at /home/lemma/kde/trunk/build/debug/build/KDE/kdelibs/kfile/kfilewidget.moc:173
#35 0x00007f99e2b24fda in KFileWidget::slotOk (this=0x8590a0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kfile/kfilewidget.cpp:918
#36 0x00007f99e2b2671a in KFileWidget::qt_metacall (this=0x8590a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffee38e940)
    at /home/lemma/kde/trunk/build/debug/build/KDE/kdelibs/kfile/kfilewidget.moc:117
#37 0x00007f99e42f58d1 in QMetaObject::activate (sender=0x940bd0, from_signal_index=29, to_signal_index=30, argv=0x7fffee38e940)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#38 0x00007f99e42f5be5 in QMetaObject::activate (sender=0x940bd0, m=0x7f99e5c59240, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fffee38e940)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3121
#39 0x00007f99e57dd74f in QAbstractButton::clicked (this=0x940bd0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#40 0x00007f99e54e92a0 in QAbstractButtonPrivate::emitClicked (this=0xa307e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#41 0x00007f99e54ea587 in QAbstractButtonPrivate::click (this=0xa307e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#42 0x00007f99e54ea82e in QAbstractButton::mouseReleaseEvent (this=0x940bd0, e=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#43 0x00007f99e5189d76 in QWidget::event (this=0x940bd0, event=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7163
#44 0x00007f99e54e9249 in QAbstractButton::event (this=0x940bd0, e=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#45 0x00007f99e55aaa63 in QPushButton::event (this=0x940bd0, e=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#46 0x00007f99e5123643 in QApplicationPrivate::notify_helper (this=0x617650, receiver=0x940bd0, e=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3803
#47 0x00007f99e5124262 in QApplication::notify (this=0x7fffee390400, receiver=0x940bd0, e=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3528
#48 0x00007f99e2374e32 in KApplication::notify (this=0x7fffee390400, receiver=0x940bd0, event=0x7fffee38f4e0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#49 0x00007f99e42dd658 in QCoreApplication::notifyInternal (this=0x7fffee390400, receiver=0x940bd0, event=0x7fffee38f4e0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#50 0x00007f99e51317a3 in QCoreApplication::sendSpontaneousEvent (receiver=0x940bd0, event=0x7fffee38f4e0)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:212
#51 0x00007f99e51287bb in QApplicationPrivate::sendMouseEvent (receiver=0x940bd0, event=0x7fffee38f4e0, alienWidget=0x0, nativeWidget=0x940bd0, buttonDown=0x7f99e5c734e8, 
    lastMouseReceiver=@0x7f99e5c734f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2793
#52 0x00007f99e51af46f in QETWidget::translateMouseEvent (this=0x940bd0, event=0x7fffee38fff0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4042
#53 0x00007f99e51accc3 in QApplication::x11ProcessEvent (this=0x7fffee390400, event=0x7fffee38fff0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3038
#54 0x00007f99e51dc441 in x11EventSourceDispatch (s=0x61ac70, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#55 0x00007f99df2b20f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f99df2b5396 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0x00007f99df2b582f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f99e43126b8 in QEventDispatcherGlib::processEvents (this=0x616a80, flags=@0x7fffee390290) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#59 0x00007f99e51dbb27 in QGuiEventDispatcherGlib::processEvents (this=0x616a80, flags=@0x7fffee3902f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#60 0x00007f99e42da070 in QEventLoop::processEvents (this=0x7fffee3903a0, flags=@0x7fffee390350) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#61 0x00007f99e42da26c in QEventLoop::exec (this=0x7fffee3903a0, flags=@0x7fffee3903b0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#62 0x00007f99e42de05b in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#63 0x00007f99e51233a4 in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3331
#64 0x00007f99e5f75ee9 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/kspread/part/Main.cpp:42
#65 0x00007f99e2fe0466 in __libc_start_main () from /lib/libc.so.6
#66 0x0000000000400729 in _start ()
Comment 3 Michael Leupold 2008-10-28 07:18:46 UTC
Created attachment 28198 [details]
testcase

The file created using OpenCalc 3.0 beta.
Comment 4 Michael Leupold 2008-10-28 07:20:06 UTC
On opening a different file (it was the testcase on some other bug but it was probably created using KSpread itself) I get the warning:
"The file seems to be corrupt. Skipping a table."

On clicking OK KSpread crashes with the following (similar) backtrace:

Application: KSpread (kspread), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f2161e4c4b5 in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7f21640f77a0 (LWP 18460)):
[KCrash Handler]
#4  QBasicAtomicInt::operator!= (this=0x100000019, value=1) at /home/lemma/kde/trunk/build/debug/include/QtCore/qbasicatomic.h:65
#5  0x00007f21629fed25 in QHash<int, KoXmlVector<KoXmlPackedItem> >::detach (this=0xbb4fc8) at /home/lemma/kde/trunk/build/debug/include/QtCore/qhash.h:280
#6  0x00007f21629ffb68 in QHash<int, KoXmlVector<KoXmlPackedItem> >::operator[] (this=0x100000019, akey=@0x1) at /home/lemma/kde/trunk/build/debug/include/QtCore/qhash.h:716
#7  0x00007f21629ffc06 in KoXmlPackedDocument::itemCount (this=<value optimized out>, depth=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:715
#8  0x00007f21629fafdb in KoXmlNodeData::loadChildren (this=0xb6a970, depth=1) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:1541
#9  0x00007f21629fb8ca in KoXmlNode::namedItemNS (this=0x7fff6c28a3f0, nsURI=@0x7fff6c28a0d0, name=@0x7fff6c28a0c0) at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:2185
#10 0x00007f21629fb987 in KoXml::namedItemNS (node=@0x7fff6c28a3f0, nsURI=0x7f214961f568 "http://openoffice.org/2000/style", localName=<value optimized out>)
    at /home/lemma/kde/trunk/source/koffice/libs/store/KoXmlReader.cpp:2763
#11 0x00007f214960d27a in OpenCalcImport::loadTableMasterStyle (this=0xbd8410, table=0xb9e2c0, stylename=@0x7fff6c28aae0)
    at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:1207
#12 0x00007f21496157f8 in OpenCalcImport::parseBody (this=0xbd8410, numOfTables=3) at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:1517
#13 0x00007f21496163ae in OpenCalcImport::convert (this=0xbd8410, from=@0x8174c0, to=@0x8174c8) at /home/lemma/kde/trunk/source/koffice/filters/kspread/opencalc/opencalcimport.cc:2770
#14 0x00007f2163bf7e03 in KoFilterChain::ChainLink::invokeFilter (this=0x8174b0, parentChainLink=0x0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterChain.cpp:67
#15 0x00007f2163bf7f71 in KoFilterChain::invokeChain (this=0x814ba0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterChain.cpp:177
#16 0x00007f2163be1961 in KoFilterManager::importDocument (this=0xb01ac0, url=@0x7fff6c28b6b0, status=@0x7fff6c28b87c) at /home/lemma/kde/trunk/source/koffice/libs/main/KoFilterManager.cpp:235
#17 0x00007f2163bcc109 in KoDocument::openFile (this=0x779a80) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:1457
#18 0x00007f2160c913cb in KParts::ReadOnlyPart::openUrl (this=0x779a80, url=@0x7fff6c28bb50) at /home/lemma/kde/trunk/source/KDE/kdelibs/kparts/part.cpp:557
#19 0x00007f2163bcd351 in KoDocument::openUrl (this=0x779a80, _url=@0x7fff6c28bfe0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:1385
#20 0x00007f2163bc737a in KoDocument::openExistingFile (this=0x100000019, url=@0x1) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:2565
#21 0x00007f2163bd087c in KoDocument::qt_metacall (this=0x779a80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c28be30)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoDocument.moc:124
#22 0x00007f215616b525 in KSpread::Doc::qt_metacall (this=0x100000019, _c=QMetaObject::ReadProperty, _id=1814601936, _a=0x7fff6c28a0c0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/kspread/Doc.moc:72
#23 0x00007f21621f38d1 in QMetaObject::activate (sender=0x85b0e0, from_signal_index=27, to_signal_index=27, argv=0x7fff6c28be30)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#24 0x00007f21621f3e57 in QMetaObject::activate (sender=0x85b0e0, m=0x7f2163e6c400, local_signal_index=0, argv=0x7fff6c28be30)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#25 0x00007f2163c28ec2 in KoOpenPane::openExistingFile (this=0x100000019, _t1=<value optimized out>) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:96
#26 0x00007f2163c2910f in KoOpenPane::qt_metacall (this=0x85b0e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c28bfc0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:79
#27 0x00007f21621f38d1 in QMetaObject::activate (sender=0x8c0d40, from_signal_index=27, to_signal_index=27, argv=0x7fff6c28bfc0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#28 0x00007f21621f3e57 in QMetaObject::activate (sender=0x8c0d40, m=0x7f2163e6de00, local_signal_index=0, argv=0x7fff6c28bfc0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#29 0x00007f2163c3ab82 in KoExistingDocumentPane::openExistingUrl (this=0x100000019, _t1=<value optimized out>)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoExistingDocumentPane.moc:81
#30 0x00007f2163c3ac1a in KoExistingDocumentPane::onAccepted (this=0x8c0d40) at /home/lemma/kde/trunk/source/koffice/libs/main/KoExistingDocumentPane.cpp:62
#31 0x00007f2163c3ac9a in KoExistingDocumentPane::qt_metacall (this=0x8c0d40, _c=QMetaObject::InvokeMetaMethod, _id=12486464, _a=0x7fff6c28c0d0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoExistingDocumentPane.moc:70
#32 0x00007f21621f38d1 in QMetaObject::activate (sender=0x7fdea0, from_signal_index=31, to_signal_index=31, argv=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#33 0x00007f21621f3e57 in QMetaObject::activate (sender=0x7fdea0, m=0x7f2160c6a6a0, local_signal_index=4, argv=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#34 0x00007f2160a1c6b4 in KFileWidget::accepted (this=0x7fdea0) at /home/lemma/kde/trunk/build/debug/build/KDE/kdelibs/kfile/kfilewidget.moc:173
#35 0x00007f2160a22fda in KFileWidget::slotOk (this=0x7fdea0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kfile/kfilewidget.cpp:918
#36 0x00007f2160a2471a in KFileWidget::qt_metacall (this=0x7fdea0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff6c28c840)
    at /home/lemma/kde/trunk/build/debug/build/KDE/kdelibs/kfile/kfilewidget.moc:117
#37 0x00007f21621f38d1 in QMetaObject::activate (sender=0xa27610, from_signal_index=29, to_signal_index=30, argv=0x7fff6c28c840)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#38 0x00007f21621f3be5 in QMetaObject::activate (sender=0xa27610, m=0x7f2163b57240, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff6c28c840)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3121
#39 0x00007f21636db74f in QAbstractButton::clicked (this=0xa27610, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#40 0x00007f21633e72a0 in QAbstractButtonPrivate::emitClicked (this=0xa29340) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#41 0x00007f21633e8587 in QAbstractButtonPrivate::click (this=0xa29340) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#42 0x00007f21633e882e in QAbstractButton::mouseReleaseEvent (this=0xa27610, e=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#43 0x00007f2163087d76 in QWidget::event (this=0xa27610, event=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7163
#44 0x00007f21633e7249 in QAbstractButton::event (this=0xa27610, e=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#45 0x00007f21634a8a63 in QPushButton::event (this=0xa27610, e=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#46 0x00007f2163021643 in QApplicationPrivate::notify_helper (this=0x617650, receiver=0xa27610, e=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3803
#47 0x00007f2163022262 in QApplication::notify (this=0x7fff6c28e300, receiver=0xa27610, e=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3528
#48 0x00007f2160272e32 in KApplication::notify (this=0x7fff6c28e300, receiver=0xa27610, event=0x7fff6c28d3e0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#49 0x00007f21621db658 in QCoreApplication::notifyInternal (this=0x7fff6c28e300, receiver=0xa27610, event=0x7fff6c28d3e0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#50 0x00007f216302f7a3 in QCoreApplication::sendSpontaneousEvent (receiver=0xa27610, event=0x7fff6c28d3e0)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:212
#51 0x00007f21630267bb in QApplicationPrivate::sendMouseEvent (receiver=0xa27610, event=0x7fff6c28d3e0, alienWidget=0x0, nativeWidget=0xa27610, buttonDown=0x7f2163b714e8, 
    lastMouseReceiver=@0x7f2163b714f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2793
#52 0x00007f21630ad46f in QETWidget::translateMouseEvent (this=0xa27610, event=0x7fff6c28def0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4042
#53 0x00007f21630aacc3 in QApplication::x11ProcessEvent (this=0x7fff6c28e300, event=0x7fff6c28def0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3038
#54 0x00007f21630da441 in x11EventSourceDispatch (s=0x61ac70, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#55 0x00007f215d1b00f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f215d1b3396 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0x00007f215d1b382f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f21622106b8 in QEventDispatcherGlib::processEvents (this=0x616a80, flags=@0x7fff6c28e190) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#59 0x00007f21630d9b27 in QGuiEventDispatcherGlib::processEvents (this=0x616a80, flags=@0x7fff6c28e1f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#60 0x00007f21621d8070 in QEventLoop::processEvents (this=0x7fff6c28e2a0, flags=@0x7fff6c28e250) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#61 0x00007f21621d826c in QEventLoop::exec (this=0x7fff6c28e2a0, flags=@0x7fff6c28e2b0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#62 0x00007f21621dc05b in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#63 0x00007f21630213a4 in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3331
#64 0x00007f2163e73ee9 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/kspread/part/Main.cpp:42
#65 0x00007f2160ede466 in __libc_start_main () from /lib/libc.so.6
#66 0x0000000000400729 in _start ()

Comment 5 Michael Leupold 2008-10-28 07:20:47 UTC
Created attachment 28199 [details]
testcase

Testcase probably created using KSpread.
Comment 6 Michael Leupold 2008-10-28 07:38:09 UTC
SVN commit 876795 by mleupold:

This doesn't fix the crash on opening sxc documents but it at least fixes the I18N issue.

CCBUG:173732


 M  +1 -2      opencalcimport.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=876795
Comment 7 Sebastian Sauer 2010-04-09 20:02:13 UTC
Can you still reproduce this with koffice 2.2? Seems the documents from comment #3 and comment #5 are not crashing for me with trunk/2.2.
Comment 8 Sebastian Sauer 2010-06-29 21:17:02 UTC
Mark WORKSFORME since it does. Please reopen if you can still reproduce. Thanks in advance.