Re: gnucash 3.5 use after free crash when closing account tab
On Tue, Apr 16, 2019 at 06:57:26PM -0500, myportslist20190...@nym.hush.com wrote: > Hi, ports, gnucash crashes for me with use after free error whenever > I close an account tab. It runs fine otherwise. > > This started months ago for me while running current around the > time of 6.4. I'm sorry to be so late in reporting it. It happens > on three different machines. I've uninstalled and reinstalled > gnucash and tried it from many snapshots. It happens even if I > create a new gnucash file, open a few tabs, then try closing one > (this is what I do in the example below). Hi. Would you mind opening an issue upstream about it? > Please let me know if I can provide further information. Thanks for > your help! > > johannesv$ gnucash --version > > GnuCash 3.5 > Build ID: 3.5+(2019-03-30) > > johannesv$ sysctl kern.version > > kern.version=OpenBSD 6.5 (GENERIC.MP) #849: Wed Apr 10 04:03:54 MDT 2019 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > # Here I start gnucash, open a couple tabs, then try to close one: > > johannesv$ gnucash > gnucash(97036) in free(): use after free 0xd5f9774d80 > Abort trap (core dumped) > > # with gdb and (gdb) bt: > > johannesv$ gdb gnucash -c gnucash.core > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-unknown-openbsd6.5"... > (no debugging symbols found) > > Core was generated by `gnucash'. > Program terminated with signal 6, Aborted. > Reading symbols from /usr/lib/libpthread.so.26.1...done. > Loaded symbols for /usr/lib/libpthread.so.26.1 > Loaded symbols for /usr/local/bin/gnucash > Reading symbols from /usr/local/lib/libgnc-gnome.so.1.0...done. > Loaded symbols for /usr/local/lib/libgnc-gnome.so.1.0 > Reading symbols from /usr/local/lib/libguile-2.2.so.0.2...done. > Loaded symbols for /usr/local/lib/libguile-2.2.so.0.2 > Reading symbols from /usr/local/lib/libgc.so.4.0...done. > Loaded symbols for /usr/local/lib/libgc.so.4.0 > Reading symbols from /usr/local/lib/libglib-2.0.so.4201.1...done. > Loaded symbols for /usr/local/lib/libglib-2.0.so.4201.1 > Reading symbols from /usr/local/lib/libintl.so.6.0...done. > Loaded symbols for /usr/local/lib/libintl.so.6.0 > Reading symbols from /usr/local/lib/libgtk-3.so.2201.0...done. > Loaded symbols for /usr/local/lib/libgtk-3.so.2201.0 > Reading symbols from /usr/local/lib/libgdk-3.so.2201.1...done. > Loaded symbols for /usr/local/lib/libgdk-3.so.2201.1 > Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.1...done. > Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.1 > Reading symbols from /usr/local/lib/libpango-1.0.so.3800.2...done. > Loaded symbols for /usr/local/lib/libpango-1.0.so.3800.2 > Reading symbols from /usr/local/lib/libatk-1.0.so.21809.2...done. > Loaded symbols for /usr/local/lib/libatk-1.0.so.21809.2 > Reading symbols from /usr/local/lib/libcairo-gobject.so.2.0...done. > Loaded symbols for /usr/local/lib/libcairo-gobject.so.2.0 > Reading symbols from /usr/local/lib/libcairo.so.13.0...done. > Loaded symbols for /usr/local/lib/libcairo.so.13.0 > Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1...done. > Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1 > Reading symbols from /usr/local/lib/libgio-2.0.so.4200.8...done. > Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.8 > Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.8...done. > Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.8 > Reading symbols from /usr/local/lib/gnucash/libgncmod-ledger-core.so...done. > Loaded symbols for /usr/local/lib/gnucash/libgncmod-ledger-core.so > Reading symbols from /usr/local/lib/gnucash/libgncmod-report-gnome.so...done. > Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-gnome.so > Reading symbols from /usr/local/lib/gnucash/libgncmod-html.so...done. > Loaded symbols for /usr/local/lib/gnucash/libgncmod-html.so > Reading symbols from /usr/local/lib/libwebkit2gtk-4.0.so.3.0...done. > Loaded symbols for /usr/local/lib/libwebkit2gtk-4.0.so.3.0 > Reading symbols from /usr/local/lib/libsoup-2.4.so.10.2...done. > Loaded symbols for /usr/local/lib/libsoup-2.4.so.10.2 > Reading symbols from /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0...done. > Loaded symbols for /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0 > Reading symbols from /usr/local/lib/gnucash/libgncmod-report-system.so...done. > Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-system.so > Reading symbols from > /usr/local/lib/gnucash/libgncmod-register-gnome.so...done. > Loaded symbols for /usr/local/lib/gnucash/libgncmod-register-gnome.so > Reading symbols from /usr/local/lib/gnucash/libgncmod-register-core.so...done.
gnucash 3.5 use after free crash when closing account tab
Hi, ports, gnucash crashes for me with use after free error whenever I close an account tab. It runs fine otherwise. This started months ago for me while running current around the time of 6.4. I'm sorry to be so late in reporting it. It happens on three different machines. I've uninstalled and reinstalled gnucash and tried it from many snapshots. It happens even if I create a new gnucash file, open a few tabs, then try closing one (this is what I do in the example below). Please let me know if I can provide further information. Thanks for your help! johannesv$ gnucash --version GnuCash 3.5 Build ID: 3.5+(2019-03-30) johannesv$ sysctl kern.version kern.version=OpenBSD 6.5 (GENERIC.MP) #849: Wed Apr 10 04:03:54 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP # Here I start gnucash, open a couple tabs, then try to close one: johannesv$ gnucash gnucash(97036) in free(): use after free 0xd5f9774d80 Abort trap (core dumped) # with gdb and (gdb) bt: johannesv$ gdb gnucash -c gnucash.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd6.5"... (no debugging symbols found) Core was generated by `gnucash'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libpthread.so.26.1...done. Loaded symbols for /usr/lib/libpthread.so.26.1 Loaded symbols for /usr/local/bin/gnucash Reading symbols from /usr/local/lib/libgnc-gnome.so.1.0...done. Loaded symbols for /usr/local/lib/libgnc-gnome.so.1.0 Reading symbols from /usr/local/lib/libguile-2.2.so.0.2...done. Loaded symbols for /usr/local/lib/libguile-2.2.so.0.2 Reading symbols from /usr/local/lib/libgc.so.4.0...done. Loaded symbols for /usr/local/lib/libgc.so.4.0 Reading symbols from /usr/local/lib/libglib-2.0.so.4201.1...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.4201.1 Reading symbols from /usr/local/lib/libintl.so.6.0...done. Loaded symbols for /usr/local/lib/libintl.so.6.0 Reading symbols from /usr/local/lib/libgtk-3.so.2201.0...done. Loaded symbols for /usr/local/lib/libgtk-3.so.2201.0 Reading symbols from /usr/local/lib/libgdk-3.so.2201.1...done. Loaded symbols for /usr/local/lib/libgdk-3.so.2201.1 Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.1...done. Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.1 Reading symbols from /usr/local/lib/libpango-1.0.so.3800.2...done. Loaded symbols for /usr/local/lib/libpango-1.0.so.3800.2 Reading symbols from /usr/local/lib/libatk-1.0.so.21809.2...done. Loaded symbols for /usr/local/lib/libatk-1.0.so.21809.2 Reading symbols from /usr/local/lib/libcairo-gobject.so.2.0...done. Loaded symbols for /usr/local/lib/libcairo-gobject.so.2.0 Reading symbols from /usr/local/lib/libcairo.so.13.0...done. Loaded symbols for /usr/local/lib/libcairo.so.13.0 Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1...done. Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1 Reading symbols from /usr/local/lib/libgio-2.0.so.4200.8...done. Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.8 Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.8...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.8 Reading symbols from /usr/local/lib/gnucash/libgncmod-ledger-core.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-ledger-core.so Reading symbols from /usr/local/lib/gnucash/libgncmod-report-gnome.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-gnome.so Reading symbols from /usr/local/lib/gnucash/libgncmod-html.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-html.so Reading symbols from /usr/local/lib/libwebkit2gtk-4.0.so.3.0...done. Loaded symbols for /usr/local/lib/libwebkit2gtk-4.0.so.3.0 Reading symbols from /usr/local/lib/libsoup-2.4.so.10.2...done. Loaded symbols for /usr/local/lib/libsoup-2.4.so.10.2 Reading symbols from /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0...done. Loaded symbols for /usr/local/lib/libjavascriptcoregtk-4.0.so.3.0 Reading symbols from /usr/local/lib/gnucash/libgncmod-report-system.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-report-system.so Reading symbols from /usr/local/lib/gnucash/libgncmod-register-gnome.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-register-gnome.so Reading symbols from /usr/local/lib/gnucash/libgncmod-register-core.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-register-core.so Reading symbols from /usr/local/lib/gnucash/libgncmod-gnome-search.so...done. Loaded symbols for /usr/local/lib/gnucash/libgncmod-gnome-search.so Reading symbols from /usr/local/lib/gnucash/libgncmod-gnome-utils.so...done. Loaded symbols for