My app started to crash upon closing. In practical, it isn't really disturbing or annoying to the end user, since the app just closes and everything is saved. But as a developer it isn't really satisfying, and I suppose that it's not really good for my computer either.
The exception thrown is a sizer exception, but I don't know how to interpret it, here is the call stack :
Here is the exception :
Exception thrown: read access violation.
this->m_window-> was 0xDDDDDDDD.
and at this exact line of the Free() method :
Code: Select all
case Item_Sizer:
delete m_sizer; // THIS LINE
break;
- The excepion is thrown from a sizer that is deleted "manually" and that wxWidgets can't delete no more since it doesn't exist (I say manually between quotes because I checked and I don't delete sizers by myself in the entire project)
- The exception is thrown from a sizer that I declarated but didn't initialize, so the pointed value is not valid, and wxWidgets can't delete it when the time comes.
The « External Code » bit prevents me from tracing the source of the problem; does someone have a way to know what is this external code talked about ? I'm using VS 2019 on Windows 10.
Thanks in advance,
Mat