[Kmymoney-devel] [Bug 219739] New: Crash opening ledger view when underlying data is deleted

Fernando Vilas fvilas at iname.com
Tue Dec 22 21:25:47 CET 2009


https://bugs.kde.org/show_bug.cgi?id=219739

           Summary: Crash opening ledger view when underlying data is
                    deleted
           Product: kmymoney4
           Version: unspecified
          Platform: Slackware Packages
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: fvilas at iname.com


Version:           svn rev 1064879 (using KDE 4.3.4)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Slackware Packages

Open a ledger from the categories view.
Return to the categories view.
Delete the original category.
Attempt to open the ledger for a different category.
Crash.

The re-opening of the ledger view causes a resize event in the ledger view.
That attempts to get the text for the splits in each transaction object. Since
the account id is invalid, the storage object (both xml and db) will throw. If
this exception is caught and ignored, KPageWidget throws a MyMoneyException.
Using gdb, it does not show the source of that exception in the call stack.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list