Application that crashed: kmymoney Version of the application: 3.95.0-svn20090511 KDE Version: 4.3.1 (KDE 4.3.1) "release 6" Qt Version: 4.5.3 Operating System: Linux 2.6.31.8-0.1-desktop x86_64 Distribution: "openSUSE 11.2 (x86_64)" What I was doing when the application crashed: (With empty schedule list) On "List View" page typed a string in "Search" line, and tried to switch to the "Calendar View" page... Boom. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #5 0x00007f5dfea0a453 in QString::append(QString const&) () from /usr/lib64/libQtCore.so.4 #6 0x000000000073a91c in ?? () #7 0x000000000073c766 in ?? () #8 0x0000000000772de5 in ?? () #9 0x00007f5e0338b498 in Q3GridView::drawContents(QPainter*, int, int, int, int) () from /usr/lib64/libQt3Support.so.4 #10 0x00007f5e0339da95 in Q3ScrollView::drawContentsOffset(QPainter*, int, int, int, int, int, int) () from /usr/lib64/libQt3Support.so.4 #11 0x00007f5e0339e579 in Q3ScrollView::viewportPaintEvent(QPaintEvent*) () from /usr/lib64/libQt3Support.so.4 #12 0x00007f5e0339f918 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib64/libQt3Support.so.4 #13 0x00007f5dfeaac127 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #14 0x00007f5dfdf7827c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #15 0x00007f5dfdf7f57e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #16 0x00007f5e022ba8d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #17 0x00007f5dfeaacddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #18 0x00007f5dfdfcde93 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4 #19 0x00007f5dfe13e9fe in ?? () from /usr/lib64/libQtGui.so.4 #20 0x00007f5dfdfc0300 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4 #21 0x00007f5dfdfc68e8 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #22 0x00007f5dfe3200bb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #23 0x00007f5e023c5d83 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5 #24 0x00007f5dfdf782ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #25 0x00007f5dfdf7f57e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #26 0x00007f5e022ba8d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #27 0x00007f5dfeaacddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #28 0x00007f5dfeaad9ea in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4 #29 0x00007f5dfead5803 in ?? () from /usr/lib64/libQtCore.so.4 #30 0x00007f5df97fedde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f5df98027a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f5df98028d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f5dfead53a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #34 0x00007f5dfe00b31e in ?? () from /usr/lib64/libQtGui.so.4 #35 0x00007f5dfeaab712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #36 0x00007f5dfeaabae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #37 0x00007f5dfeaadc99 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #38 0x000000000045a043 in _start () Reported using DrKonqi
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kmymoney4-debuginfo" package and post a complete backtrace here? (you can get more information at http://techbase.kde.org/User:DarioAndres/Basic_Guide_about_Crash_Reporting ) Thanks
The crash is reproducible. Took some time to try kmymoney4 debuginfo package, unfortunately, that did not add line numbers. Please see below a dump taken from gdb output. I'd also like to mention, that the conditions are changed slightly: first, I added a transaction schedule, so that the list is no more empty, but the crash occurs anyway; second, I tried to leave the "Search" line empty, and switch to the "Calendar view", and the crash is still there. ------------------------ Program received signal SIGSEGV, Segmentation fault. 0x00007ffff28a2453 in QString::append(QString const&) () from /usr/lib64/libQtCore.so.4 (gdb) where #0 0x00007ffff28a2453 in QString::append(QString const&) () from /usr/lib64/libQtCore.so.4 #1 0x000000000073a91c in kMyMoneyScheduledDateTbl::addDayPostfix(QString&) () #2 0x000000000073c766 in kMyMoneyScheduledDateTbl::drawCellContents(QPainter*, int, int, QDate const&) () #3 0x0000000000772de5 in kMyMoneyDateTbl::paintCell(QPainter*, int, int) () #4 0x00007ffff7223498 in Q3GridView::drawContents(QPainter*, int, int, int, int) () from /usr/lib64/libQt3Support.so.4 #5 0x00007ffff7235a95 in Q3ScrollView::drawContentsOffset(QPainter*, int, int, int, int, int, int) () from /usr/lib64/libQt3Support.so.4 #6 0x00007ffff7236579 in Q3ScrollView::viewportPaintEvent(QPaintEvent*) () from /usr/lib64/libQt3Support.so.4 #7 0x00007ffff7237918 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib64/libQt3Support.so.4 #8 0x00007ffff2944127 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #9 0x00007ffff1e1027c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #10 0x00007ffff1e1757e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #11 0x00007ffff61528d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #12 0x00007ffff2944ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #13 0x00007ffff1e65e93 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4 #14 0x00007ffff1fd69fe in ?? () from /usr/lib64/libQtGui.so.4 #15 0x00007ffff1e58300 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4 #16 0x00007ffff1e5e8e8 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #17 0x00007ffff21b80bb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #18 0x00007ffff625dd83 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5 #19 0x00007ffff1e102ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #20 0x00007ffff1e1757e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #21 0x00007ffff61528d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #22 0x00007ffff2944ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #23 0x00007ffff29459ea in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4 #24 0x00007ffff296d803 in ?? () from /usr/lib64/libQtCore.so.4 #25 0x00007fffed696dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #26 0x00007fffed69a7a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #27 0x00007fffed69a8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #28 0x00007ffff296d3a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #29 0x00007ffff1ea331e in ?? () from /usr/lib64/libQtGui.so.4 #30 0x00007ffff2943712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #31 0x00007ffff2943ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #32 0x00007ffff2945c99 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #33 0x000000000045a043 in main () (gdb)
I can't reproduce this crash while switching to the calendar view of the scheduled transactions. Could you post an anonymous file on which this crash can be reproduced?
Any news on about that anonymous file?
Sorry, I was out of town for a month. Tested it on a new, empty, fresh file, and it crashes. Shall I upload that newly created file? If yes, I will be able to do that in 14-15 hours.
Yes, please upload the test file. Did the crash occurred using the latest version (3.96.1)?
Any news on the anonymous file? Otherwise, we might as well close it if it is not reproducible.
This seems to be solved. Please reopen and post an anonymized file if it still happens.