Page 1 of 1

runtime assertion in version 0.3.0

Posted: Thu Jul 07, 2005 10:52
by Sachin
wen i run my project using cegui 0.3.0, i get the abort/retry/ignore dialog on the statement were i load the scheme file. it says: Debug Assertion Failed File:dbgheap.c Line: 1132 Expression: _CrtIsValidHeapPointer(pUserData).

If i just press the ignore button, it reappears 3 times & on each time upon pressing ignore, everything starts running fine.

Any Bright Ideas?

Re: runtime assertion in version 0.3.0

Posted: Thu Jul 07, 2005 14:00
by Acrion
Compiler and version? dependency library versions? Anything else you can provide?

Have you traced it in debug to see what file and line triggers the first error?

Re: runtime assertion in version 0.3.0

Posted: Thu Jul 07, 2005 14:05
by Sachin
im using vc7.1 & the dependency library version is 0.2.x

The problem line in the dbgheap.c is

/*
If this ASSERT fails, a bad pointer has been passed in. It may be totally bogus, or it may have been allocated from another heap. The pointer MUST come from the 'local' heap.
*/

_ASSERTE(_CrtIsValidHeapPointer(pUserData));

Re: runtime assertion in version 0.3.0

Posted: Thu Jul 07, 2005 19:52
by jacmoe
Check that your project is set up to use a runtime Multithreaded DLL / Multithreaded Debug DLL.
This is most likely to be the problem here. :idea: