GNOME Bugzilla – Bug 341757
Crash during Since Last Run
Last modified: 2018-06-29 21:04:16 UTC
While updating an SX, gnucash crashed (svn 514032). Edited an SX, then tried to process it in the SLR. The SX had just been edited, and has a single variable in it. I typed in the variable amount, pressed Enter on the keyboard, then clicked Forward. Gnucash crashed. I am unable to duplicate the crash using these steps, but am posting the backtrace in case someone sees something that needs fixing. I had processed several (6-8) SXs thru a couple iterations of the SLR without any problem prior to the crash. Backtrace was generated from '/opt/gnucash/bin/gnucash' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1208780576 (LWP 14801)] 0x007bc402 in ?? ()
+ Trace 68218
Thread 1 (Thread -1208780576 (LWP 14801))
I know it's been a while, but do you remember if you had recently created or deleted an account?
Or, here's another idea/question. Maybe you had the FilterBy setting for the account tree set to hide-zero-balance-accounts. Then, maybe the transaction you created from the SX was the first transaction in the account, and so the account became non-zero balance. So maybe frame 14 is the filter model emitting row_inserted because there's a newly visible account. Possible?
(In reply to comment #2) > Or, here's another idea/question. Maybe you had the FilterBy setting for the > account tree set to hide-zero-balance-accounts. Then, maybe the transaction > you created from the SX was the first transaction in the account, and so the > account became non-zero balance. So maybe frame 14 is the filter model > emitting row_inserted because there's a newly visible account. Possible? FWIW, I can't reproduce according to this theory. The now-non-zero account simply becomes visible.
all I remember about it was what's written, sorry. I do know that I haven't had the SLR crash on me in quite some time (probly since 5/14/06). Although I haven't edited many SX's either.
This _may_ have been fixed by r14283 and r14285. At the very least, that fix has been shown to correct filter-model behavior for some gtk+ versions. Can you tell what version of gtk+ you were using here?
Another possible explanation is that the account tree view was sorted on one of the balance columns, and creating the sx changed the sort order of that account. But, I really think the scenario in comment #2 best explains this:
+ Trace 68583
the account tree model only emitted row_changed (frame #21), but the filter model emits row_inserted (frame #14). This isn't strictly a dup of bug #343362, since you weren't creating an account, but I'm convinced it's part of the same bug-complex. I'm closing this as a dup of bug #343405, which seems resolved by r14285. *** This bug has been marked as a duplicate of 343405 ***
*** Bug 379371 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=341757. Please update any external references or bookmarks.