After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 501059 - GnuCash leaks since last run dialogs
GnuCash leaks since last run dialogs
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.2.x
Other Linux
: Normal critical
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks: backport
 
 
Reported: 2007-12-02 17:12 UTC by Andreas Köhler
Modified: 2018-06-29 21:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Köhler 2007-12-02 17:12:16 UTC
Reproduce:
* gnucash --nofile
* Activate SLR dialog in scheduled txn preferences
* Create accounts A and B
* Create a scheduled transaction between A and B (create in advance: 0, daily, start yesterday)
* Save the file $file
* File > 1 ($file)
* Press OK to create txns
* File > 1 (without saving)
* Press OK

--> CRIT <GLib> g_hash_table_foreach: assertion `hash_table != NULL' failed

This is because we leak the underlying model.  Another problem is about the whole dialog, just reopen the file without closing the SLR dialog -> it stays open with possible evil effects.
Comment 1 Andreas Köhler 2007-12-02 17:18:18 UTC
r16610.
Awaiting backport.
Comment 2 Andreas Köhler 2007-12-15 22:49:43 UTC
branches/2.2@r16660.
Comment 3 John Ralls 2018-06-29 21:55:30 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=501059. Please update any external references or bookmarks.