GnuCash
Contact   Instructions
Bug 797327 - Crash after changing numerous transactions from asset to liability accounts
Summary: Crash after changing numerous transactions from asset to liability accounts
Status: RESOLVED INCOMPLETE
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: 3.5
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: general
QA Contact: general
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 11:49 EDT by Michael Hendry
Modified: 2019-12-20 13:30 EST (History)
4 users (show)

See Also:


Attachments
Mac crash report (84.26 KB, text/plain)
2019-07-28 11:49 EDT, Michael Hendry
no flags Details

Description Michael Hendry 2019-07-28 11:49:50 EDT
Created attachment 373335 [details]
Mac crash report

I had just completed the editing of a number of transactions, transferring them from an asset account to a liability account by opening the asset account and changing each one in turn until the asset account was empty.

I then deleted the (now empty) asset account, without closing the tab relating to the account. I’m not sure whether I clicked on the tab to check whether it was indeed empty, or whether it happened as I deleted the account.

The report on the crash is attached

I’m running GC 3.5 on iMac with Mac OS X High Sierra.

I had been working on an experimental copy of my file, created this morning to investigate the effect of this activity. This file was incomplete (i.e. missing transactions) when I forced it open after the crash, so I retraced my steps and tried the process again.

This time there was no crash.
Comment 1 John Ralls 2019-07-28 14:06:07 EDT
I'll repeat the note on the mailing list that not only can I not reproduce it but the stack trace is corrupted: There's no path from gnc_plugin_business_window_main_changed to gnc_split_register_get_current_trans. Both are called by gnc_plugin_page_ui_register_update. I'll add to that that the crash location reported is https://github.com/Gnucash/gnucash/blob/maint/gnucash/register/ledger-core/split-register.c#L273, 
  if (reg == NULL)

a very unlikely place for a crash.
Comment 2 Matt Forbis 2019-12-20 12:09:59 EST
Is there a way forward on this bug or should we close it as Incomplete?
Comment 3 John Ralls 2019-12-20 13:30:30 EST
I don't think that there's a way forward.

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