Created attachment 373595 [details] Crash report second attempt Crash on editing action field on splits. 2 Crash reports attached.
Created attachment 373596 [details] Crash report first attempt
They're the same crash. Please tell us step-by-step exactly what you did that leads to the crash.
My wife was the user and it was she who encountered the problem. I am reporting the bug because I am the household IT guy (the one who gets yelled at when things go wrong even though it's not my fault, I swear). This is as best as I can reconstruct the events from memory. 1. Buy a new iMac 2. Copy GnuCash data file from old MacBook 3. Realize you need to install GnuCash <slaps forehead> 4. Install latest stable build for Mac (3.8) from GnuCash.org 5. Fail to notice that I had previously been using version 2.6 6. Execute GnuCash and open latest data file 7. Fail to notice subtle UI changes - put view into double-line display mode. 8. Begin editing old transactions to fix description fields This mostly involved editing the second line description field 9. Crash happens when typing characters in that second line description field. 10. Panic then repeat with same result 11. Removed version 3.8 and installed 2.6 12. Editing works as expected without any errors. If you are unable to reproduce let me know and I will re-install 3.8 and try to reproduce here. -Stephen
Well, I'm not doing the first 3 steps and I've already got a 3.8 installation handy. I also have some really old test files, so I fired one up and tried loading one from 2014. It doesn't have any entries in the notes field so I opened it with 2.6.15 (in a Mavericks VM because Catalina won't run 2.6.x. Did you manage to get a new Mac with Mojave?) and made a notes entry, then copied the file back and edited the notes field with 3.8. No problems. The stack traces say that you were committing the transaction and that there's a button-press handler involved: That implies that while editing you had clicked outside of the transaction you were editing and were presented with the "transaction edited, discard/cancel/record" dialog and clicked record. The commit is processing removing a split from an account. What's weird, and may mean that the problem has nothing to do with anything you did, is that the actual crash is in a find-account dialog event handler. If there's no find account dialog open then that would explain why it's crashing, but not why the handler fired. Might you have used the find account dialog earlier?
I did buy the new iMac in November and it surprisingly came with Mojave. I haven't felt a need to upgrade yet especially since I have two active Macs and a user that does not like there to be any difference between them. I spoke with "The User", AKA "The Spouse", about what she was working on that day. She was going through transactions from the last year adding notes and she did reassign the account for several transactions. It is very likely that she did access the find-account dialog at some point but when the crash occurred it was probably after she left that dialog and moved to the notes field in the register. Clicking outside the transaction is quite possible, I've seen her do that a lot.
OK, I think this is probably the latest in a recent run of didn't-unregister-a-handler bugs. I'll push a fix tomorrow.
I was able to reproduce the crash this morning so now I'm sure of the fix, which is pushed and will be in GnuCash 3.9.