Bug 258557

Summary: Kmymoney crashed after entering a withdrawal in the ledger
Product: [Applications] kmymoney Reporter: Jason <ticalnet>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ticalnet
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

Description Jason 2010-12-02 13:08:09 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:
- What I was doing when the application crashed: I was entering a transaction (withdrawal) into the ledger for one of my bank accounts. After hitting enter to actually enter the transaction into the ledger, Kmymoney crashed. 

The first time the crased occured I was able to enter 3 transactions before it crased. The next 3 or 4 times I tried it crashed after the attempting the 1st transaction.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f6a6634a710 (LWP 3238)):
#0  0x00007f6a7a5d4203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6a7572f009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6a7572f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6a7b42c1e6 in QEventDispatcherGlib::processEvents (this=0xcfb930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f6a7b3fea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6a7b3fedec in QEventLoop::exec (this=0x7f6a66349db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6a7b3092fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f6a7b3de5f8 in QInotifyFileSystemWatcherEngine::run (this=0xd1f210) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6a7b30c27e in QThreadPrivate::start (arg=0xd1f210) at thread/qthread_unix.cpp:266
#9  0x00007f6a7d230971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f6a7a5e094d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6a7fc14760 (LWP 3237)):
[KCrash Handler]
#6  QWidgetPrivate::setWSGeometry (this=0x296c610, dontShow=<value optimized out>) at kernel/qwidget_x11.cpp:2425
#7  0x00007f6a7be58c52 in QWidgetPrivate::setWSGeometry (this=0x1562b80, dontShow=<value optimized out>) at kernel/qwidget_x11.cpp:2428
#8  0x00007f6a7be5de5a in QWidgetPrivate::setGeometry_sys (this=0x1562b80, x=0, y=0, w=<value optimized out>, h=<value optimized out>, isMove=<value optimized out>) at kernel/qwidget_x11.cpp:2587
#9  0x00007f6a7be0afad in QWidget::setGeometry (this=0x1561250, r=...) at kernel/qwidget.cpp:6789
#10 0x00007f6a7c2652c8 in QAbstractScrollAreaPrivate::layoutChildren (this=0x1562760) at widgets/qabstractscrollarea.cpp:480
#11 0x00007f6a7c265908 in QAbstractScrollArea::event (this=0x1562700, e=0x31) at widgets/qabstractscrollarea.cpp:924
#12 0x00007f6a7c30951b in QAbstractItemView::event (this=0x1562700, event=0x7ffff44bd290) at itemviews/qabstractitemview.cpp:1555
#13 0x00007f6a7bdb5fdc in QApplicationPrivate::notify_helper (this=0xcbde70, receiver=0x1562700, e=0x7ffff44bd290) at kernel/qapplication.cpp:4396
#14 0x00007f6a7bdbbaed in QApplication::notify (this=0xcbdd60, receiver=0x1562700, e=0x7ffff44bd290) at kernel/qapplication.cpp:4277
#15 0x00007f6a7e234156 in KApplication::notify (this=0xcbdd60, receiver=0x1562700, event=0x7ffff44bd290) at ../../kdeui/kernel/kapplication.cpp:310
#16 0x00007f6a7b3ffcdc in QCoreApplication::notifyInternal (this=0xcbdd60, receiver=0x1562700, event=0x7ffff44bd290) at kernel/qcoreapplication.cpp:732
#17 0x00007f6a7be0ee0a in sendEvent (this=0x1562700, left=<value optimized out>, top=<value optimized out>, right=<value optimized out>, bottom=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QWidget::setContentsMargins (this=0x1562700, left=<value optimized out>, top=<value optimized out>, right=<value optimized out>, bottom=<value optimized out>) at kernel/qwidget.cpp:7014
#19 0x00007f6a7c2655a4 in QAbstractScrollAreaPrivate::layoutChildren (this=0x1562760) at widgets/qabstractscrollarea.cpp:403
#20 0x00007f6a7c334cf0 in QTableView::updateGeometries (this=0x1562700) at itemviews/qtableview.cpp:2031
#21 0x00007f6a7c301929 in QAbstractItemView::doItemsLayout (this=0x1562700) at itemviews/qabstractitemview.cpp:1139
#22 0x00007f6a7c3374d6 in executePostedLayout (this=0x1562700, pos=...) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#23 QTableView::indexAt (this=0x1562700, pos=...) at itemviews/qtableview.cpp:1464
#24 0x00007f6a7c310c11 in QAbstractItemView::viewportEvent (this=0x1562700, event=0x7ffff44bdd90) at itemviews/qabstractitemview.cpp:1572
#25 0x00007f6a7b3ff507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1561250, event=0x7ffff44bdd90) at kernel/qcoreapplication.cpp:847
#26 0x00007f6a7bdb5fac in QApplicationPrivate::notify_helper (this=0xcbde70, receiver=0x1561250, e=0x7ffff44bdd90) at kernel/qapplication.cpp:4392
#27 0x00007f6a7bdbd21c in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=0x7ffff44be110) at kernel/qapplication.cpp:3984
#28 0x00007f6a7e234156 in KApplication::notify (this=0xcbdd60, receiver=0x1561250, event=0x7ffff44be110) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00007f6a7b3ffcdc in QCoreApplication::notifyInternal (this=0xcbdd60, receiver=0x1561250, event=0x7ffff44be110) at kernel/qcoreapplication.cpp:732
#30 0x00007f6a7bdbadbe in sendEvent (receiver=0x1561250, event=0x7ffff44be110, alienWidget=0x0, nativeWidget=0xdc3400, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x1561250, event=0x7ffff44be110, alienWidget=0x0, nativeWidget=0xdc3400, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#32 0x00007f6a7bdbb26f in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=<value optimized out>) at kernel/qapplication.cpp:3144
#33 0x00007f6a7be11354 in QWidget::~QWidget (this=0x29c0200, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1543
#34 0x00007f6a7e320ff6 in KPushButton::~KPushButton (this=0x29c0200, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kpushbutton.cpp:180
#35 0x00007f6a7b411d5f in QObjectPrivate::deleteChildren (this=0x296c610) at kernel/qobject.cpp:1957
#36 0x00007f6a7be11168 in QWidget::~QWidget (this=0x29b3290, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#37 0x00007f6a7c1d7871 in QFrame::~QFrame (this=0x29b3290, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#38 0x00007f6a7b411c08 in QObject::event (this=0x29b3290, e=0x31) at kernel/qobject.cpp:1202
#39 0x00007f6a7be0b6df in QWidget::event (this=0x29b3290, event=0x29583a0) at kernel/qwidget.cpp:8646
#40 0x00007f6a7c1d75e6 in QFrame::event (this=0x29b3290, e=0x29583a0) at widgets/qframe.cpp:557
#41 0x00007f6a7bdb5fdc in QApplicationPrivate::notify_helper (this=0xcbde70, receiver=0x29b3290, e=0x29583a0) at kernel/qapplication.cpp:4396
#42 0x00007f6a7bdbbaed in QApplication::notify (this=0xcbdd60, receiver=0x29b3290, e=0x29583a0) at kernel/qapplication.cpp:4277
#43 0x00007f6a7e234156 in KApplication::notify (this=0xcbdd60, receiver=0x29b3290, event=0x29583a0) at ../../kdeui/kernel/kapplication.cpp:310
#44 0x00007f6a7b3ffcdc in QCoreApplication::notifyInternal (this=0xcbdd60, receiver=0x29b3290, event=0x29583a0) at kernel/qcoreapplication.cpp:732
#45 0x00007f6a7b402c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc9d380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc9d380) at kernel/qcoreapplication.cpp:1373
#47 0x00007f6a7b42c653 in sendPostedEvents (s=0xcc1a40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0xcc1a40) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007f6a7572b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x00007f6a7572f2a8 in ?? () from /lib/libglib-2.0.so.0
#51 0x00007f6a7572f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00007f6a7b42c193 in QEventDispatcherGlib::processEvents (this=0xc9ce90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#53 0x00007f6a7be68a4e in QGuiEventDispatcherGlib::processEvents (this=0x29b3290, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f6a7b3fea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#55 0x00007f6a7b3fedec in QEventLoop::exec (this=0x7ffff44bef80, flags=) at kernel/qeventloop.cpp:201
#56 0x00007f6a7b402ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#57 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 233834.

