[C++-sig] Building boost.python on Mac OS X
David Abrahams
dave at boost-consulting.com
Wed Jan 15 02:46:47 CET 2003
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> --- David Abrahams <dave at boost-consulting.com> wrote:
>> Harri Hakula <Harri.Hakula at hut.fi> writes:
>> >
>> > Apparently this problem remains:
>> > *** malloc[762]: Deallocation of a pointer not malloced: 0x2b84c0; This
>> could be a double free(), or
>> > free() called with the middle of an allocated block; Try setting
>> environment variable MallocHelp to see
>> > tools to help debug
>> > Total OK: 1300
>> > a_value_allocation: -12
>
> Ouch!
>
>> Ralf,
>>
>> Could you add an item to the FAQ about "does BPL work with MacOSX",
>> which has a link to your bug reproduction code?
>>
>> Thanks,
>> Dave
>
> Will do.
>
> Can you imagine how this double-destruction problem affects
> Boost.Python?
No, but then again I don't know what characterizes the conditions that
cause the problem.
> Is there any chance that we could #ifdef out certain destructors
> which don't tolerate being called twice (memory leaks seem better
> than nothing at all)?
Maybe. I have no idea.
--
David Abrahams
dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
More information about the Cplusplus-sig
mailing list