I’m getting access violations on startup all over the place, seemingly at random places like Button’s constructor, or XML’s readElement, and sometimes at the __security_init_cookie() pre-main function.
As I understand it the __security_init_cookie() thing breaks when you have a buffer overrun and something overwrites the function’s stack frame; I don’t think this checks heap memory. It’s not helpful at all because it never points to the origin of the overrun, if any. I can’t conclude anything really.
The ‘this’ pointer of all of these cases is always suspicious like 0x0008c0000 … and there are never any stack trace frames.
This is really irritating, has anyone had similar problems? Or suggestions?
btw, debugging with gdb on the same source (albeit different SDK files and libs), no problems occur.