Bug 254607

Summary: Kmymoney 4.5.0 crashing sporadically when entering a new transaction
Product: [Applications] kmymoney Reporter: Hel <helwitch>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: akox1, epperson.golfers
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Hel 2010-10-19 01:41:21 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Ever since I updated to kubuntu 10.10, Kmymoney is sporadically crashing when I try to enter new transactions. I can't find a rhyme or reason to it. I'll start kmymoney, and it will work fine, and then suddenly it will crash. It happens when I hit enter after finishing creating the transaction.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4dd293b760 (LWP 15140))]

Thread 2 (Thread 0x7f4db9435710 (LWP 15141)):
#0  0x00007f4dcd3011d3 in poll () from /lib/libc.so.6
#1  0x00007f4dc845c009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4dc845c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4dce1591e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f4dce12ba02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f4dce12bdec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f4dce0362fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f4dce10b5f8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f4dce03927e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f4dcff5d971 in start_thread () from /lib/libpthread.so.0
#10 0x00007f4dcd30d91d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4dd293b760 (LWP 15140)):
[KCrash Handler]
#6  0x00007f4dceb85bf1 in QWidgetPrivate::setWSGeometry(bool, QRect const&) () from /usr/lib/libQtGui.so.4
#7  0x00007f4dceb35850 in QWidgetPrivate::scrollChildren(int, int) () from /usr/lib/libQtGui.so.4
#8  0x00007f4dceb87e39 in QWidgetPrivate::scroll_sys(int, int) () from /usr/lib/libQtGui.so.4
#9  0x00007f4dceb33885 in QWidget::scroll(int, int) () from /usr/lib/libQtGui.so.4
#10 0x00007f4dcf0635b6 in QTableView::scrollContentsBy(int, int) () from /usr/lib/libQtGui.so.4
#11 0x00007f4dcef92d50 in QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#12 0x00007f4dcf0380b5 in QAbstractItemView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#13 0x00007f4dcf06db35 in QTableView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#14 0x00007f4dcf0aa676 in QTableWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#15 0x0000000000742910 in KMyMoneyRegister::Register::qt_metacall (this=0x54f8bc0, _c=49, _id=0, _a=0x1) at /build/buildd/kmymoney-4.5/obj-x86_64-linux-gnu/kmymoney/widgets/register.moc:143
#16 0x00007f4dce144b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007f4dcf1c09ee in QAbstractSlider::valueChanged(int) () from /usr/lib/libQtGui.so.4
#18 0x00007f4dcf0620b6 in QTableView::updateGeometries() () from /usr/lib/libQtGui.so.4
#19 0x00007f4dcf02e929 in QAbstractItemView::doItemsLayout() () from /usr/lib/libQtGui.so.4
#20 0x00007f4dcf0644d6 in QTableView::indexAt(QPoint const&) const () from /usr/lib/libQtGui.so.4
#21 0x00007f4dcf03dc11 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f4dce12c507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f4dceae2fac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f4dceaea21c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f4dd0f61156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f4dce12ccdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f4dceae7dbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#28 0x00007f4dceae826f in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/libQtGui.so.4
#29 0x00007f4dceb3e354 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#30 0x00000000005b97ee in kMyMoneyLineEdit::~kMyMoneyLineEdit (this=0x4e6f0e0, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/widgets/kmymoneylineedit.cpp:48
#31 0x00007f4dce13ed5f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#32 0x00007f4dceb3e168 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#33 0x000000000073c2f4 in ~KMyMoneyCombo (this=0x54d2f40, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/widgets/kmymoneycombo.h:49
#34 KMyMoneyCategory::~KMyMoneyCategory (this=0x54d2f40, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/widgets/kmymoneycategory.cpp:106
#35 0x00007f4dce13ed5f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#36 0x00007f4dceb3e168 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#37 0x00007f4dcef04871 in QFrame::~QFrame() () from /usr/lib/libQtGui.so.4
#38 0x00007f4dce13ec08 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#39 0x00007f4dceb386df in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007f4dcef045e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007f4dceae2fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007f4dceae8aed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007f4dd0f61156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007f4dce12ccdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0x00007f4dce12fc22 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#46 0x00007f4dce159653 in ?? () from /usr/lib/libQtCore.so.4
#47 0x00007f4dc8458342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f4dc845c2a8 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f4dc845c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f4dce159193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0x00007f4dceb95a4e in ?? () from /usr/lib/libQtGui.so.4
#52 0x00007f4dce12ba02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0x00007f4dce12bdec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x00007f4dce12febb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#55 0x0000000000452d58 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Possible duplicates by query: bug 247877.

Reported using DrKonqi
Comment 1 Cristian OneČ› 2010-12-08 13:02:57 UTC

*** This bug has been marked as a duplicate of bug 258355 ***
Comment 2 akox1 2010-12-14 10:28:30 UTC
Created attachment 54541 [details]
New crash information added by DrKonqi

kmymoney (4.5.0) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:
entering transaction without the transaction form. application crashes as soon as the enter key is pressed
- Custom settings of the application:
transaction file was imported from gnucash. Passes consistency checks

-- Backtrace (Reduced):
#6  0x00007f874a9182d1 in QWidgetPrivate::setWSGeometry(bool, QRect const&) () from /usr/lib64/libQtGui.so.4
#7  0x00007f874a8ce3d0 in QWidgetPrivate::scrollChildren(int, int) () from /usr/lib64/libQtGui.so.4
#8  0x00007f874a91a9e9 in QWidgetPrivate::scroll_sys(int, int) () from /usr/lib64/libQtGui.so.4
#9  0x00007f874a8daec5 in QWidget::scroll(int, int) () from /usr/lib64/libQtGui.so.4
#10 0x00007f874adbe256 in QTableView::scrollContentsBy(int, int) () from /usr/lib64/libQtGui.so.4
Comment 3 epperson.golfers 2011-01-05 04:47:53 UTC
Created attachment 55592 [details]
New crash information added by DrKonqi

kmymoney (4.5.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I was entering transactions into the ledger. After the second transaction the crash occurred. I restarted the application and tryed the same operation again and the same thing happened. I just 
installed Kubuntu 10.10 and installed the Kmymoney application today and copied the saaved file from a backup.

I was using Ubuntu 10.10 before switching to Kubuntu and the error never occurred. The file I am using is the same.

The Kmymoney version is 4.5.0 using KDE Development Platform 4.5.1.

-- Backtrace (Reduced):
#7  0x03151cd3 in QWidgetPrivate::setWSGeometry(bool, QRect const&) () from /usr/lib/libQtGui.so.4
#8  0x030fb6dc in QWidgetPrivate::scrollChildren(int, int) () from /usr/lib/libQtGui.so.4
#9  0x03153ee9 in QWidgetPrivate::scroll_sys(int, int) () from /usr/lib/libQtGui.so.4
#10 0x030f99e6 in QWidget::scroll(int, int) () from /usr/lib/libQtGui.so.4
#11 0x036a2774 in QTableView::scrollContentsBy(int, int) () from /usr/lib/libQtGui.so.4