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

Crash when deleting dynamically created item that contains a DropShadow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.0, 5.5.0, 5.6
    • Fix Version/s: 5.5.0
    • Component/s: Quick: SceneGraph
    • Labels:
      None
    • Commits:
      38621d841cfa75b1d849b0e88b38c2f18a0611ac

      Description

      I haven't yet been able to narrow this down to a smaller example, but it can be reproduced by running tst_delaybutton in Qt Quick Extras auto tests in the 5.5 branch of qtquickcontrols.git:

      QML Debugger: Waiting for connection on port 37302...
      ********* Start testing of extras *********
      Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.8.2)
      PASS   : extras::Tests_DelayButton::initTestCase()
      PASS   : extras::Tests_DelayButton::test_activation(delayed)
      PASS   : extras::Tests_DelayButton::test_activation(immediate)
      PASS   : extras::Tests_DelayButton::test_activation(negative)
      PASS   : extras::Tests_DelayButton::test_checked(delayed)
      PASS   : extras::Tests_DelayButton::test_checked(immediate)
      PASS   : extras::Tests_DelayButton::test_checked(negative)
      PASS   : extras::Tests_DelayButton::test_instance()
      PASS   : extras::Tests_DelayButton::test_largeText()
      pure virtual method called
      terminate called without an active exception
      RTTI symbol not found for class 'QSGRenderer::renderScene(unsigned int)::B'
      Debugging has finished
      

      The workaround is to not destroy the button at the end of each test, but this can sometimes affect subsequent tests.

        Attachments

        For Gerrit Dashboard: QTBUG-44664
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes