https://bugs.kde.org/show_bug.cgi?id=357287
Bug ID: 357287 Summary: Calligrasheet crashes on opening file Product: calligrasheets Version: 2.9.10 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: calligra-sheets-bugs-n...@kde.org Reporter: adimey...@gmail.com Application: calligrasheets (2.9.10) KDE Platform Version: 4.14.10 Qt Version: 4.8.6 Operating System: Linux 4.1.13-5-default x86_64 Distribution: "openSUSE Leap 42.1 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: Open a ods spreadsheet. (Happens every time.) Terminal message on crash: <code>SocketNotifier: Invalid socket 18 and type 'Read', disabling... QSocketNotifier: Invalid socket 12 and type 'Read', disabling...</code> The crash can be reproduced every time. -- Backtrace: Application: Calligra Sheets (calligrasheets), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f8cfe8b8800 (LWP 3233))] Thread 3 (Thread 0x7f8cd9c2f700 (LWP 3237)): #0 0x00007f8cfe22cc1d in poll () at /lib64/libc.so.6 #1 0x00007f8cf960be64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f8cf960bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f8cfc97ffde in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #4 0x00007f8cfc951d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #5 0x00007f8cfc952045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #6 0x00007f8cfc84f4df in QThread::exec() () at /usr/lib64/libQtCore.so.4 #7 0x00007f8cfc933653 in () at /usr/lib64/libQtCore.so.4 #8 0x00007f8cfc851bbf in () at /usr/lib64/libQtCore.so.4 #9 0x00007f8cf98d80a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f8cfe23504d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f8cd914f700 (LWP 3241)): #0 0x00007f8cf964dd14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f8cf960b759 in g_main_context_query () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f8cf960bdcf in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f8cf960bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f8cfc97ffde in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #5 0x00007f8cfc951d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #6 0x00007f8cfc952045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #7 0x00007f8cfc84f4df in QThread::exec() () at /usr/lib64/libQtCore.so.4 #8 0x00007f8cfc933653 in () at /usr/lib64/libQtCore.so.4 #9 0x00007f8cfc851bbf in () at /usr/lib64/libQtCore.so.4 #10 0x00007f8cf98d80a4 in start_thread () at /lib64/libpthread.so.0 #11 0x00007f8cfe23504d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f8cfe8b8800 (LWP 3233)): [KCrash Handler] #6 0x00007f8ce6c87a58 in QVector<Calligra::Sheets::Value>::realloc(int, int) (this=this@entry=0x145ef30, asize=67108863, aalloc=134217727) at /usr/include/QtCore/qvector.h:520 #7 0x00007f8ce6cd8241 in Calligra::Sheets::PointStorage<Calligra::Sheets::Value>::insert(int, int, Calligra::Sheets::Value const&) (t=..., n=1, before=<optimized out>, this=0x145ef30) at /usr/include/QtCore/qvector.h:599 #8 0x00007f8ce6cd8241 in Calligra::Sheets::PointStorage<Calligra::Sheets::Value>::insert(int, int, Calligra::Sheets::Value const&) (t=..., i=67108863, this=0x145ef30) at /usr/include/QtCore/qvector.h:364 #9 0x00007f8ce6cd8241 in Calligra::Sheets::PointStorage<Calligra::Sheets::Value>::insert(int, int, Calligra::Sheets::Value const&) (this=0x145ef20, col=col@entry=1024, row=row@entry=65536, data=...) at /usr/src/debug/calligra-2.9.10/sheets/PointStorage.h:137 #10 0x00007f8ce6c72efe in Calligra::Sheets::CellStorage::setValue(int, int, Calligra::Sheets::Value const&) (this=0x1451ce0, column=1024, row=65536, value=...) at /usr/src/debug/calligra-2.9.10/sheets/CellStorage.cpp:692 #11 0x00007f8ce6c57476 in Calligra::Sheets::Cell::setValue(Calligra::Sheets::Value const&) (this=this@entry=0x7ffc38ead050, value=...) at /usr/src/debug/calligra-2.9.10/sheets/Cell.cpp:474 #12 0x00007f8ce6d38b53 in Calligra::Sheets::Sheet::loadRowFormat(KoXmlElement const&, int&, Calligra::Sheets::OdfLoadingContext&, QHash<QString, QRegion>&, QHash<QString, QRegion>&, Calligra::Sheets::IntervalMap<QString> const&, QHash<QString, Calligra::Sheets::Style> const&, QList<Calligra::Sheets::ShapeLoadingData>&) (this=this@entry=0x12b6b20, row=..., rowIndex=@0x7ffc38ead244: 118, tableContext=..., rowStyleRegions=..., cellStyleRegions=..., columnStyles=..., autoStyles=..., shapeData=...) at /usr/src/debug/calligra-2.9.10/sheets/Sheet.cpp:2168 #13 0x00007f8ce6d3ab22 in Calligra::Sheets::Sheet::loadOdf(KoXmlElement const&, Calligra::Sheets::OdfLoadingContext&, QHash<QString, Calligra::Sheets::Style> const&, QHash<QString, Calligra::Sheets::Conditions> const&) (this=<optimized out>, sheetElement=..., tableContext=..., autoStyles=..., conditionalStyles=...) at /usr/src/debug/calligra-2.9.10/sheets/Sheet.cpp:1697 #14 0x00007f8ce6d0ac93 in Calligra::Sheets::Map::loadOdf(KoXmlElement const&, KoOdfLoadingContext&) (this=0x197ef30, body=..., odfContext=...) at /usr/src/debug/calligra-2.9.10/sheets/Map.cpp:641 #15 0x00007f8ce6cf470c in Calligra::Sheets::DocBase::loadOdf(KoOdfReadStore&) (this=0x146bec0, odfStore=...) at /usr/src/debug/calligra-2.9.10/sheets/DocBase.cpp:261 #16 0x00007f8cfdea067b in KoDocument::loadOasisFromStore(KoStore*) (this=0x146bec0, store=<optimized out>) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1964 #17 0x00007f8cfdeada44 in KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (this=this@entry=0x146bec0, store=store@entry=0x15c4450) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1850 #18 0x00007f8cfdeaea93 in KoDocument::loadNativeFormatFromStore(QString const&) (this=this@entry=0x146bec0, file=...) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1798 #19 0x00007f8cfdeaf046 in KoDocument::loadNativeFormat(QString const&) (this=0x146bec0, file_=...) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1778 #20 0x00007f8cfdea99ba in KoDocument::openFile() (this=0x146bec0) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1577 #21 0x00007f8cfdeafd93 in KoDocument::openUrlInternal(KUrl const&) (this=0x17836b0) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:271 #22 0x00007f8cfdeafd93 in KoDocument::openUrlInternal(KUrl const&) (this=0x17836b0) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:293 #23 0x00007f8cfdeafd93 in KoDocument::openUrlInternal(KUrl const&) (this=this@entry=0x146bec0, url=...) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:2691 #24 0x00007f8cfdeb0147 in KoDocument::openUrl(KUrl const&) (this=0x146bec0, _url=...) at /usr/src/debug/calligra-2.9.10/libs/main/KoDocument.cpp:1258 #25 0x00007f8cfdeb8ca4 in KoMainWindow::openDocumentInternal(KUrl const&, KoPart*, KoDocument*) (this=this@entry=0x122db40, url=..., newpart=0x1752da0, newpart@entry=0x0, newdoc=0x146bec0, newdoc@entry=0x0) at /usr/src/debug/calligra-2.9.10/libs/main/KoMainWindow.cpp:780 #26 0x00007f8cfdeba937 in KoMainWindow::openDocument(KUrl const&) (this=this@entry=0x122db40, url=...) at /usr/src/debug/calligra-2.9.10/libs/main/KoMainWindow.cpp:741 #27 0x00007f8cfdec911d in KoMainWindow::slotFileOpen() (this=0x122db40) at /usr/src/debug/calligra-2.9.10/libs/main/KoMainWindow.cpp:1330 #28 0x00007f8cfdecae45 in KoMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x122db40, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc38eae800) at /usr/src/debug/calligra-2.9.10/build/libs/main/KoMainWindow.moc:136 #29 0x00007f8cfc9670fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #30 0x00007f8cfd367652 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4 #31 0x00007f8cfd369003 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4 #32 0x00007f8cfd792399 in () at /usr/lib64/libQtGui.so.4 #33 0x00007f8cfd7968e9 in () at /usr/lib64/libQtGui.so.4 #34 0x00007f8cfa272fa5 in KMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libkdeui.so.5 #35 0x00007f8cfd3bcc5a in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4 #36 0x00007f8cfd79a73b in QMenu::event(QEvent*) () at /usr/lib64/libQtGui.so.4 #37 0x00007f8cfd36d79c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #38 0x00007f8cfd373e1a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #39 0x00007f8cfde9ee37 in KoApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x16a1be0, event=0x7ffc38eaef40) at /usr/src/debug/calligra-2.9.10/libs/main/KoApplication.cpp:625 #40 0x00007f8cfc95318d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #41 0x00007f8cfd373613 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4 #42 0x00007f8cfd3e501c in () at /usr/lib64/libQtGui.so.4 #43 0x00007f8cfd3e375c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4 #44 0x00007f8cfd40a5f2 in () at /usr/lib64/libQtGui.so.4 #45 0x00007f8cf960bc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #46 0x00007f8cf960bed8 in () at /usr/lib64/libglib-2.0.so.0 #47 0x00007f8cf960bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #48 0x00007f8cfc97ffbe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #49 0x00007f8cfd40a6a6 in () at /usr/lib64/libQtGui.so.4 #50 0x00007f8cfc951d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #51 0x00007f8cfc952045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #52 0x00007f8cfc957499 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #53 0x00007f8cfe4fa7a5 in kdemain(int, char**) (argc=1, argv=0x7ffc38eaf8d8) at /usr/src/debug/calligra-2.9.10/sheets/part/Main.cpp:44 #54 0x00007f8cfe171b05 in __libc_start_main () at /lib64/libc.so.6 #55 0x000000000040075e in _start () at ../sysdeps/x86_64/start.S:122 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.