[C++-sig] boost.python coredump in debug mode..?

David Abrahams dave at boost-consulting.com
Wed Oct 30 03:51:51 CET 2002


"Bjorn Pettersen" <BPettersen at NAREX.com> writes:

> I'm working through the tutorial introduction, and I'm getting a strange
> coredump in a debug build. I'm at the struct World example with a
> constructor:
> 
> >>> import hello
> >>> x = hello.World('hi')
> >>> x.greet()
> 'hi'
> >>> hello.World('hi') # if I remove this I don't get a coredump
> <hello.World object at 0x0089E748>
> >>> x.greet()
> [coredump]
> 
> The exact message is "Debug Assertion Failed! File: dbgheap.c Line 1044
> Expression _CrtIsValidHeapPointer(pUserData)". I'm using msvc6 on winxp
> and the release version works fine. Am I doing something wrong?

Perhaps you didn't carefully read the section on build variants at
http://www.boost.org/libs/python/building.html?

-- 
                    David Abrahams
dave at boost-consulting.com * http://www.boost-consulting.com





More information about the Cplusplus-sig mailing list