[Interest] QSopedPointer crashes application at exit

Igor Mironchik igor.mironchik at gmail.com
Thu Sep 19 12:07:10 CEST 2013


>> The problem is in QScopedPointer at exit point
> I don't think this has something to do with the QScopedPointer.
>
> The QApplication is object is destroyed before the static instance of
> your MainWindow is.
> The QWidget destructor however needs a QApplication instance (see
> stack frame #3).

But in call stack I see that all d_tors() executed before 
QApplication::d_func() and then for some reasons executes 
QScopedPointer::data() !!! It's looks like a bug? Or I wrong?





More information about the Interest mailing list