double free or corruption (out) when closing a QDialog with the WA_DeleteOnClose attribute set
-
@jsulm I don't think so. As you see the output "After exec" is not present. So the error occurs before leaving the scope..
In terminal, "double free or corruption (out)" message is printed after the destructor has been called.
Update: Sorry for bothering you. I was having similar issue. I saw your post in stackoverflow and then my problem solved when I allocated my QMainWindow object in heap instead of the stack.
Many thanks!