Version: (using KDE 3.5.9) Installed from: Debian testing/unstable Packages Hello, I have created a test investment account and a test investment. To delete this account I have to first delete the investment. By deleting the invstement kmymoney2 crashes. The file in which I have made this tests is very important, so I want to clear this file from the test data. Is there any other way to delete this investment account and investment. Backtrace: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb5fb66c0 (LWP 24001)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb66205e0 in raise () from /lib/i686/cmov/libc.so.6 #8 0xb6621fb8 in abort () from /lib/i686/cmov/libc.so.6 #9 0xb683f8f8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #10 0xb683d7d5 in ?? () from /usr/lib/libstdc++.so.6 #11 0xb683d812 in std::terminate () from /usr/lib/libstdc++.so.6 #12 0xb683d94a in __cxa_throw () from /usr/lib/libstdc++.so.6 #13 0x084a3a42 in MyMoneySeqAccessMgr::account () #14 0xb7ee3285 in MyMoneyObjectContainer::account () from /usr/lib/libkmm_mymoney.so.3 #15 0xb7ea835a in MyMoneyFile::account () from /usr/lib/libkmm_mymoney.so.3 #16 0x08160595 in KMyMoney2App::canCloseAccount () #17 0x0816410a in KMyMoney2App::slotUpdateActions () #18 0x08166370 in KMyMoney2App::slotSelectAccount () #19 0x0817eceb in KMyMoney2App::qt_invoke () #20 0xb6b0bed1 in QObject::activate_signal (this=0x88b79e0, clist=0x88fd948, o=0xbfdcac04) at kernel/qobject.cpp:2383 #21 0x081f11aa in KGlobalLedgerView::accountSelected () #22 0x081f98c6 in KGlobalLedgerView::slotSelectAccount () #23 0x081f99cf in KGlobalLedgerView::slotSelectAccount () #24 0x081f9e63 in KGlobalLedgerView::qt_invoke () #25 0xb6b0bed1 in QObject::activate_signal (this=0x89114f0, clist=0x8915a88, o=0xbfdcade4) at kernel/qobject.cpp:2383 #26 0x081fb9bd in KInvestmentView::accountSelected () #27 0x081fd47f in KInvestmentView::loadView () #28 0x081fd7c8 in KInvestmentView::slotLoadView () #29 0x081fde05 in KInvestmentView::qt_invoke () #30 0xb6b0bed1 in QObject::activate_signal (this=0x86409e0, clist=0x87a3008, o=0xbfdcb024) at kernel/qobject.cpp:2383 #31 0xb6b0caed in QObject::activate_signal (this=0x86409e0, signal=2) at kernel/qobject.cpp:2328 #32 0xb7ea81f9 in MyMoneyFile::dataChanged () from /usr/lib/libkmm_mymoney.so.3 #33 0xb7eac620 in MyMoneyFile::commitTransaction () from /usr/lib/libkmm_mymoney.so.3 #34 0xb7eac65d in MyMoneyFileTransaction::commit () from /usr/lib/libkmm_mymoney.so.3 #35 0x0815b2eb in KMyMoney2App::slotInvestmentDelete () #36 0x0817e597 in KMyMoney2App::qt_invoke () #37 0xb6b0bf6d in QObject::activate_signal (this=0x871f660, clist=0x871f898, o=0xbfdcb424) at kernel/qobject.cpp:2359 #38 0xb6b0caed in QObject::activate_signal (this=0x871f660, signal=2) at kernel/qobject.cpp:2328 #39 0xb7338fc9 in KAction::activated (this=0x871f660) at ./kaction.moc:176 #40 0xb7383610 in KAction::slotActivated (this=0x871f660) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/kaction.cpp:1102 #41 0xb74308e5 in KAction::slotPopupActivated (this=0x871f660) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/kaction.cpp:1137 #42 0xb7430c10 in KAction::qt_invoke (this=0x871f660, _id=16, _o=0xbfdcb574) at ./kaction.moc:219 #43 0xb6b0bf6d in QObject::activate_signal (this=0x878fda0, clist=0x878fe28, o=0xbfdcb574) at kernel/qobject.cpp:2359 #44 0xb6e3605e in QSignal::signal (this=0x878fda0, t0=@0x878fdc8) at .moc/release-shared-mt/moc_qsignal.cpp:100 #45 0xb6b278c7 in QSignal::activate (this=0x878fda0) at kernel/qsignal.cpp:215 #46 0xb6c0cc2a in QPopupMenu::mouseReleaseEvent (this=0x878e830, e=0xbfdcbab4) at widgets/qpopupmenu.cpp:1739 #47 0xb7365b82 in KPopupMenu::mouseReleaseEvent (this=0x878e830, e=0xbfdcbab4) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/kpopupmenu.cpp:508 #48 0xb6b44554 in QWidget::event (this=0x878e830, e=0xbfdcbab4) at kernel/qwidget.cpp:4705 #49 0xb6aae18a in QApplication::internalNotify (this=0x8656a60, receiver=0x878e830, e=0xbfdcbab4) at kernel/qapplication.cpp:2638 #50 0xb6aaf0ba in QApplication::notify (this=0x8656a60, receiver=0x878e830, e=0xbfdcbab4) at kernel/qapplication.cpp:2424 #51 0xb715ec22 in KApplication::notify (this=0x8656a60, receiver=0x878e830, event=0xbfdcbab4) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550 #52 0xb6a4e06c in QETWidget::translateMouseEvent (this=0x878e830, event=0xbfdcbd98) at kernel/qapplication.h:526 #53 0xb6a4cafd in QApplication::x11ProcessEvent (this=0x8656a60, event=0xbfdcbd98) at kernel/qapplication_x11.cpp:3611 #54 0xb6a5cfe6 in QEventLoop::processEvents (this=0x867f790, flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195 #55 0xb6ac4b80 in QEventLoop::enterLoop (this=0x867f790) at kernel/qeventloop.cpp:201 #56 0xb6aadc6f in QApplication::enter_loop (this=0x8656a60) at kernel/qapplication.cpp:2796 #57 0xb6c10027 in QPopupMenu::exec (this=0x878e830, pos=@0xbfdcbe78, indexAtPoint=0) at widgets/qpopupmenu.cpp:2494 #58 0x0813e8bf in KMyMoney2App::showContextMenu () #59 0x0814ba39 in KMyMoney2App::slotShowInvestmentContextMenu () #60 0x0817edef in KMyMoney2App::qt_invoke () #61 0xb6b0bf6d in QObject::activate_signal (this=0x89114f0, clist=0x8917b08, o=0xbfdcc1c4) at kernel/qobject.cpp:2359 #62 0xb6b0caed in QObject::activate_signal (this=0x89114f0, signal=4) at kernel/qobject.cpp:2328 #63 0x081fb630 in KInvestmentView::investmentRightMouseClick () #64 0x081fb7d1 in KInvestmentView::slotListContextMenu () #65 0x081fdef4 in KInvestmentView::qt_invoke () #66 0xb6b0bf6d in QObject::activate_signal (this=0x8919990, clist=0x89062e8, o=0xbfdcc32c) at kernel/qobject.cpp:2359 #67 0xb738053d in KListView::contextMenu (this=0x8919990, t0=0x8919990, t1=0x8dda680, t2=@0xbfdcc5ac) at ./klistview.moc:519 #68 0xb738058f in KListView::emitContextMenu (this=0x8919990, i=0x8dda680, p=@0xbfdcc5ac) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/klistview.cpp:1907 #69 0xb745b9e0 in KListView::qt_invoke (this=0x8919990, _id=99, _o=0xbfdcc43c) at ./klistview.moc:571 #70 0xb6b0bf6d in QObject::activate_signal (this=0x8919990, clist=0x88cc830, o=0xbfdcc43c) at kernel/qobject.cpp:2359 #71 0xb6e49d76 in QListView::rightButtonPressed (this=0x8919990, t0=0x8dda680, t1=@0xbfdcc5ac, t2=1) at .moc/release-shared-mt/moc_qlistview.cpp:468 #72 0xb6becb22 in QListView::contentsMousePressEventEx (this=0x8919990, e=0xbfdcc694) at widgets/qlistview.cpp:4425 #73 0xb6bed1b4 in QListView::contentsMousePressEvent (this=0x8919990, e=0xbfdcc694) at widgets/qlistview.cpp:4240 #74 0xb7362a7e in KListView::contentsMousePressEvent (this=0x8919990, e=0xbfdcc694) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/klistview.cpp:805 #75 0xb6c1e341 in QScrollView::viewportMousePressEvent (this=0x8919990, e=0xbfdccbe4) at widgets/qscrollview.cpp:1736 #76 0xb6c1c072 in QScrollView::eventFilter (this=0x8919990, obj=0x88fdaf8, e=0xbfdccbe4) at widgets/qscrollview.cpp:1499 #77 0xb6bea666 in QListView::eventFilter (this=0x8919990, o=0x88fdaf8, e=0xbfdccbe4) at widgets/qlistview.cpp:3870 #78 0xb6b0b78c in QObject::activate_filters (this=0x88fdaf8, e=0xbfdccbe4) at kernel/qobject.cpp:906 #79 0xb6b0b7fb in QObject::event (this=0x88fdaf8, e=0xbfdccbe4) at kernel/qobject.cpp:738 #80 0xb6b4443c in QWidget::event (this=0x88fdaf8, e=0xbfdccbe4) at kernel/qwidget.cpp:4681 #81 0xb6aae18a in QApplication::internalNotify (this=0x8656a60, receiver=0x88fdaf8, e=0xbfdccbe4) at kernel/qapplication.cpp:2638 #82 0xb6aaf0ba in QApplication::notify (this=0x8656a60, receiver=0x88fdaf8, e=0xbfdccbe4) at kernel/qapplication.cpp:2424 #83 0xb715ec22 in KApplication::notify (this=0x8656a60, receiver=0x88fdaf8, event=0xbfdccbe4) at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550 #84 0xb6a4da52 in QETWidget::translateMouseEvent (this=0x88fdaf8, event=0xbfdccec8) at kernel/qapplication.h:526 #85 0xb6a4cafd in QApplication::x11ProcessEvent (this=0x8656a60, event=0xbfdccec8) at kernel/qapplication_x11.cpp:3611 #86 0xb6a5cfe6 in QEventLoop::processEvents (this=0x867f790, flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195 #87 0xb6ac4b80 in QEventLoop::enterLoop (this=0x867f790) at kernel/qeventloop.cpp:201 #88 0xb6ac4a16 in QEventLoop::exec (this=0x867f790) at kernel/qeventloop.cpp:148 #89 0xb6aadcff in QApplication::exec (this=0x8656a60) at kernel/qapplication.cpp:2761 #90 0x0818479a in main ()
Hello Sumit, what version of KMyMoney are you using? CVS, 0.8.7, 0.8.9, etc.
Hello Alvaro, i am using kmymoney version 0.9 . see: http://packages.debian.org/sid/kmymoney2
Does the problem still persist with current CVS HEAD? I am unable to duplicate it.
Any news on this?
Hello Thomas, Sorry for the late answer. I had my exams. I don't have this problem anymore. The test investment and test account have been deleted successfully. There were no errors or crashes. I haven't compiled the CVS HEAD. I am using debian unstable packages with version 0.9.2-1 (http://packages.debian.org/sid/kmymoney2). I'm closing this bug. Thank you for your help. Sumit