Bug 259450

Summary: Kspread crashes when opens an xls spreadsheet
Product: [Applications] calligrasheets Reporter: Joel Robinson <joel>
Component: generalAssignee: Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: inge
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joel Robinson 2010-12-10 16:32:36 UTC
Application: kspread (2.2.2)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.0
Operating System: Linux 2.6.36-CHAKRA i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Listed the Distubution as Arch but actually I'm using Chakra(almost the same).
- What I was doing when the application crashed:
Ksperead crashes when I open an xls documents. I have a copy I'll try to attach it.

The crash can be reproduced every time.

-- Backtrace:
Application: KSpread (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5837710 (LWP 3593))]

Thread 2 (Thread 0xacd76b70 (LWP 3594)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb60d8bd6 in poll () from /lib/libc.so.6
#2  0xb5bb343b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5ba328f in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5ba3604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6f3f3e7 in QEventDispatcherGlib::processEvents (this=0x970a8e8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0xb6f0ceb9 in QEventLoop::processEvents (this=0xacd76280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6f0d15a in QEventLoop::exec (this=0xacd76280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6e047ef in QThread::exec (this=0x96dc328) at thread/qthread.cpp:490
#9  0xb6eec041 in QInotifyFileSystemWatcherEngine::run (this=0x96dc328) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6e077c1 in QThreadPrivate::start (arg=0x96dc328) at thread/qthread_unix.cpp:266
#11 0xb6d8fe60 in start_thread () from /lib/libpthread.so.0
#12 0xb60e2fbe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5837710 (LWP 3593)):
[KCrash Handler]
#7  QBasicAtomicInt::ref (this=0xbf935584, val=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString (this=0xbf935584, val=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:728
#9  v_construct<QString> (this=0xbf935584, val=...) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:130
#10 QVariant (this=0xbf935584, val=...) at kernel/qvariant.cpp:1705
#11 0xae24f717 in KSpread::Style::setCustomFormat(QString const&) () from /usr/lib/libkspreadcommon.so.7
#12 0xae25cf48 in KSpread::Style::loadOdfDataStyle(KoOdfStylesReader&, KoXmlElement const&, KSpread::Conditions&, KSpread::StyleManager const*) () from /usr/lib/libkspreadcommon.so.7
#13 0xae25d71f in KSpread::Style::loadOdfStyle(KoOdfStylesReader&, KoXmlElement const&, KSpread::Conditions&, KSpread::StyleManager const*) () from /usr/lib/libkspreadcommon.so.7
#14 0xae26a200 in KSpread::StyleManager::loadOdfAutoStyles(KoOdfStylesReader&, QHash<QString, KSpread::Conditions>&) () from /usr/lib/libkspreadcommon.so.7
#15 0xae202a92 in KSpread::Map::loadOdf(KoXmlElement const&, KoOdfLoadingContext&) () from /usr/lib/libkspreadcommon.so.7
#16 0xae348c01 in KSpread::Doc::loadOdf(KoOdfReadStore&) () from /usr/lib/libkspreadcommon.so.7
#17 0xb0def9f9 in KoDocument::loadOasisFromStore(KoStore*) () from /usr/lib/libkomain.so.7
#18 0xb0df7e1f in KoDocument::loadNativeFormatFromStoreInternal(KoStore*) () from /usr/lib/libkomain.so.7
#19 0xb0df8f5d in KoDocument::loadNativeFormatFromStore(QString const&) () from /usr/lib/libkomain.so.7
#20 0xb0df91d3 in KoDocument::loadNativeFormat(QString const&) () from /usr/lib/libkomain.so.7
#21 0xb0dfb3dd in KoDocument::openFile() () from /usr/lib/libkomain.so.7
#22 0xb4e84ab4 in ?? () from /usr/lib/libkparts.so.4
#23 0xb4e8518a in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#24 0xb0dfe2aa in KoDocument::openUrl(KUrl const&) () from /usr/lib/libkomain.so.7
#25 0xb0def549 in KoDocument::openExistingFile(KUrl const&) () from /usr/lib/libkomain.so.7
#26 0xb0dfc9cb in KoDocument::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkomain.so.7
#27 0xae347faa in KSpread::Doc::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkspreadcommon.so.7
#28 0xb6f1555c in QMetaObject::metacall (object=0x9589c80, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbf9364b8) at kernel/qmetaobject.cpp:237
#29 0xb6f263d7 in QMetaObject::activate (sender=0x96b6b30, m=0xb0ebfc88, local_signal_index=0, argv=0xbf9364b8) at kernel/qobject.cpp:3280
#30 0xb0e5f8b3 in ?? () from /usr/lib/libkomain.so.7
#31 0xb0e6120d in ?? () from /usr/lib/libkomain.so.7
#32 0xb6f1555c in QMetaObject::metacall (object=0x96b6b30, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbf9365f8) at kernel/qmetaobject.cpp:237
#33 0xb6f263d7 in QMetaObject::activate (sender=0x96fa4e0, m=0xb0ebfb68, local_signal_index=0, argv=0xbf9365f8) at kernel/qobject.cpp:3280
#34 0xb0e5f4c3 in ?? () from /usr/lib/libkomain.so.7
#35 0xb0e5f529 in ?? () from /usr/lib/libkomain.so.7
#36 0xb0e5f5c0 in ?? () from /usr/lib/libkomain.so.7
#37 0xb6f1555c in QMetaObject::metacall (object=0x96fa4e0, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbf93673c) at kernel/qmetaobject.cpp:237
#38 0xb6f263d7 in QMetaObject::activate (sender=0x9711e48, m=0xb0d18c30, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3280
#39 0xb0cd5547 in KFileWidget::accepted() () from /usr/lib/libkfile.so.4
#40 0xb0cd9fbe in KFileWidget::slotOk() () from /usr/lib/libkfile.so.4
#41 0xb0cdaf30 in ?? () from /usr/lib/libkfile.so.4
#42 0xb0cdc628 in KFileWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#43 0xb6f1555c in QMetaObject::metacall (object=0x9711e48, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbf936ad8) at kernel/qmetaobject.cpp:237
#44 0xb6f263d7 in QMetaObject::activate (sender=0x96e6fa8, m=0xb0d18274, local_signal_index=7, argv=0xbf936ad8) at kernel/qobject.cpp:3280
#45 0xb0cbb123 in KDirOperator::fileSelected(KFileItem const&) () from /usr/lib/libkfile.so.4
#46 0xb0cbb159 in KDirOperator::selectFile(KFileItem const&) () from /usr/lib/libkfile.so.4
#47 0xb0cbb21e in KDirOperator::Private::_k_slotActivated(QModelIndex const&) () from /usr/lib/libkfile.so.4
#48 0xb0cc2f49 in KDirOperator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#49 0xb6f1555c in QMetaObject::metacall (object=0x96e6fa8, cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbf936c98) at kernel/qmetaobject.cpp:237
#50 0xb6f263d7 in QMetaObject::activate (sender=0x9837be0, m=0xb6d78564, local_signal_index=3, argv=0xbf936c98) at kernel/qobject.cpp:3280
#51 0xb6958ce3 in QAbstractItemView::activated (this=0x9837be0, _t1=...) at .moc/debug-shared/moc_qabstractitemview.cpp:345
#52 0xb6959228 in QAbstractItemView::mouseReleaseEvent (this=0x9837be0, event=0xbf937768) at itemviews/qabstractitemview.cpp:1796
#53 0xb697939f in QListView::mouseReleaseEvent (this=0x9837be0, e=0xbf937768) at itemviews/qlistview.cpp:796
#54 0xb63deb1d in QWidget::event (this=0x9837be0, event=0xbf937768) at kernel/qwidget.cpp:8187
#55 0xb680c8e3 in QFrame::event (this=0x9837be0, e=0xbf937768) at widgets/qframe.cpp:557
#56 0xb68a7442 in QAbstractScrollArea::viewportEvent (this=0x9837be0, e=0xbf937768) at widgets/qabstractscrollarea.cpp:1043
#57 0xb695649f in QAbstractItemView::viewportEvent (this=0x9837be0, event=0xbf937768) at itemviews/qabstractitemview.cpp:1619
#58 0xb68a9f35 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9839360, o=0x969bb38, e=0xbf937768) at widgets/qabstractscrollarea_p.h:100
#59 QAbstractScrollAreaFilter::eventFilter (this=0x9839360, o=0x969bb38, e=0xbf937768) at widgets/qabstractscrollarea_p.h:116
#60 0xb6f0e6aa in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9485a78, receiver=0x969bb38, event=0xbf937768) at kernel/qcoreapplication.cpp:847
#61 0xb637caea in QApplicationPrivate::notify_helper (this=0x9485a78, receiver=0x969bb38, e=0xbf937768) at kernel/qapplication.cpp:4393
#62 0xb6382c82 in QApplication::notify (this=0xbf937f04, receiver=0x969bb38, e=0xbf937768) at kernel/qapplication.cpp:3960
#63 0xb75e526a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#64 0xb6f0e50b in QCoreApplication::notifyInternal (this=0xbf937f04, receiver=0x969bb38, event=0xbf937768) at kernel/qcoreapplication.cpp:732
#65 0xb637dfc0 in QCoreApplication::sendSpontaneousEvent (receiver=0x969bb38, event=0xbf937768, alienWidget=0x969bb38, nativeWidget=0x961b578, buttonDown=0xb6d879a0, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#66 QApplicationPrivate::sendMouseEvent (receiver=0x969bb38, event=0xbf937768, alienWidget=0x969bb38, nativeWidget=0x961b578, buttonDown=0xb6d879a0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3057
#67 0xb6411ad4 in QETWidget::translateMouseEvent (this=0x961b578, event=0xbf937bc0) at kernel/qapplication_x11.cpp:4403
#68 0xb64106c8 in QApplication::x11ProcessEvent (this=0xbf937f04, event=0xbf937bc0) at kernel/qapplication_x11.cpp:3536
#69 0xb643b9ea in x11EventSourceDispatch (s=0x9498718, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0xb5ba2b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#71 0xb5ba3350 in ?? () from /usr/lib/libglib-2.0.so.0
#72 0xb5ba3604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#73 0xb6f3f3ac in QEventDispatcherGlib::processEvents (this=0x948fff8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#74 0xb643b5c5 in QGuiEventDispatcherGlib::processEvents (this=0x948fff8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0xb6f0ceb9 in QEventLoop::processEvents (this=0xbf937e94, flags=...) at kernel/qeventloop.cpp:149
#76 0xb6f0d15a in QEventLoop::exec (this=0xbf937e94, flags=...) at kernel/qeventloop.cpp:201
#77 0xb6f12caf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#78 0xb637a947 in QApplication::exec () at kernel/qapplication.cpp:3673
#79 0xb54274ed in kdemain () from /usr/lib/libkdeinit4_kspread.so
#80 0x0804df99 in _start ()

Possible duplicates by query: bug 242160, bug 230987.

Reported using DrKonqi
Comment 1 Joel Robinson 2010-12-10 16:46:02 UTC
Couldn't upload. The xls spreadsheet that crashed it can be found <a href=http://sdiusa.net/uploads/sdi-readytoship.xls> here </a>
Comment 2 Joel Robinson 2010-12-10 16:57:06 UTC
Crashed twice then suddenly stoped crashing. May not be worth looking into.
Comment 3 Inge Wallin 2010-12-26 12:27:31 UTC
This spreadsheet loads perfectly now (Calligra Tables 2010-12-26)