Asserts due to clobbered free memory
jralls at ceridwen.us
Sat Oct 19 22:37:08 EDT 2013
On Oct 19, 2013, at 7:06 PM, Derek Atkins <derek at ihtfp.com> wrote:
> Is this reproducible easily?
> Can you run GnUCash with Valgrind?
> On Sat, October 19, 2013 9:54 pm, Mike Alexander wrote:
>> I'm getting crashes in GnuCash with an error like
>> gnucash(59868,0x7fff7e813180) malloc: *** error for object
>> 0x7f950b29e008: incorrect checksum for freed object - object was
>> probably modified after being freed.
>> I'm running the X11 version on MacOSX 10.8.5 and I just updated to the
>> current head version. I have been getting these for a while and w
>> hoping that updating would make them go away, but I just got another
>> one. Has anyone else seen this? I'm running an optimized version of
>> GnuCash so I'm sort of surprised that malloc is making these checks.
>> One "solution" would be to figure out how to turn it off, but I suspect
>> there is a real problem here somewhere.
Apple's malloc has its own debugging, some level of which operates all the time, I think
because ObjC is garbage collected. It also has some environment variables and ancillary
programs that work better than Valgrind does on OSX. See malloc(1) for detailed info.
More information about the gnucash-devel