Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.1
-
None
-
OSX 10.6.5
-
5949c215bd53582d0c6481f606a9ec015f067b37
Description
Since Qt 4.7, QDockWidget of type Qt::Drawer cause a crash in the destruction of the parent widget.
I made a minimal code to reproduce the problem :
- Compile it with Qt 4.7.x
- run the application
- CLICK in the treeview in the drawer
- QUIT the application
The application crash with the following backtrace :
#0 0x9415cedb in objc_msgSend () #1 0x01a2dae0 in ?? () #2 0x97a1f9f5 in -[NSView removeFromSuperview] () #3 0x00028a56 in qt_mac_destructView () #4 0x0002fe33 in QWidget::destroy () #5 0x000e3b4d in QWidget::~QWidget () #6 0x00bb756c in QObjectPrivate::deleteChildren () #7 0x000e4017 in QWidget::~QWidget () #8 0x000038d4 in MainWindow::~MainWindow (this=0xbffff5d4) at drawer/main.cpp:8 #9 0x0000358a in main (argc=1, argv=0xbffff660) at drawer/main.cpp:32