mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Register: Log some debugging information just before crashing because of g_assert_not_reached(). This should hopefully provide some new information to help track down the underlying cause of bug #414407, #420409, #468106, and #551643.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17506 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
633c1a75d1
commit
a22d84c1a2
@ -2402,6 +2402,8 @@ gnc_split_register_cleanup (SplitRegister *reg)
|
||||
/* be sure to take care of any open transactions */
|
||||
if (pending_trans != NULL)
|
||||
{
|
||||
g_critical("BUG DETECTED: pending_trans=%p, blank_split=%p, trans=%p",
|
||||
pending_trans, blank_split, trans);
|
||||
g_assert_not_reached();
|
||||
info->pending_trans_guid = *guid_null ();
|
||||
/* CAS: It's not clear to me that we'd really want to commit
|
||||
|
Loading…
Reference in New Issue
Block a user