r19986 - gnucash/trunk/src/gnome-utils - Fix more memory leaks. scm_to_locale_string() returns a string which must be freed.
Phil Longstaff
plongstaff at rogers.com
Thu Dec 30 10:45:40 EST 2010
Yes, I have guile 1.8.
Thanks for taking care of it.
On Thu, 2010-12-30 at 11:58 +0100, Christian Stimming wrote:
> Dear Phil,
>
> unfortunately this (r19985..r19988) break the start-up of gnucash here. I've
> got guile-1.6.8, so I suspect you have guile-1.8 and it's a guile think here.
>
> At r19985 I don't have a crash at start-up but instead at shutdown; since
> r19986 I've got the crash at start-up as shown below.
>
> Regards,
>
> Christian
>
> *** glibc detected *** gnucash: double free or corruption (fasttop):
> 0x00000000027b1650 ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x775b6)[0x7f6e5852d5b6]
> /lib/libc.so.6(cfree+0x73)[0x7f6e58533e83]
> /home/cs/usr/lib/gnucash/libgncmod-gnome-utils.so(+0x893f3)[0x7f6e593bb3f3]
> /home/cs/usr/lib/gnucash/libgncmod-gnome-utils.so(gnc_add_scm_extension+0x18)
> [0x7f6e593bb5dd]
> /home/cs/usr/lib/gnucash/libgncmod-gnome-utils.so(+0xc14d3)[0x7f6e593f34d3]
> /usr/lib/libguile.so.12(scm_deval+0x35ce)[0x7f6e5e866efe]
> /usr/lib/libguile.so.12(scm_deval+0xd90)[0x7f6e5e8646c0]
> /usr/lib/libguile.so.12(+0x6d348)[0x7f6e5e89b348]
> /usr/lib/libguile.so.12(scm_c_with_fluids+0x90)[0x7f6e5e868560]
> gnucash[0x4066d5]
> /usr/lib/libguile.so.12(scm_boot_guile+0x5d)[0x7f6e5e877c9d]
> gnucash(main+0x20e)[0x406bd9]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7f6e584d4c4d]
> gnucash[0x4037e9]
> ======= Memory map: ========
> 00400000-00409000 r-xp 00000000 08:05 7609726
> /home/cs/usr/bin/gnucash
> 00608000-00609000 r--p 00008000 08:05 7609726
> /home/cs/usr/bin/gnucash
> 00609000-0060a000 rw-p 00009000 08:05 7609726
> /home/cs/usr/bin/gnucash
> 02351000-02938000 rw-p 00000000 00:00 0
> [heap]
> 7f6e3c000000-7f6e3c021000 rw-p 00000000 00:00 0
> 7f6e3c021000-7f6e40000000 ---p 00000000 00:00 0
> 7f6e4058d000-7f6e4078f000 rw-p 00000000 00:00 0
> 7f6e4078f000-7f6e41240000 rw-p 00000000 00:00 0
> 7f6e4135a000-7f6e4155c000 rw-p 00000000 00:00 0
> 7f6e4155c000-7f6e4155d000 r-xp 00000000 08:05 7741596
> /home/cs/usr/lib/gnucash/libgncmod-locale-reports-us.so
> (...)
>
> Am Mittwoch, 29. Dezember 2010 schrieb Phil Longstaff:
> > Author: plongstaff
> > Date: 2010-12-28 20:39:49 -0500 (Tue, 28 Dec 2010)
> > New Revision: 19986
> > Trac: http://svn.gnucash.org/trac/changeset/19986
> >
> > Modified:
> > gnucash/trunk/src/gnome-utils/gnc-menu-extensions.c
> > Log:
> > Fix more memory leaks. scm_to_locale_string() returns a string which must
> > be freed.
> >
> >
> > _______________________________________________
> > gnucash-patches mailing list
> > gnucash-patches at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-patches
>
More information about the gnucash-devel
mailing list