AUDIT: r17506 - gnucash/trunk/src/register/ledger-core - 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.

Charles Day cedayiv at cvs.gnucash.org
Sun Sep 14 12:05:53 EDT 2008


Author: cedayiv
Date: 2008-09-14 12:05:53 -0400 (Sun, 14 Sep 2008)
New Revision: 17506
Trac: http://svn.gnucash.org/trac/changeset/17506

Modified:
   gnucash/trunk/src/register/ledger-core/split-register.c
Log:
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


Modified: gnucash/trunk/src/register/ledger-core/split-register.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register.c	2008-09-13 18:49:57 UTC (rev 17505)
+++ gnucash/trunk/src/register/ledger-core/split-register.c	2008-09-14 16:05:53 UTC (rev 17506)
@@ -2402,6 +2402,8 @@
    /* 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



More information about the gnucash-changes mailing list