[Development] QtQuick: new Drag&Drop crashes

Fabien Castan fabcastan at gmail.com
Tue Jan 21 01:22:18 CET 2014


Hi,

The example to use the new property "Drag.dragType: Drag.Automatic" crashes:

/opt/Qt5.2.0/5.2.0/gcc_64/bin/qmlscene
qt5/qtdeclarative/examples/quick/externaldraganddrop/externaldraganddrop.qml

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff645bd34 in QDrag::mimeData() const () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Gui.so.5
(gdb) bt
#0  0x00007ffff645bd34 in QDrag::mimeData() const () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Gui.so.5
#1  0x00007fffef8df357 in ?? () from
/opt/Qt5.2.0/5.2.0/gcc_64/plugins/platforms/libqxcb.so
#2  0x00007fffef8d6e68 in ?? () from
/opt/Qt5.2.0/5.2.0/gcc_64/plugins/platforms/libqxcb.so
#3  0x00007fffef8d7a5b in ?? () from
/opt/Qt5.2.0/5.2.0/gcc_64/plugins/platforms/libqxcb.so
#4  0x00007ffff5f5090e in QObject::event(QEvent*) () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#5  0x00007ffff6b35f34 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Widgets.so.5
#6  0x00007ffff6b3950e in QApplication::notify(QObject*, QEvent*) () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Widgets.so.5
#7  0x00007ffff5f26554 in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#8  0x00007ffff5f28e09 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from /opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#9  0x00007ffff5f76b83 in ?? () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#10 0x00007ffff45f93b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff45f9708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff45f97ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff5f76fc4 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#14 0x00007ffff5f252cb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#15 0x00007ffff5f2933e in QCoreApplication::exec() () from
/opt/Qt5.2.0/5.2.0/gcc_64/bin/../lib/libQt5Core.so.5
#16 0x0000000000404209 in ?? ()
#17 0x00007ffff52f3de5 in __libc_start_main (main=0x403950, argc=2,
ubp_av=0x7fffffffde88, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffde78)
    at libc-start.c:260
#18 0x00000000004068dd in ?? ()
#19 0x00007fffffffde78 in ?? ()
#20 0x000000000000001c in ?? ()
#21 0x0000000000000002 in ?? ()
#22 0x00007fffffffe203 in ?? ()
#23 0x00007fffffffe22a in ?? ()
#24 0x0000000000000000 in ?? ()


Regards,
Fabien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140121/1f8e724f/attachment.html>


More information about the Development mailing list