Reported using DrKonqi
Comment 1 Cristian OneČ› 2010-12-02 20:06:25 UTC
The stack trace is very similar with the one reported in BUG 258355 do you use the transaction form or enter transactions directly in the ledger?
Comment 2 Jason 2010-12-03 00:32:30 UTC
Created attachment 54015 [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 directly into the ledger, and NOT using the transaction form. I could enter a transaction or two before it crashed.

-- Backtrace (Reduced):
#6  QWidgetPrivate::setWSGeometry (this=0x2cdf840, dontShow=<value optimized out>) at kernel/qwidget_x11.cpp:2425
#7  0x00007fc7b422c850 in QWidgetPrivate::scrollChildren (this=<value optimized out>, dx=<value optimized out>, dy=<value optimized out>) at kernel/qwidget.cpp:355
#8  0x00007fc7b427ee39 in QWidgetPrivate::scroll_sys (this=0x29bad40, dx=49, dy=0) at kernel/qwidget_x11.cpp:2650
#9  0x00007fc7b422a885 in QWidget::scroll (this=0x152dd60, dx=0, dy=35) at kernel/qwidget.cpp:10138
#10 0x00007fc7b475a5b6 in scrollContentsBy (this=<value optimized out>, dx=0, dy=35) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:230
Comment 3 Jason 2010-12-03 00:36:46 UTC
Sorry for any confusion. I'm a relative noob when it comes to bug tracking. My first post was using the transaction form. Comment #2 includes info from entering data directly into the ledger.
Comment 4 Cristian OneČ› 2010-12-07 22:11:44 UTC

*** This bug has been marked as a duplicate of bug 258355 ***