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

Crash when starting a drag

    XMLWordPrintable

Details

    • Linux/Wayland
    • af00b80178138e55be7ea892a118e6357798e0f2 (qt/qtwayland/5.12)

    Description

      Here's a backtrace.

      Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
      QtWaylandClient::QWaylandDataDevice::startDrag (this=0x555555679cf0, mimeData=0x55555a018e00, icon=0x555556e5e980)
          at /home/apol/devel/frameworks/qt5/qtwayland/src/client/qwaylanddatadevice.cpp:114
      warning: Source file is more recent than executable.
      114         if (origin)
      (gdb) where
      #0  0x00007fffef51ca0d in QtWaylandClient::QWaylandDataDevice::startDrag(QMimeData*, QtWaylandClient::QWaylandWindow*)
          (this=0x555555679cf0, mimeData=0x55555a018e00, icon=0x555556e5e980) at /home/apol/devel/frameworks/qt5/qtwayland/src/client/qwaylanddatadevice.cpp:114
      #1  0x00007fffef51f91b in QtWaylandClient::QWaylandDrag::startDrag() (this=0x55555567a440)
          at /home/apol/devel/frameworks/qt5/qtwayland/src/client/qwaylanddnd.cpp:69
      #2  0x00007ffff4fb2196 in QBasicDrag::drag(QDrag*) (this=0x55555567a440, o=<optimized out>)
          at /home/apol/devel/frameworks/qt5/qtbase/src/gui/kernel/qsimpledrag.cpp:205
      #3  0x00007ffff4faf4ad in QDragManager::drag(QDrag*) (this=0x5555564c7200, o=0x5555569e9410)
          at /home/apol/devel/frameworks/qt5/qtbase/src/gui/kernel/qdnd.cpp:117
      #4  0x00007ffff4fafb21 in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction)
          (this=0x5555569e9410, supportedActions=..., defaultDropAction=Qt::IgnoreAction) at /home/apol/devel/frameworks/qt5/qtbase/src/gui/kernel/qdrag.cpp:282
      #5  0x00007ffff4faf990 in QDrag::exec(QFlags<Qt::DropAction>) (this=0x5555569e9410, supportedActions=...)
          at /home/apol/devel/frameworks/qt5/qtbase/src/gui/kernel/qdrag.cpp:238
      #6  0x00007fffdb72f832 in DragHelper::startDragInternal(QQuickItem*, QString const&, QVariant const&, QUrl const&, QIcon const&) const
          (this=0x555555d1ea80, item=0x5555564c8f90, mimeType=..., mimeData=..., url=..., icon=...)
          at /home/apol/devel/frameworks/plasma-desktop/applets/taskmanager/plugin/draghelper.cpp:88
      #7  0x00007fffdb7240ec in DragHelper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
          (_o=0x555555d1ea80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x555559ebd580)
          at applets/taskmanager/taskmanagerplugin_autogen/7RBZBFH7CH/moc_draghelper.cpp:114
      #8  0x00007ffff4b0dcb4 in QMetaCallEvent::placeMetaCall(QObject*) (this=0x7fffb4186a30, object=0x555555d1ea80)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:520
      #9  0x00007ffff4b136c5 in QObject::event(QEvent*) (this=0x555555d1ea80, e=<optimized out>)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:1260
      #10 0x00007ffff592c13b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
          0x555555668900, receiver=receiver@entry=0x555555d1ea80, e=e@entry=0x7fffb4186a30)
          at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3740
      #11 0x00007ffff5933b43 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffdf60, receiver=0x555555d1ea80, e=0x7fffb4186a30)
          at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3096
      #12 0x00007ffff4ac5f23 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555d1ea80, event=0x7fffb4186a30)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1086
      #13 0x00007ffff4ac617e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x555555d1ea80, event=event@entry=0x7fffb4186a30)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1481
      #14 0x00007ffff4ac883f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
          (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55555565d670)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1831
      #15 0x00007ffff4ac8eb8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
          at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1685
      
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            apol Aleix Pol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes