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

S60 memory leak reported in QS60PluginResolver

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • Some future release
    • 4.6.3
    • Core: Plugins
    • None
    • Symbian

    Description

      Defect report from Rational Change, copied here for tracking.

      ID: ou1cimx1#465886 Status: case_OPEN

      Priority: Critical Rejected Reason:

      Owner Organization: I_EXT_DRD_ASF_QT_CDS Last Modification Time: 2010-07-22 11:51:06

      Legacy Object Reference:
      URL: Description:

      Name Last Modifier Creation Time

      Case Related to same TSW error: Show
      Case Related to same TSW error: Show

      --------------------------------------------------------------------------------

      *Title: MCL: QCoreApplication leaks memory
      Analysis Discussion: Preconditions

      Steps to reproduce

      Create and destroy QCoreApplication.

      Check memory leaks

      Test project atteched.

      Actual results

      Leaks detected.

      qglobal.cpp:

      QSysInfo::S60Version QSysInfo::s60Version()

      • CDir* contents not deleted since program returns before delete contents.

      qcore_symbian_p.cpp

      Q_GLOBAL_STATIC(QS60PluginResolver, qt_s60_plugin_resolver);

      • QS60PluginResolver::init() load's dynamicly dll which is linked agains qtcore.lib.
      • Dynamic library is unloaded when qtcore.lib unloaded.
      • qtcore.lib is never freed since this dynamicly loaded library is keeping it alive.

      Expected result

      Leaks not detected

      Results from reference testing

      NA

      Additional information (e.g. SW + HW info)

      NA

      Seems that precondition is not somehow needed. Test show's no memoryleaks if those two cases are fixed.

      Attachments

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

        Activity

          People

            mread Murray Read
            mread Murray Read
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes