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

Destroying or setting a null source on QQuickView leads to a crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.3.0, 5.4.0, 5.5.1
    • None
    • Ubuntu, unity8 interface, on arm.

    Description

      When running the attached program on my Nexus 4 phone, running Ubuntu Touch, I get a crash:

      0xb64a7f22 in QQmlBoundSignalExpression::function() const () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5
      (gdb) bt
      #0 0xb64a7f22 in QQmlBoundSignalExpression::function() const () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5
      #1 0xb64a7fc6 in QQmlBoundSignalExpression::sourceLocation() const () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5
      #2 0xb64934f4 in QQmlData::destroyed(QObject*) () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5
      #3 0xb694ad24 in QObject::~QObject() () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
      #4 0xb6e9d4d4 in QQuickItem::~QQuickItem() () from /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5
      #5 0xb6ee535e in QQuickMouseArea::~QQuickMouseArea() () from /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5
      #6 0xb6eab05c in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)

      This is an ARM device, and the QPA plugin is https://launchpad.net/qtubuntu. I'm not sure if the crash happens because of the QPA plugin, or whether it's ARM related (or just something stupid in my code).
      I'd like other people to confirm whether they can reproduce this bug in ARM devices.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            mardy Alberto Mardegan
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes