[C++-sig] Building boost.python on Mac OS X

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Jan 14 19:56:13 CET 2003


--- 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? 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)?

Ralf


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the Cplusplus-sig mailing list