-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15
-
None
-
Distro:Linux Mint 19.1 Tessa Cinnamon
Kernel:5.4.0-65-generic
RAM:32 GB
GPU Driver:NVIDIA 450.102.04
GPU:NVIDIA GeForce GTX 1660 SUPER
CPU:AMD Ryzen 7 3700X 8-Core
Interaction with QML Combobox, makes the application to crash with SEGFAULT on exit.
The issue was identified during development. It was reproduced with the next steps:
- Create empty QML project
- import QtQuick.Controls 2.15 and add a Combobox in main.qml (the simple one shown in Qt API reference)
ComboBox {
width: 200
model: [ "Banana", "Apple", "Coconut" ]
}
- Build and Run on Qt creator
- If nothing is selected on Combobox, everything goes fine. On terminating the program (either by pressing the x mark on window, or by terminating the execution on Qt creator) nothing strange happens.
- If Combobox is clicked, no matter if the user selects anything, the program still operates normally. But on program termination (either by pressing the x mark on window, or by terminating the execution on Qt creator) it crashes with segfault.
Notes:
- If QtQuick.Controls 1.4 is imported, the issue doesn't happen.
- Tried a random Combobox from the net (presented bellow), with the original setup (import QtQuick.Controls 2.15), and it didn't crash!!!
ComboBox {
id: control
model: 10
popup: Popup {
y: control.height - 1
width: control.width
implicitHeight: listview.contentHeight
padding: 1 contentItem: ListView {
id: listview
clip: true
model: control.popup.visible ? control.delegateModel : null
currentIndex: control.highlightedIndex ScrollIndicator.vertical: ScrollIndicator { }
} background: Rectangle {
border.color: "#21be2b"
radius: 2
}
}
}
- duplicates
-
QTBUG-84858 [REG 5.14->5.15] crash on close in QQuickItemLayer destructor on Linux
-
- Closed
-