Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0, 5.8.0
-
Windows 10, Windows 7
-
59c6c0e0b1b5b46747595a58e11311b7393d7e70 5149aa68eca6ede8836ec4f07a14d22d9da9b161 b17337da34a76f9512a826b19dcd45b337295c3b
Description
Adding items to GridLayout through default property alias causes a crash when destroying the item.
To reproduce:
- use Qt 5.6.0 MSVC2013 or MSVC2015 64bit build on Windows 10
- start attached application
- close the window
I could not reproduce this with MinGW on Windows 7 or 10 and also does not seem to be reproducible on Linux.
Attachments
Issue Links
- duplicates
-
QTBUG-52490 Regression: crash in QQuickItem destructor when qml contains layouts and default property alias
- Closed
- is duplicated by
-
QTBUG-56909 Nested layouts crash on exit macOS Sierra
- Closed
-
QTBUG-51558 [REG 5.6Beta-5.6.0] Access Violation in QQuickItem's dtor when used as a container with a layout
- Closed
-
QTBUG-52241 QQuickItem destructor crash when an item created from c++ is used inside an item hierarchy with default property alias
- Closed
-
QTBUG-52630 Crash on destruction of a Layout with children attached to alias default property
- Closed
- relates to
-
QTBUG-58545 Crash in QQuickItem destructor
- Closed
-
QTBUG-99629 Improve safety/debuggability of item change listeners
- Open
For Gerrit Dashboard: QTBUG-51927 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
170828,3 | Fix crash on exit when using default property aliases with layouts | 5.6.2 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
170844,6 | Fix crash on exit when using default property aliases with layouts | 5.7 | qt/qtdeclarative | Status: MERGED | -2 | 0 |
186318,3 | QQuickLayout: ensure that all change listeners are removed | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |