Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.2.0, 5.2.1
-
None
-
Windows 7, Qt 5.2.* x86 32bit for Visual Studio 2010, with 64bit Intel Core i7
Description
When using 0x7FFFFFFF (but also others) as the raw value for a float number and then transferring this float value to QML and inside QML assigning it to a real property this leads to a crash.
This numbers are valid QNaN values according to IEEE 754.
First investigation indicates that those values could not be detected as NaNs when converting them back to QVariant for property assignment.
This results in interpreting them as Objects or similar results in a null-pointer exception.
I attached a example project which could be used for reproducing it. I think this is more helpfull than a stacktrace alone.