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

QSGRhiTextureGlyphCache::createEmptyTexture() nullptr access crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2.3, 6.3
    • 6.2.0
    • GUI: Painting
    • None
    • Windows 10, MSVC 2019
    • Windows

    Description

       

       

       

       
      when function QRhi::nextResourceUpdateBatch()'s  d->resUpdPool.count() resized to 64, it will not resize anymore,  if QSGRhiTextureGlyphCache::createEmptyTexture()'s m_resourceUpdates call QRhi::nextResourceUpdateBatch() to assign it,  will to be assgin nullptr,  but not judge nullptr,  continue run touching nullptr access crash

      Attachments

        1. 微信图片_20211109121731.png
          100 kB
          soul hu
        2. 微信图片_20211109121717.png
          424 kB
          soul hu
        3. image-2021-11-05-18-58-57-006.png
          256 kB
          soul hu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            husoul soul hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes