Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.2, 5.9.3
-
x86_64 GNU/Linux
aarch64 GNU/Linux
-
8501993e5275076d9163a7e2f8bab9ba2f187f72
Description
Our application displays data send by backend that we do not control.
We have encountered a crash when the data contains a specific value that should be interpreted as NaN. I have created a small example that demonstrates the issue.
On Qt 5.6.2 (used in production) the output is:
returning: 42 qml: changing returning: nan Segmentation fault (core dumped)
On Qt 5.9.3 the output is:
returning: 42 qml: changing returning: nan file:///.../qmldoublecrash/Test.qml:11:28: Unable to assign QJSValue to double
Both behaviors are not acceptable, because the value change cannot be processed in QML.
Please provide fixes for both 5.6 and 5.9.
Attachments
Issue Links
- is duplicated by
-
QTBUG-87767 Uninitialized double crashes qt5qml.dll on 32-bit Windows ARM
- Closed