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

Segfault in externaldraganddrop example when finishing a drag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.2.0
    • None
    • Arch Linux x86_64 testing
      Qt 5.2.0 from repos and built from git (stable 17 Dec)
      libxcb 1.9.1
      xorg-server 1.14
      GCC 4.8.2

    Description

      I am experiencing a segmentation fault when finishing a drag in the externaldraganddrop Qt Quick example when run by qmlscene, and in my own code using QQmlApplicationEngine;

      The segfault only happens when Drag.dragType = Drag.Automatic.
      Steps to reproduce: drag a draggable item over a DropArea, drop the item.

      I am assigning the Plugins component because this seems related to the XCB platform plugin.

      the example I'm referring to: https://qt.gitorious.org/qt/qtdeclarative/source/0697a941321ed6688fd2cb7bd60028c56e0e19b6:examples/quick/externaldraganddrop

      https://bugreports.qt-project.org/browse/QTBUG-33057 may be related, but that code uses Widgets, not Qt Quick.

      Attached are a backtrace from GDB and my own minimal example code.

      I have also talked to jpnurmi at #qt-quick and he could not reproduce this on OSX 10.9.

      Attachments

        1. backtrace.txt
          15 kB
        2. droptest.qml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            age Evgeny Grablyk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes