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

Memory Leak in QDir::canonicalPath ?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.4
    • Fix Version/s: 5.1.0
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:

      Description

      valgrind report:

      290 (96 direct, 194 indirect) bytes in 1 blocks are definitely lost in loss record 1,641 of 2,096
      at 0xC283: malloc (vg_replace_malloc.c:274)
      by 0x9BBF04: operator new(unsigned long) (in /usr/lib/libstdc++.6.0.9.dylib)
      by 0x84296C8: QLibraryPrivate::findOrCreate(QString const&, QString const&) (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x8429C87: QLibrary::setFileName(QString const&) (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x8429D26: QLibrary::QLibrary(QString const&, QObject*) (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x847CE86: QIconvCodec::QIconvCodec() (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x8477613: setup() (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x84776DA: QTextCodec::codecForLocale() (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x8379C28: QString::fromLocal8Bit(char const*, int) (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x840D197: QFileSystemEngine::canonicalName(QFileSystemEntry const&, QFileSystemMetaData&) (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)
      by 0x83AA143: QDir::canonicalPath() const (in .../app.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore)

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            davidg David Garlisch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes