Summary: | Crashed after deleting category which required transfer of transaction to another category | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Derek <derek.second> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aavworld, brentsbaxter, garrisonstuber, luke42410, raredaab, stevenhbooth |
Priority: | NOR | ||
Version: | 4.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Derek
2010-12-05 10:32:22 UTC
*** Bug 258575 has been marked as a duplicate of this bug. *** Created attachment 56315 [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: Just deleted a category and moved transactions to another one. Crashed when I clicked on "ledgers" to get out of "categories"
- Unusual behavior I noticed: I tried to create a new category using menu item "categories" at the top of the page. I tried twice to create this expenses category and both versions were put into income section. I entered a transaction to see what would happen and tried to edit it from edit categories but nothing happened. I opened categories from the side panel and created the new category in expenses and then deleted the two incorrect versions in income. Even though one was not used it asked me for another category to allocate transactions to. then it crashed when I clicked on ledgers in the side panel
-- Backtrace (Reduced):
#15 0x0816a303 in KGlobalLedgerView::accountSelected (this=0xa2a6678, _t1=...) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/views/kgloballedgerview.moc:244
#16 0x08171e95 in KGlobalLedgerView::loadView (this=0xa2a6678) at /build/buildd/kmymoney-4.5/kmymoney/views/kgloballedgerview.cpp:343
#17 0x0817a738 in KGlobalLedgerView::showEvent (this=0xa2a6678, event=0xbff52f00) at /build/buildd/kmymoney-4.5/kmymoney/views/kgloballedgerview.cpp:1306
#18 0x0145bc72 in QWidget::event (this=0xa2a6678, event=0xbff52f00) at kernel/qwidget.cpp:8394
#19 0x013fdfdc in QApplicationPrivate::notify_helper (this=0x9e37d40, receiver=0xa2a6678, e=0xbff52f00) at kernel/qapplication.cpp:4396
Created attachment 56582 [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 moved from Microsoft Money. Imported everything with QIF. I am dutch, imported dutch categories. Application crashes when I move transactions from the old category to a new. Then when I click another category, do right click edit or double click open, the app crashes. This doesn't happen all the time. I migrated all my tansactions now from around 35 categories and the app crashed 5 times in the process.
-- Backtrace (Reduced):
#15 0x0816a303 in KGlobalLedgerView::accountSelected (this=0x9f25b68, _t1=...) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/views/kgloballedgerview.moc:244
#16 0x08171e95 in KGlobalLedgerView::loadView (this=0x9f25b68) at /build/buildd/kmymoney-4.5/kmymoney/views/kgloballedgerview.cpp:343
#17 0x0817a738 in KGlobalLedgerView::showEvent (this=0x9f25b68, event=0xbfe916d0) at /build/buildd/kmymoney-4.5/kmymoney/views/kgloballedgerview.cpp:1306
#18 0xb5ccbc72 in QWidget::event (this=0x9f25b68, event=0xbfe916d0) at kernel/qwidget.cpp:8394
#19 0xb5c6dfdc in QApplicationPrivate::notify_helper (this=0x9db9c80, receiver=0x9f25b68, e=0xbfe916d0) at kernel/qapplication.cpp:4396
*** Bug 266741 has been marked as a duplicate of this bug. *** Created attachment 59053 [details]
New crash information added by DrKonqi
I deleted a category, transferring all transactions to a pre-existing category. When I clicked on the category I had transferred the transactions to, KMM crashed.
SVN commit 1228348 by conet: Notify about balanceChanged only for accounts which have not been deleted. Otherwise an exception will be thrown while accessing the and already deleted account from the cache to emit the balanceChanged signal. This happens when deleting categories and reassigning transactions to other categories. Found while trying to reproduce BUG: 258883 M +3 -1 mymoneyfile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1228348 SVN commit 1228349 by conet: Display the correct account name. The wrong account name was displayed since by the time the error message was displayed d->m_selectedAccount was already set to another account because the view received the objectRemoved signal. Found while trying to reproduce BUG: 258883 M +12 -7 kmymoney.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1228349 Fixed only some related bugs so reopen the report. Could any of the reporters try to see if the can reproduce this bug systematically and then produce an anonymous file (http://kmymoney2.sourceforge.net/kde4/online-manual/details.formats.anonymous.html) on which to reproduce the crash the same way. I'm asking you to do this because although the bug is pretty well documented (the steps to reproduce it are clearly described, the stack trace is clear) I can't seem to reproduce it no mater how hard I try to follow all the steps. And from the stack trace I can't deduce where things go wrong exactly since an exception is thrown and some function calls are lost until the first catch statement is reached (thus some clues needed to slove this puzzle are lost). Hey Cristian, I will try to look into it as soon as possible, I am abroad this week for work so it will be next week before I am able to do so. Maybe it helps if I tell you I did an import of my microsoft money file. After that I imported the data in KMyMoney. This worked well. The I found out the default categories one could create in his own language. This was not an option in Microsoft money and with all the financial terms it's would be much easier for me so I decided to move all transactions from an old english microsoft money created category to a different category in KMyMoney. Hope this makes sense and will give you a way to reproduce. If not, I will sent a anonimised file next week. grt Remco On Sun, Apr 17, 2011 at 10:20 PM, Cristian Onet <onet.cristian@gmail.com>wrote: > https://bugs.kde.org/show_bug.cgi?id=258883 > > > > > > --- Comment #9 from Cristian Onet <onet cristian gmail com> 2011-04-17 > 22:20:41 --- > Could any of the reporters try to see if the can reproduce this bug > systematically and then produce an anonymous file > ( > http://kmymoney2.sourceforge.net/kde4/online-manual/details.formats.anonymous.html > ) > on which to reproduce the crash the same way. > > I'm asking you to do this because although the bug is pretty well > documented > (the steps to reproduce it are clearly described, the stack trace is clear) > I > can't seem to reproduce it no mater how hard I try to follow all the steps. > And > from the stack trace I can't deduce where things go wrong exactly since an > exception is thrown and some function calls are lost until the first catch > statement is reached (thus some clues needed to slove this puzzle are > lost). > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. > Does this problem still persist (e.g. in SVN trunk)? Thomas, No. Recently I deleted a category that required transfers to another category without experiencing a crash. Thanks for your part in creating this useful application. Brent On Fri, May 27, 2011 at 8:19 AM, Thomas Baumgart < ipwizard@users.sourceforge.net> wrote: > https://bugs.kde.org/show_bug.cgi?id=258883 > > > Thomas Baumgart <ipwizard@users.sourceforge.net> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Version|unspecified |4.5 > > > > > --- Comment #11 from Thomas Baumgart <ipwizard users sourceforge net> > 2011-05-27 17:19:34 --- > Does this problem still persist (e.g. in SVN trunk)? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. > Created attachment 74483 [details]
New crash information added by DrKonqi
kmymoney (4.5.3) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2
- What I was doing when the application crashed:
Click to go on "compte" after have delete and transfer a category
-- Backtrace (Reduced):
#15 0x08153583 in KGlobalLedgerView::accountSelected (this=0xa22a4d0, _t1=...) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/views/kgloballedgerview.moc:244
#16 0x0815770f in KGlobalLedgerView::loadView (this=0xa22a4d0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:343
#17 0x0815e550 in KGlobalLedgerView::showEvent (this=0xa22a4d0, event=0xbf947f80) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:1306
#18 0xb5867262 in QWidget::event (this=0xa22a4d0, event=0xbf947f80) at kernel/qwidget.cpp:8466
#19 0xb580ed24 in QApplicationPrivate::notify_helper (this=0xa086ca0, receiver=0xa22a4d0, e=0xbf947f80) at kernel/qapplication.cpp:4462
|