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

crash in QXmlStreamReaderPrivate::~QXmlStreamReaderPrivate()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.2
    • None
    • Thinkpad T43, Win 7, VS 2010, QT 4.7.2.

    Description

      Download file qt-everywhere-opensource-src-4.7.2.zip, extract, set %QTDIR%

      open file %QTDIR%\mkspecs\win32-msvc2010\qmake.conf, change any -MD to -MT, change any -MDd to -MTd.

      configure, nmake.

      open %QTDIR%\tools\designer\designer.sln with VS 2010, compile, debug it.
      then crashing.

      file %QTDIR%\src\corelib\xml\qxmlstream.cpp

      QXmlStreamReaderPrivate::~QXmlStreamReaderPrivate()
      {
      #ifndef QT_NO_TEXTCODEC
          delete decoder;        // <--- this line will crash. 
      #endif
          qFree(sym_stack);
          qFree(state_stack);
          delete entityParser;
      }
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            free2000fly free2000fly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes