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

QList<QHelpLink> returned by documentsForIdentifier crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.15.2
    • Tools: Assistant
    • None
    • Windows 10 Visual studio 2022 x64 build
    • Windows

    Description

      VisualStudio.17.Release/17.0.6+32126.317

      Pseudo code:
      ```
      QHelpEngine *helpEngine;
      void method()

      { helpEngine = new QHelpEngine(qhcFile, this); helpEngine->setupData() QList<QHelpLink> docs = helpEngine->documentsForIdentifier("console::clc");  }

      ```
      when we exit of the method
      docs variable is destroyed and QHelpLink objects available in QList are also destroyed.
       

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              nelson.numerical Allan CORNET
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes