| Summary: | KMyMoney crashes while editing Categories | ||
|---|---|---|---|
| Product: | [Applications] kmymoney | Reporter: | John Paul <kde> |
| Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | onet.cristian, rmroczk |
| Priority: | NOR | ||
| Version First Reported In: | 4.6.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
John Paul
2012-01-19 21:20:57 UTC
Is USD your main currency? Could you attach an anonymous file with which you can reproduce this since selecting "Edit Category..." 4 or 5 times here does not cause a crash. Also since this is an uncaught exception you could try running kmymoney with the '--nocatch' option to get more details about the stacktrace when the exception is throw. I just experienced this issue twice. If I edit the account the currency field is USD but it is grayed out. The line where the exception is being thrown is on 2381 in kmymoney/mymoney/mymoneyfile.cpp. I will try to gather a stack trace and follow up.
2372 const MyMoneySecurity& MyMoneyFile::currency(const QString& id) const$
2373 {$
2374 if (id.isEmpty())$
2375 return baseCurrency();$
2376 $
2377 const MyMoneySecurity& curr = d->m_cache.security(id);$
2378 if (curr.id().isEmpty()) {$
2379 QString msg;$
2380 msg = QString("Currency '%1' not found.").arg(id);$
2381 throw new MYMONEYEXCEPTION(msg);$
2382 }$
2383 return curr;$
2384 }$
Strangely, since this incident, I haven't experienced any crashes in KMyMoney. Reported to be working. |