GnuCash
Contact   Instructions
Bug 798047 - Crash on delete account
Summary: Crash on delete account
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: User Interface General (show other bugs)
Version: 4.2
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: ui
QA Contact: ui
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-12 17:25 EST by bulk
Modified: 2020-12-12 19:41 EST (History)
4 users (show)

See Also:


Attachments
2020-12-12 15:03 Crash report (6.27 KB, text/plain)
2020-12-12 17:32 EST, bulk
no flags Details

Description bulk 2020-12-12 17:25:54 EST
Was entering budget estimates and using budget barchart to visualize. Working as expected until I got to a specific account.

Account of interest wasn't showing up in chart as expected (or as other accounts had done).
Account of interest had one (1) subaccount.

Subaccount contained no transactions in this book (so let's get rid of it and see if the bar chart works better).

Navigated back to Accounts tab, selected unused/unwanted subaccount, clicked the delete icon in the toolbar.

GnuCash crashed.

Repeated twice more with same results. The second time I selected "delete account" from the context menu. The third time I confirmed that the chart and budget tabs were closed before attempting to delete the account.
Comment 1 bulk 2020-12-12 17:28:50 EST
Forgot to mention this is a patch build: 4.2-212-g44432c5+
Comment 2 bulk 2020-12-12 17:32:40 EST
Created attachment 373935 [details]
2020-12-12 15:03 Crash report
Comment 3 John Ralls 2020-12-12 19:41:14 EST
A use-after-free in some new code, fixed in git. Thanks!

Note You need to log in before you can comment on or make changes to this bug.