Hello,
I have Class A, that has a virtual method. (and implements it)
Class B inherits from Class A, but does not implement the virtual method.
I have a map of objects of class B.
I have a very long program, and it adds a lot of times objects to the map.
I run the program randomly, and once in about 4-5 runs, it crashed with a message of:
"::`vftable' (NULL:0)".
It is an unhandeled exception and I can't go back to the place it happened.
My guess is that the virtual table has been overwritten somehow, but I can't find when it happens (and as I said, it happens just once in 4-5 runs).
Is there a way I can find, using the debugger, the point and moment the virtual table is overridden?
Thanks