Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2
-
Ubuntu 18.04 with Qt 5.12.2
-
-
78787011651692b64bef19f6bec03d0dbf390e18 (qt/qtdeclarative/5.12)
Description
The following example crashes with Qt 5.12.2 caused by an arithmetic exception
but works well with Qt 5.9.7
import QtQuick 2.9 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") ListView { id: listView anchors.fill: parent } property int myYPosition: listView.visibleArea.yPosition property int myContentHeight: listView.contentHeight property int myResult: myYPosition / myContentHeight }
Attachments
For Gerrit Dashboard: QTBUG-75030 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258453,2 | Avoid INT_MIN % -1 and INT_MIN / -1 | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |