Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106000

tst_QLocale::fpExceptions() triggers assertion failure on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • 6.4
    • Core: Other
    • None
    • Visual Studio v17.2.6; cl.exe 19.32.31332; qtbase commit d7ea07c8c1c51e3966388ab794a90e882e978d89
    • Windows
    • 070446d5eb (qt/qtbase/dev) 070446d5eb (qt/tqtc-qtbase/dev) 63788de25b (qt/qtbase/6.4) 63788de25b (qt/tqtc-qtbase/6.4) 2b54eb699a (qt/tqtc-qtbase/6.2)

    Description

      Configured with:

      ..\qt5\configure -shared -submodules qtbase -developer-build
      

      When executing the qlocale test, an assertion triggers; see attached screenshot.

      Specifically, the assertion triggers when executing line 1517 of tst_qlocale.cpp.

      Possibly relevant from MSDN:

      On the ARM, ARM64, and x64 platforms, changing the infinity mode or the floating-point precision isn't supported. If the precision control mask is used on the x64 platform, the function raises an assertion, and the invalid parameter handler is invoked, as described in Parameter Validation.
      

      c.f. https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/control87-controlfp-control87-2?view=msvc-170

      Attachments

        For Gerrit Dashboard: QTBUG-106000
        # Subject Branch Project Status CR V

        Activity

          People

            manordheim MÃ¥rten Nordheim
            jkauffmann Johannes Kauffmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes