Created attachment 373343 [details] Mac crash report I had finished working on one GC file some time before, and the file had been auto-saved, when I went to the File menu to open another, accidentally selecting the file I already had open. When I realised my error, I opened the file I really wanted, and the crash ensued. Having saved the crash report, I restarted GC and received and overruled the “File Already Open” warning. I’ve gone on to record and edit numerous transactions since then.
Cannot duplicate in Linux master (~3.10+).
Chris, 3.10+ would be the last stable release, not master. Since from the stack trace it seems to be webkit related it's entirely possible that it can't be reproduced on Linux because of the wildly different webkit versions in use on Mac and Windows vs. Linux.
Hi John, I should have said master (git 3.902-168-gc12ae077f+(2020-05-24)).
I haven't managed to reproduce the error today on 3.9 (Mac Catalina).
I dunno. I worked out from an assembly dump that the free that crashed was https://github.com/Gnucash/gnucash/blob/maint/gnucash/html/gnc-html-webkit1.c#L507, priv->html_string. It's correctly reassigned every time it's freed so I don't see how it could be double-freed. I guess you found some corner case that managed it, but I can't reproduce it following your instructions and it seems you can't either. So I'll close this as "incomplete". If it happens again try to write down as many details about the circumstances, especially what reports were open in both files. Reopen the bug, add what information you can, and attach the tracefile.