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

UniformAnimator makes app crash when being destroyed by other component

XMLWordPrintable

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

      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.

        1. testcaseshadercrash.zip
          6 kB
          Lisa Philipp
        2. Main.qml
          2 kB
          Lisa Philipp
        3. stripped.tgz
          2 kB
          Bernd Weimer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: