GNOME Bugzilla – Bug 703305
[regression] GnuCash crashes on date entry
Last modified: 2018-06-29 23:17:07 UTC
How to reproduce: 1. Open a register with some transactions. 2. Choose to duplicate a transaction. 3. Enter "2012" in the "Duplicate Transaction" dialog's date field. 4. Press TAB to switch focus. GnuCash crashes with: GLib:ERROR:/build/buildd/glib2.0-2.37.3/./glib/gdatetime.c:1519:g_date_time_get_ymd: assertion failed: (leap == GREGORIAN_LEAP(the_year)) In 2.4.13 "2012" is converted to "1899-11-30" and there is no crash. GnuCash compiled from git 86434e10e537c9c63aa on Ubuntu Saucy Salamander 64-bit. With git bisect I managed to narrow it down to this range: # good: [369171ceff55a6deaa3f4935a4fc9b64c374890e] Remove date exceptions. # bad: [c11dfec1d018d804f7b3e39401a0a8a4ae4b16de] Eliminate use of gnc:find-file before I ran into linking errors and had to stop.
trunk r23073. Thanks for pointing this out.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=703305. Please update any external references or bookmarks.