Bug 229339 - Segmentation Fault when transferring item to another account.
Summary: Segmentation Fault when transferring item to another account.
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-04 01:06 UTC by allan
Modified: 2010-03-12 00:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description allan 2010-03-04 01:06:42 UTC
Version:           Version 3.96.1-svn1097223 (using KDE 4.3.5)
OS:                Linux
Installed from:    Compiled From Sources

After duplicating a transaction from 12 months ago, I wanted to move the new transaction to a different account.  After selecting the account from the context menu, the menu stayed visible.  Moving to the new account, I amended the amount and all looked OK.  On going to Payee View, a message box appeared asking if I wanted to save the changes for that payee, which I wasn't expecting, but clicked 'yes'.  The box appeared two further times, and a crash occurred on the third 'yes'.

On attempting to reproduce, the message box sequence recurred but not the crash.

Application: KMyMoney (kmymoney), signal: Segmentation fault
[KCrash Handler]
#6  0xb74625ff in Q3ListViewItem::itemPos() const () from /usr/lib/libQt3Support.so.4
#7  0xb7462a91 in Q3ListView::itemPos(Q3ListViewItem const*) () from /usr/lib/libQt3Support.so.4
#8  0xb74632a9 in Q3ListView::ensureItemVisible(Q3ListViewItem const*) () from /usr/lib/libQt3Support.so.4
#9  0x081172e7 in KPayeesView::slotSelectPayeeAndTransaction (this=0x8a36058, payeeId=..., accountId=..., transactionId=...) at /home/aga/KMM4/kmymoney/kmymoney/views/kpayeesview.cpp:1049
#10 0x080e83a9 in KMyMoneyView::slotPayeeSelected (this=0x88b5fc0, payee=..., account=..., transaction=...) at /home/aga/KMM4/kmymoney/kmymoney/views/kmymoneyview.cpp:521
#11 0x0809cd3b in KMyMoneyApp::slotTransactionGotoPayee (this=0x87c54a0) at /home/aga/KMM4/kmymoney/kmymoney/kmymoney.cpp:5198
#12 0x080e183a in KMyMoneyApp::qt_metacall (this=0x87c54a0, _c=InvokeMetaMethod, _id=82, _a=0xbf9efad8) at /home/aga/KMM4/kmymoney/build/kmymoney/kmymoney.moc:465
#13 0xb5f11864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb5f11d41 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb553b0c5 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#16 0xb553c6f2 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#17 0xb597aa37 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb5981378 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb5981f18 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb6ba778d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#21 0xb5598bac in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb59841b4 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb55418fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5549bbb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb6ab7521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb5efb32e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0xb5548bdc in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#28 0xb55b9c86 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb55b8d7e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb55e3b68 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb49f14c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb49f4d98 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb49f4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb5f27011 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb55e329a in ?? () from /usr/lib/libQtGui.so.4
#36 0xb5ef998d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb5ef9dd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb5983ff7 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#39 0x08094ac5 in KMyMoneyApp::showContextMenu (this=0x87c54a0, containerName=...) at /home/aga/KMM4/kmymoney/kmymoney/kmymoney.cpp:5464
#40 0x080a5e1b in KMyMoneyApp::slotShowTransactionContextMenu (this=0x87c54a0) at /home/aga/KMM4/kmymoney/kmymoney/kmymoney.cpp:5472
#41 0x080e1d46 in KMyMoneyApp::qt_metacall (this=0x87c54a0, _c=InvokeMetaMethod, _id=144, _a=0xbf9f1ebc) at /home/aga/KMM4/kmymoney/build/kmymoney/kmymoney.moc:533
#42 0xb5f11864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#43 0xb5f12585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x08164c17 in KGlobalLedgerView::openContextMenu (this=0x8a9db70) at /home/aga/KMM4/kmymoney/build/kmymoney/views/kgloballedgerview.moc:277
#45 0x08176ceb in KGlobalLedgerView::qt_metacall (this=0x8a9db70, _c=InvokeMetaMethod, _id=7, _a=0xbf9f205c) at /home/aga/KMM4/kmymoney/build/kmymoney/views/kgloballedgerview.moc:198
#46 0xb5f11864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#47 0xb5f12585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#48 0x083b34f7 in KMyMoneyRegister::Register::openContextMenu (this=0x8e072d0) at /home/aga/KMM4/kmymoney/build/kmymoney/widgets/register.moc:184
#49 0x083b9da8 in KMyMoneyRegister::Register::selectItem (this=0x8e072d0, row=1426, col=4, button=2) at /home/aga/KMM4/kmymoney/kmymoney/widgets/register.cpp:1576
#50 0x083ba018 in KMyMoneyRegister::Register::qt_metacall (this=0x8e072d0, _c=InvokeMetaMethod, _id=120, _a=0xbf9f222c) at /home/aga/KMM4/kmymoney/build/kmymoney/widgets/register.moc:111
#51 0xb5f11864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#52 0xb5f12585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#53 0xb75d088d in Q3Table::clicked(int, int, int, QPoint const&) () from /usr/lib/libQt3Support.so.4
#54 0xb747535d in Q3Table::contentsMouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt3Support.so.4
#55 0x083b3e1b in KMyMoneyRegister::Register::contentsMouseReleaseEvent (this=0x95f86b8, e=0x2) at /home/aga/KMM4/kmymoney/kmymoney/widgets/register.cpp:1553
#56 0xb74bc0c8 in Q3ScrollView::viewportMouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt3Support.so.4
#57 0xb74bdd8d in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#58 0xb74790a5 in Q3Table::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#59 0x083b4c65 in KMyMoneyRegister::Register::eventFilter (this=0x8e072d0, o=0x8e07aa0, e=0xbf9f2880) at /home/aga/KMM4/kmymoney/kmymoney/widgets/register.cpp:642
#60 0xb5efa50e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#61 0xb55418d0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#62 0xb5549bbb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#63 0xb6ab7521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#64 0xb5efb32e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#65 0xb5548bdc in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#66 0xb55b980a in ?? () from /usr/lib/libQtGui.so.4
#67 0xb55b8d7e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#68 0xb55e3b68 in ?? () from /usr/lib/libQtGui.so.4
#69 0xb49f14c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#70 0xb49f4d98 in ?? () from /usr/lib/libglib-2.0.so.0
#71 0xb49f4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#72 0xb5f27011 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#73 0xb55e329a in ?? () from /usr/lib/libQtGui.so.4
#74 0xb5ef998d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#75 0xb5ef9dd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#76 0xb5efc270 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#77 0xb5541774 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#78 0x08091907 in main (argc=1, argv=0xbf9f45e4) at /home/aga/KMM4/kmymoney/kmymoney/main.cpp:273
Comment 1 Cristian Oneț 2010-03-11 22:58:41 UTC
This could be related to an intermediate state of development in the payees view which caused the payee editor message box to appear but that has been fixed now. Could you please check if this bug is still valid?
Comment 2 allan 2010-03-11 23:43:26 UTC
On Thursday 11 Mar 2010 21:58:48 Cristian Onet wrote:
> https://bugs.kde.org/show_bug.cgi?id=229339
> 
> 
> 
> 
> 
> --- Comment #1 from Cristian Onet <onet cristian gmail com>  2010-03-11
>  22:58:41 --- This could be related to an intermediate state of development
>  in the payees view which caused the payee editor message box to appear but
>  that has been fixed now. Could you please check if this bug is still
>  valid?
> 

Mostly OK now.  There were no funnies with payees message boxes, nor crashes, 
but on right clicking to get the context menu, then selecting an item from the 
sub-menu, the sub-menu closes as expected, but the first context menu stays 
visible until the window is clicked.

Allan
Comment 3 Cristian Oneț 2010-03-12 00:08:42 UTC
SVN commit 1102164 by conet:

BUG: 229339
Hide the context menu after a move transaction operation.

 M  +3 -5      kmymoney.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1102164