Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CException::`RTTI Complete Object Locator in VC++ Application

HI

I seem to be getting an CException::`RTTI Complete Object Locator exception once in a while in my VC++ application.

Does any of u know why this particular exception occurs.

i get this when calling the GetLocaleInfo() WINDOWS API.

Any help would be great.

Thanks

like image 609
ckv Avatar asked Jun 01 '26 14:06

ckv


1 Answers

The call stack is corrupted. Higher version of Visual C++ injects "cookies" between variables on the stack to detect overwrites. You may want to upgrade to a new version of Visual C++ to have the compiler help you.

Otherwise it is very hard to catch the corruption. Use unit test to isolate bug. Increase the frequency of your data integrity validation.

like image 52
Sheng Jiang 蒋晟 Avatar answered Jun 03 '26 19:06

Sheng Jiang 蒋晟



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!