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

Debug Assertion Failed! error when trying to compile qttranslations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.11.2, 5.15.0
    • Fix Version/s: 5.12.10, 5.15.1
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      MSVC 2017, 32bit, MSVC 2019 64 bit (16.6)
    • Platform/s:
      Windows
    • Commits:
      b619f2a26ea2ab56e18a3f9a8b635f96fc479563 9115c841030be5a0d937b62a051d9b666b95131a (qt/qtbase/5.12)

      Description

      Static debug build fails with "Debug Assertion Failed". Static release build works.
      Program:
      ..dk\packaging-tools\qt-src_5112_debug\qttools\bin\lrelease.exe
      File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
      Line: 904
      Expression: _CrtlsValidHeapPointer(block)
      Configure options:

      -debug -opensource -confirm-license -nomake examples -nomake tests -accessibility -no-qml-debug -no-icu -mp -static -no-sql-sqlite -openssl-linked -static-runtime "OPENSSL_LIBS=-lssleay32MT -llibeay32MT -lcrypt32 -lgdi32" -I C:/OpenSSL/include -L C:/OpenSSL/lib/VC/static -prefix C:/work/build/qtsdk/packaging-tools/qt-bld_5112_debug/qtbase
      

        Attachments

        1. assertion.png
          assertion.png
          10 kB
        2. image-2020-06-23-14-21-19-559.png
          image-2020-06-23-14-21-19-559.png
          192 kB
        3. static_init.patch
          1.0 kB

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              kamartti Katja Marttila
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes