Application: kspread (2.3 Alpha 1) KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) (Compiled from sources) Qt Version: 4.7.0 Operating System: Linux 2.6.34-9-desktop x86_64 Distribution (Platform): openSUSE RPMs -- Information about the crash: - What I was doing when the application crashed: Just opening the document. It was created with oo.org spreadsheet. The document contains private information, so I can not attach it to the bug report. The same crash with Qt4.6.3 The crash can be reproduced every time. -- Backtrace: Application: KSpread (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 0x00007f0ffb760205 in QVariant::QVariant(QString const&) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #7 0x00007f0fe4423975 in KSpread::Style::setCustomFormat (this=0x13ecb40, strFormat=...) at /g/kde4svn/koffice/kspread/Style.cpp:2245 #8 0x00007f0fe442d936 in KSpread::Style::loadOdfDataStyle (this=<value optimized out>, stylesReader=<value optimized out>, element=<value optimized out>, conditions=..., styleManager=0x936cc0) at /g/kde4svn/koffice/kspread/Style.cpp:246 #9 0x00007f0fe442debf in KSpread::Style::loadOdfStyle (this=<value optimized out>, stylesReader=..., element=<value optimized out>, conditions=<value optimized out>, styleManager=<value optimized out>) at /g/kde4svn/koffice/kspread/Style.cpp:221 #10 0x00007f0fe442e04f in KSpread::CustomStyle::loadOdf (this=0x1468040, stylesReader=<value optimized out>, style=..., name=<value optimized out>, conditions=..., styleManager=0x936cc0) at /g/kde4svn/koffice/kspread/Style.cpp:2743 #11 0x00007f0fe4438695 in KSpread::StyleManager::loadOdfStyleTemplate (this=<value optimized out>, stylesReader=<value optimized out>, map=<value optimized out>) at /g/kde4svn/koffice/kspread/StyleManager.cpp:127 #12 0x00007f0fe43e8102 in KSpread::Map::loadOdf (this=0x932ee0, body=<value optimized out>, odfContext=...) at /g/kde4svn/koffice/kspread/Map.cpp:560 #13 0x00007f0fe44fd0a9 in KSpread::Doc::loadOdf (this=0x8b9b10, odfStore=...) at /g/kde4svn/koffice/kspread/part/Doc.cpp:485 #14 0x00007f0feed0ddf6 in KoDocument::loadOasisFromStore (this=0x8b9b10, store=<value optimized out>) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1698 #15 0x00007f0feed0e5c6 in KoDocument::loadNativeFormatFromStoreInternal (this=0x8b9b10, store=0x13c4400) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1588 #16 0x00007f0feed0f17b in KoDocument::loadNativeFormatFromStore (this=0x8b9b10, file=<value optimized out>) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1538 #17 0x00007f0feed0f763 in KoDocument::loadNativeFormat (this=0x8b9b10, file_=...) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1518 #18 0x00007f0feed101f8 in KoDocument::openFile (this=0x8b9b10) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1324 #19 0x00007f0ff3237c06 in KParts::ReadOnlyPart::openUrl (this=0x8b9b10, url=<value optimized out>) at /g/kde4svn/kdelibs/kparts/part.cpp:557 #20 0x00007f0feed11013 in KoDocument::openUrl (this=0x8b9b10, _url=...) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1181 #21 0x00007f0feed0a97d in KoDocument::openExistingFile (this=0x7fff0a974690, url=...) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:2316 #22 0x00007f0feed139ca in KoDocument::qt_metacall (this=0x8b9b10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0a976560) at /g/build/koffice/libs/main/KoDocument.moc:125 #23 0x00007f0fe44fb055 in KSpread::Doc::qt_metacall (this=0x7fff0a974690, _c=20954616, _id=1162167621, _a=0x86) at /g/build/koffice/kspread/Doc.moc:79 #24 0x00007f0ffb757fcf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #25 0x00007f0feed6ac32 in KoOpenPane::openExistingFile (this=0x7fff0a974690, _t1=<value optimized out>) at /g/build/koffice/libs/main/KoOpenPane.moc:104 #26 0x00007f0feed6aed0 in KoOpenPane::qt_metacall (this=0xacbbb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0a976670) at /g/build/koffice/libs/main/KoOpenPane.moc:86 #27 0x00007f0ffb757fcf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #28 0x00007f0feed69152 in KoDetailsPane::openUrl (this=0x7fff0a974690, _t1=<value optimized out>) at /g/build/koffice/libs/main/KoDetailsPane.moc:105 #29 0x00007f0feed6e4b5 in KoRecentDocumentsPane::openFile (this=0xd05090, index=<value optimized out>) at /g/kde4svn/koffice/libs/main/KoRecentDocumentsPane.cpp:182 #30 0x00007f0feed692e4 in KoDetailsPane::openFile (this=0xd05090) at /g/kde4svn/koffice/libs/main/KoDetailsPane.cpp:119 #31 0x00007f0feed69409 in KoDetailsPane::qt_metacall (this=0xd05090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0a976880) at /g/build/koffice/libs/main/KoDetailsPane.moc:91 #32 0x00007f0feed6e300 in KoRecentDocumentsPane::qt_metacall (this=0x7fff0a974690, _c=20954616, _id=1162167621, _a=0x86) at /g/build/koffice/libs/main/KoRecentDocumentsPane.moc:75 #33 0x00007f0ffb757fcf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #34 0x00007f0ffad09a82 in QAbstractButton::clicked(bool) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #35 0x00007f0ffaa4ebfb in QAbstractButtonPrivate::emitClicked() () from /usr/lib/qt4.5/lib/libQtGui.so.4 #36 0x00007f0ffaa501cb in QAbstractButtonPrivate::click() () from /usr/lib/qt4.5/lib/libQtGui.so.4 #37 0x00007f0ffaa5043c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #38 0x00007f0ffa709d32 in QWidget::event(QEvent*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #39 0x00007f0ffa6b8154 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #40 0x00007f0ffa6c0dfa in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #41 0x00007f0ffc714cbe in KApplication::notify (this=0x7fff0a977d70, receiver=0xd6d570, event=0x7fff0a977220) at /g/kde4svn/kdelibs/kdeui/kernel/kapplication.cpp:302 #42 0x00007f0ffb742e0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #43 0x00007f0ffa6b9155 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #44 0x00007f0ffa7360a8 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #45 0x00007f0ffa7347d9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #46 0x00007f0ffa75c8b4 in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4.5/lib/libQtGui.so.4 #47 0x00007f0ffb742242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #48 0x00007f0ffb742455 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4.5/lib/libQtCore.so.4 #49 0x00007f0ffb74686b in QCoreApplication::exec() () from /usr/lib/qt4.5/lib/libQtCore.so.4 #50 0x00007f0fef005449 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /g/kde4svn/koffice/kspread/part/Main.cpp:43 #51 0x0000000000407bee in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x66df3b "filemon;1276945089;350083;1316_TIME75800574") at /g/kde4svn/kdelibs/kinit/kinit.cpp:723 #52 0x00000000004084a0 in handle_launcher_request (sock=8, who=<value optimized out>) at /g/kde4svn/kdelibs/kinit/kinit.cpp:1215 #53 0x0000000000408b01 in handle_requests (waitForPid=0) at /g/kde4svn/kdelibs/kinit/kinit.cpp:1408 #54 0x00000000004092f1 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /g/kde4svn/kdelibs/kinit/kinit.cpp:1892 Reported using DrKonqi
SVN commit 1144317 by sebsauer: Fix crash. BUG:242160 M +2 -0 Style.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1144317
Almost... but still there: svn rev 1144719: The last konsole output is: kspread(4734) KoOdfNumberStyles::loadOdfNumberStyle: 99 ***************************************************************************** The c.stylename to load is "N104P0" where style.xml contains: <number:currency-style style:name="N104P0" style:volatile="true"><number:number number:decimal-places="2" number:min-integer-digits="1" number:grouping="true"/><number:text> </number:text><number:currency-symbol number:language="es" number:country="ES">€</number:currency-symbol></number:currency-style><number:currency-style style:name="N104"><style:text-properties fo:color="#ff0000"/><number:text>-</number:text><number:number number:decimal-places="2" number:min-integer-digits="1" number:grouping="true"/><number:text> </number:text><number:currency-symbol number:language="es" number:country="ES">€</number:currency-symbol><style:map style:condition="value()>=0" style:apply-style-name="N104P0"/> #0 QString (this=0x7fffffffa240, val=...) at ../../include/QtCore/../../../../kde4svn/kde-qt/src/corelib/tools/qstring.h:715 #1 v_construct<QString> (this=0x7fffffffa240, val=...) at ../../include/QtCore/private/../../../../../kde4svn/kde-qt/src/corelib/kernel/qvariant_p.h:130 #2 QVariant::QVariant (this=0x7fffffffa240, val=...) at /g/kde4svn/kde-qt/src/corelib/kernel/qvariant.cpp:1674 #3 0x00007fffe1a5dfc5 in KSpread::Style::setCustomFormat (this=0x13a25b0, strFormat=...) at /g/kde4svn/koffice/kspread/Style.cpp:2250 #4 0x00007fffe1a67f8d in KSpread::Style::loadOdfDataStyle (this=<value optimized out>, stylesReader=<value optimized out>, element=<value optimized out>, conditions=<value optimized out>, styleManager=0x918200, parser=0x92d250) at /g/kde4svn/koffice/kspread/Style.cpp:250 #5 0x00007fffe1a68534 in KSpread::Style::loadOdfStyle (this=<value optimized out>, stylesReader=..., element=<value optimized out>, conditions=<value optimized out>, styleManager=<value optimized out>, parser=<value optimized out>) at /g/kde4svn/koffice/kspread/Style.cpp:222 #6 0x00007fffe1a686c7 in KSpread::CustomStyle::loadOdf (this=0x13657c0, stylesReader=<value optimized out>, style=..., name=<value optimized out>, conditions=..., styleManager=0x918200, parser=0x92d250) at /g/kde4svn/koffice/kspread/Style.cpp:2748 #7 0x00007fffe1a72d7b in KSpread::StyleManager::loadOdfStyleTemplate (this=<value optimized out>, stylesReader=<value optimized out>, map=<value optimized out>) at /g/kde4svn/koffice/kspread/StyleManager.cpp:127 #8 0x00007fffe1a23da2 in KSpread::Map::loadOdf (this=0x916800, body=<value optimized out>, odfContext=...) at /g/kde4svn/koffice/kspread/Map.cpp:515 #9 0x00007fffe1b389b1 in KSpread::Doc::loadOdf (this=0x82c9a0, odfStore=...) at /g/kde4svn/koffice/kspread/part/Doc.cpp:500 #10 0x00007ffff78e3e66 in KoDocument::loadOasisFromStore (this=0x82c9a0, store=<value optimized out>) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1698 #11 0x00007ffff78e4636 in KoDocument::loadNativeFormatFromStoreInternal (this=0x82c9a0, store=0x12f9910) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1588 #12 0x00007ffff78e51eb in KoDocument::loadNativeFormatFromStore (this=0x82c9a0, file=<value optimized out>) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1538 #13 0x00007ffff78e57d3 in KoDocument::loadNativeFormat (this=0x82c9a0, file_=...) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1518 #14 0x00007ffff78e6268 in KoDocument::openFile (this=0x82c9a0) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1324 #15 0x00007ffff645b6a6 in KParts::ReadOnlyPart::openUrl (this=0x82c9a0, url=<value optimized out>) at /g/kde4svn/kdelibs/kparts/part.cpp:557 #16 0x00007ffff78e7083 in KoDocument::openUrl (this=0x82c9a0, _url=...) at /g/kde4svn/koffice/libs/main/KoDocument.cpp:1181
Fixed in r1154638 then. Please retry and if you can still reproduce the problem then please reopen the bugreport and attach the document that leads to the crash. Thanks in advance.