Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.2, 5.4.0 Alpha
-
None
-
Windows XP SP3
MSVC 2003
qt-everywhere-opensource-src-4.7.2.zip
Source revision: 0828c69ad805406568f6eef2bffbbd54b04dea41
Mkdist revision: 74a394eb70d29b9f9db6d12c1000c80e2f3db530
-
b2b9fdfda0f7838059d7e826d81740977ef35a6e
Description
QSizeGrip holds pointer to its window (top level widget) - QSizeGripPrivate::tlw. This pointer isn't updated immediately after its top level widget changes, but some time later. The previous TLW is accesed during the update (event filter removing), but it may not exist at this time => crash.
In the attachment, there is an example code which crashes because of this bug.