[solved] Crash on exiting an application
-
I am testing an application and do not get any errors. However other people do, when they try to close the application using the X icon in the window.
https://www.dropbox.com/sc/yetqa9hs1m4j1cy/Py4ambW6tQ
https://www.dropbox.com/sc/b7c84n9m291z3vv/9kTI6eexc1
https://www.dropbox.com/sc/tnsf9rz2riuenj2/N6RmdneCNY
When I run dependency walker, I get the following:
https://www.dropbox.com/sc/u0y4er88btsiybr/D6oZNrT5zn
Can this be a problem? Again, I do not get any errors myself.
Thank you!
-
Hi,
No it should not. Are you doing any cleanup, having custom destructors etc. ?
-
SGaist. Brilliant. Thank you so much! Just received reports from the other users. Problem is gone.
I created several pointer objects on the heap in one of the functions. Then I wrote a command to destroy the objects in the mainwindow destructor. If the user never called that function, there was nothing to destroy.
Anyways, thank you so much for pointing to the problem!
-
You're welcome !
Missing pointer initialization to 0 ?
-
Yeah, silly me. :-)
Thanks and Merry Christmas!
-
You're welcome and same to you !