runtime assertion in version 0.3.0

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Sachin
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 06, 2005 09:42

runtime assertion in version 0.3.0

Postby Sachin » Thu Jul 07, 2005 10:52

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?

User avatar
Acrion
Just popping in
Just popping in
Posts: 18
Joined: Tue Jun 28, 2005 18:45
Location: Maine, USA
Contact:

Re: runtime assertion in version 0.3.0

Postby Acrion » Thu Jul 07, 2005 14:00

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?
[font=Verdana][size=xx-small]"It's not hard to stand out when the general level of competence is so low" -EMH[/size][/font]
namik@flashmail.com

User avatar
Sachin
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 06, 2005 09:42

Re: runtime assertion in version 0.3.0

Postby Sachin » Thu Jul 07, 2005 14:05

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

User avatar
jacmoe
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark
Contact:

Re: runtime assertion in version 0.3.0

Postby jacmoe » Thu Jul 07, 2005 19:52

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:


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 15 guests