jordi 1 Posted April 19, 2023 (edited) Hello, I've very extrange errors when executing my application on MacOs Ventura. On previous MacOs all is ok. In next example, how can it be that w=NaN, when dw and dpi variables are not NaN? Using Delphi 11.3 Edited April 19, 2023 by jordi Share this post Link to post
Dave Nottage 557 Posted April 19, 2023 Can you post code that reproduces the issue? It'll save having to type out the code, and work out the cut off parts, if they're important. Share this post Link to post
jordi 1 Posted April 19, 2023 If I create a new test application and I put this simple code, it works. But in my big and complex application this NaNs problems happens in many parts of the code, even in embarcadero delphi source code units. The app was working until Ventura. And I don't know why simple aritmethic operations can result in NaN as result. Share this post Link to post
Der schöne Günther 316 Posted April 19, 2023 Sounds like this here to me: Quote It appears that somewhere along the way the process memory gets corrupted (to the extent that even hard-coded global constants, like const Foo = 15.0, become NaN (...) As a result of the above, NaN is loaded into the top of FP stack, instead of the original value. This NaN raises another exception in Round function. https://quality.embarcadero.com/browse/RSP-40939 1 Share this post Link to post
jordi 1 Posted April 19, 2023 Yes! Thank you very much. I will keep an eye on it Share this post Link to post