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

MSVC x86: Crash in ~QJsonObject

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      • open a MSVC command prompt for x86
      • build qtbase - a developer build without examples / tests is sufficient

      That will produce message boxes when moc.exe is attempted to run with the error message:

      ---------------------------
      Microsoft Visual C++ Runtime Library
      ---------------------------
      Debug Error!
      
      Program: D:\dev\qt\dev-x86\qtbase\bin\moc.exe
      
      HEAP CORRUPTION DETECTED: after Normal block (#14948) at 0x00C303F0.
      CRT detected that the application wrote to memory after end of heap buffer.
      
      
      (Press Retry to debug the application)
      
      ---------------------------
      Abort   Retry   Ignore   
      ---------------------------
      

      The moc call to reproduce this is:

      :: assuming we're in the source directory qtbase/src/corelib
      D:\dev\qt\dev-x86\qtbase\bin\moc.exe global\qnamespace.h --output-json -o bla
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes