boost.python coredump in debug mode..?
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? -- bjorn Bjorn Pettersen NAREX Inc. 303.526.4000 ext. 312 303.526.5130 fax www.narex.com
"Bjorn Pettersen" <BPettersen@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@boost-consulting.com * http://www.boost-consulting.com
participants (2)
-
Bjorn Pettersen -
David Abrahams