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

memory leak then changing MainWindow styleSheet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.7.0
    • GUI: Text handling
    • None
    • Qt Creator 2.0.1 for Windows
      OS - Windows XP SP3, russian
      processor Athlon XP 2500, single

    Description

      It looks like memory leak present in QLibrary 4.7.0.

      Used Qt Creator 2.0.1 for Windows
      OS - WinXP SP3 Russian,
      proceccor - Athlon XP 2500, single.

      The Leak reveals itself in the simple GUI application
      with nested frames, then QToolButton contains Russian
      text.

      In this application MainWindow styleSheet is changed
      cyclically by timer (set new font size), then layouts
      automatically recalculated. Number of memory blocks,
      calculated by _heapwalk, jumps 1000-2000 block each
      several seconds, and grows unlimited. Also grows memory
      usage, shown in Windows Task Manager.

      If QToolButton contains English text, the problem is
      not revealed, or not clearly visible by _heapwalk.

      Problem revealed in both debug and release version of
      program.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            karabooz Kara Booz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes