Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.7.0
-
None
-
macOS Sierra 10.12.1
Qt 5.7.0
Description
Qt seems to crash on exit when the QML contains nested layouts binded through properties.
The provided QML seems to crash on exit on macOS Sierra.
Could not reproduce on El Capitan.
main.qml
import QtQuick 2.5 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 ApplicationWindow { visible: true CustomWindow { ColumnLayout { Text { text: "" } } } }
CustomWindow.qml
import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 ApplicationWindow { default property alias content: column_layout.data ColumnLayout { id: column_layout } }
To reproduce:
qmlscene main.qml Exit the program. Segmentation fault: 11
The crash doesn't happen every time so try a few times.
report.txt
Process: qmlscene [18138] Path: /Users/USER/*/qmlscene Identifier: qmlscene Version: 0 Code Type: X86-64 (Native) Parent Process: bash [14445] Responsible: qmlscene [18138] User ID: 501 Date/Time: 2016-11-04 10:24:12.079 +0100 OS Version: Mac OS X 10.12.1 (16B2555) Report Version: 12 Anonymous UUID: 657ACE35-D64C-7A8A-DBF9-DB936B71D3C0 Sleep/Wake UUID: FAE5A0CB-C88A-4EE5-9236-086175B2FA74 Time Awake Since Boot: 33000 seconds Time Since Wake: 5900 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtQuick 0x000000010a8ec117 QQuickItem::~QQuickItem() + 343 1 libqquicklayoutsplugin.dylib 0x00000001135382b6 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement() + 54 2 org.qt-project.QtCore 0x000000010b478263 QObjectPrivate::deleteChildren() + 227 3 org.qt-project.QtCore 0x000000010b478050 QObject::~QObject() + 2000 4 org.qt-project.QtQuick 0x000000010a9e84f3 QQmlPrivate::QQmlElement<QQuickWindowQmlImpl>::~QQmlElement() + 67 5 org.qt-project.QtCore 0x000000010b478263 QObjectPrivate::deleteChildren() + 227 6 org.qt-project.QtCore 0x000000010b478050 QObject::~QObject() + 2000 7 org.qt-project.QtQuick 0x000000010a93482b QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() + 43 8 org.qt-project.QtCore 0x000000010b478263 QObjectPrivate::deleteChildren() + 227 9 org.qt-project.QtCore 0x000000010b478050 QObject::~QObject() + 2000 10 org.qt-project.QtQuick 0x000000010a934f7b QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() + 43 11 org.qt-project.QtCore 0x000000010b478263 QObjectPrivate::deleteChildren() + 227 12 org.qt-project.QtCore 0x000000010b478050 QObject::~QObject() + 2000 13 org.qt-project.QtQuick 0x000000010a9e84f3 QQmlPrivate::QQmlElement<QQuickWindowQmlImpl>::~QQmlElement() + 67 14 qmlscene 0x000000010a81c3a6 0x10a815000 + 29606 15 libdyld.dylib 0x00007fffcfc9e255 start + 1
Attached the full crash report.
Attachments
Issue Links
- duplicates
-
QTBUG-51927 [REG:5.6.0-alpha1->5.6.0] adding items to GridLayout with default property alias causes a crash during destruction
- Closed