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

UniformAnimator makes app crash when being destroyed by other component

    XMLWordPrintable

Details

    • 60e49dfbe (dev), 9c1065ce4 (6.7), e1b190c8d (6.6), fb0e70886 (tqtc/lts-6.5), f711ea914 (tqtc/lts-6.2)
    • G&UI Finishing 2023

    Description

      When using a UniformAnimator in a component that might be destroyed, a crash happens. This issue was detected in TestCases when tap animations haven't completed yet, but test has finished and destroyed component. But also happens in small example I will attach to ticket.

      Realized that it also crashes when the duplicate id "root" is removed and the second UniformAnimator is removed, uploaded that updated Main.qml as well as reference.

      Somehow attaching the shaders did not work for me, therefore commented them out, but it is the same result with shaders, so attached very simple shader in case "no source" error spams log too much.

      Attachments

        1. testcaseshadercrash.zip
          6 kB
        2. Main.qml
          2 kB
        3. stripped.tgz
          2 kB

        Issue Links

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

          Activity

            People

              stromme Christian
              lisa.philipp Lisa Philipp
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: