Bug 229245 - Crash running Net Worth Today report
Summary: Crash running Net Worth Today report
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 13:54 UTC by Tony B
Modified: 2010-03-07 17:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Crash BT (7.47 KB, application/octet-stream)
2010-03-03 13:57 UTC, Tony B
Details
Crash report (5.14 KB, application/octet-stream)
2010-03-06 14:02 UTC, Tony B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony B 2010-03-03 13:54:10 UTC
Version:           SVN 1098272 (using KDE 4.3.1)
OS:                Linux
Installed from:    openSUSE RPMs

KMM crashes on running the Net Worth Today report. The crash seems to be in KDChart, which is surprising since I don't use charts. BT and anonymous file attached.
Comment 1 Tony B 2010-03-03 13:57:14 UTC
Created attachment 41283 [details]
Crash BT

I'll send the anon file to the M/L since it's too big for bugzilla.
Comment 2 Alvaro Soliverez 2010-03-06 01:19:41 UTC
I don't think the problem's in the Net Worth report. I deactived all components and it still crashes.

The crash is when loading the accountsmodel.
line 495 of accountsmodel.cpp:
foreach(const QModelIndex &index, parentsOnlyList) {
    removeRow(index.row(), index.parent());
  }

At some point, index becomes invalid, and it still tries to remove the row.
Comment 3 Alvaro Soliverez 2010-03-06 01:40:36 UTC
After updating, this appears to be solved in latest SVN. Please confirm.
Comment 4 Tony B 2010-03-06 14:02:09 UTC
Created attachment 41378 [details]
Crash report
Comment 5 Tony B 2010-03-06 14:03:06 UTC
Still crashing as of SVN1099972. I don't see any reference to accountsmodel in the BT.
Comment 6 Alvaro Soliverez 2010-03-06 16:07:09 UTC
Try deactivating all components on the home page and then load the file again and let's see if it crashes then.
It doesn't crash here.
Comment 7 Tony B 2010-03-07 17:45:03 UTC
Okay, since the abort seemed to be occurring in KDChart,I did a bit more investigation. I found that there were 3 different versions of libkmm_kdchart on my system which hadn't been uninstalled, probably my own fault. I got rid of them and re-installed from scratch. All works now.