Font XML Parsing Crash
Posted: Wed Aug 25, 2004 12:55
So, I've written up the beginnings of a Gambryo renderer (still quite primordial), and I scrapped together a little app to test my new code. I'm using the xml and media from Ogre Demo 7 to test with. After fixing a few problems I have, the program now tries to run, but then unceremoniously crashes on:
parser->parse(filename.c_str());
...in CEGUIFont.cpp. The exception is NOT an XML or SAX Parser exception, so it falls through to the final (...) case, which provides NO useful information at all. I can't step into the parser at all, it seems. As a desperation move, I commented out all of the exception handling around this statement, to see what the actual error was. This is what I saw:
Er, hubuwha? I'm an old vet, and this is the first time I've ever seen this error. It looks like a DLL mismatch problem or something. Does anyone have any suggestions? Thanks!
parser->parse(filename.c_str());
...in CEGUIFont.cpp. The exception is NOT an XML or SAX Parser exception, so it falls through to the final (...) case, which provides NO useful information at all. I can't step into the parser at all, it seems. As a desperation move, I commented out all of the exception handling around this statement, to see what the actual error was. This is what I saw:
Debug Error!
Program: C:\dev\guitest\Debug\guitest.exe
Module:
File: i386\chkesp.c
Line: 42
The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a funciton pointer declared with a different calling convention.
Er, hubuwha? I'm an old vet, and this is the first time I've ever seen this error. It looks like a DLL mismatch problem or something. Does anyone have any suggestions? Thanks!