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

Setting both pop/push and replace transition results in heap use after free when running in debugger

    XMLWordPrintable

Details

    • Windows
    • e9520ec84c95e10a6826b2289e46552a2d446895

    Description

      When replacing items on a StackView that has both popExit and replaceExit set, running the application (both debug and release builds) in the debugger results in the following:

      HEAP: Free Heap block 1d3e1a80 modified at 1d3e1ac8 after it was freed

      Running without debugger seems fine.

      Attached a minimal example that reproduces it once the switch to 'red' is made.

      Attachments

        1. backtrace-5.9.0.txt
          79 kB
          koen.poppe
        2. main.cpp
          0.4 kB
          koen.poppe
        3. main.qml
          0.8 kB
          koen.poppe

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              koen.poppe koen.poppe
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes