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

memory leak in drawText()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.3
    • 4.7.4, 4.8.0
    • GUI: Font handling
    • None
    • Windows 7, x64, MinGW 4.4
    • 9ab9d5df76a3e58c977c4c7019f568478f4dc957

    Description

      Bug occurs when QPainter::drawText() called from the thread.
      Memory leaks if the text contains Russian symbols
      ("Время: " for example) and the returning from
      the thread always happens.

      Attachments

        1. count_14.png
          75 kB
          Ilya Lukyanov
        2. count_228.png
          74 kB
          Ilya Lukyanov
        3. leak_t2.cpp
          1.0 kB
          Ilya Lukyanov
        4. leak_t2.pro
          0.3 kB
          Ilya Lukyanov
        5. main.cpp
          0.3 kB
          Maxim Tolgobolsky
        6. mainwindow.cpp
          1 kB
          Maxim Tolgobolsky
        7. mainwindow.h
          0.7 kB
          Maxim Tolgobolsky
        8. mainwindow.ui
          1 kB
          Maxim Tolgobolsky
        9. rec.qrc
          0.1 kB
          Maxim Tolgobolsky
        10. test_leakage_ru.qm
          0.1 kB
          Maxim Tolgobolsky
        11. test_leakage.pro
          0.4 kB
          Maxim Tolgobolsky
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ulun Maxim Tolgobolsky
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes