Boost logo

Boost Users :

Subject: Re: [Boost-users] Using Boost.Test on 64-bit OSX
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-01-27 12:19:25


Michael Dickey <mike <at> mikedickey.com> writes:

> test(93789) malloc: *** error for object 0x30001001004d0: Non-aligned
> pointer being freed (2)

> #0 0x00007fff810a9a11 in malloc_error_break ()
> #1 0x00007fff810a4a90 in szone_error ()
> #2 0x00000001000156ec in ~framework_impl [inlined] () at impl/
> framework.ipp:133
> #3 0x00000001000156ec in __tcf_1 () at impl/framework.ipp:222
> #4 0x00007fff8100131c in __cxa_finalize ()
> #5 0x00007fff81001232 in exit ()
> #6 0x0000000100001057 in start ()

I have a suspicion that it's related to the delete statements valgrind was
complaining about. Not sure what is wrong though. Try to comment delete for
test units and let me know how it works. Maybe you can provide some
explanation either.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net