Embedded Linux QML context menu causes abort 'ASSERT "!weakref.load()"'



  • Setup is Qt5 QML application on embedded Linux using DirectFB platform with QtQuick 2D renderer (softwarecontext). Showing a context menu causes the application to abort. Any ideas? Should I report this as a bug?
    Error and stack trace follows:

    ASSERT: "!weakref.load()" in file ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h, line 149 global/qglobal.cpp: 28680 abort /media/root/lib/arm-linux-gnueabi/libc.so.6 0x75518d7c

    1 qt_message_fatal qlogging.cpp 1415 0x757bb9f0
    2 QMessageLogger::fatal qlogging.cpp 636 0x757b7850
    3 qt_assert qglobal.cpp 2868 0x757b06a8
    4 QtSharedPointer::ExternalRefCountData::~ExternalRefCountData qsharedpointer_impl.h 149 0x7579a9ec
    5 QtSharedPointer::ExternalRefCountData::getAndRef qsharedpointer.cpp 1341 0x75862ec8
    6 QWeakPointer<QObject>::QWeakPointer<QWindow> qsharedpointer_impl.h 693 0x7636a24c
    7 QPointer<QWindow>::QPointer qpointer.h 62 0x76369578
    8 QWindowSystemInterfacePrivate::ExposeEvent::ExposeEvent qwindowsysteminterface.cpp 361 0x76365788
    9 QWindowSystemInterface::handleExposeEvent qwindowsysteminterface.cpp 525 0x76366034
    10 QPlatformWindow::setVisible qplatformwindow.cpp 149 0x76376aa4
    11 QDirectFbWindow::setVisible qdirectfbwindow.cpp 133 0x7520c3a8
    12 QWindow::setVisible qwindow.cpp 507 0x76393c70
    13 QWindow::showNormal qwindow.cpp 1847 0x763969e8
    14 QWindow::show qwindow.cpp 1775 0x763968fc
    15 QQuickPopupWindow::show qquickpopupwindow.cpp 105 0x6d298338
    16 QQuickMenu::__popup qquickmenu.cpp 434 0x6d28ee08
    17 QQuickMenu::qt_static_metacall moc_qquickmenu_p.cpp 249 0x6d2b28d8
    18 QQuickMenu::qt_metacall moc_qquickmenu_p.cpp 359 0x6d2b2ec0
    19 QQmlVMEMetaObject::metaCall qqmlvmemetaobject.cpp 972 0x76056d90
    20 QAbstractDynamicMetaObject::metaCall qobject_p.h 420 0x75e26f34
    21 QMetaObject::metacall qmetaobject.cpp 293 0x75a713cc
    22 CallMethod qv4qobjectwrapper.cpp 1151 0x7601bf2c
    23 CallPrecise qv4qobjectwrapper.cpp 1403 0x7601cc9c
    24 CallOverloaded qv4qobjectwrapper.cpp 1489 0x7601d0d4
    25 QV4::QObjectMethod::callInternal qv4qobjectwrapper.cpp 1890 0x7601f5c8
    26 QV4::QObjectMethod::call qv4qobjectwrapper.cpp 1817 0x7601f070
    27 QV4::Object::call qv4object_p.h 278 0x75f290a4
    28 QV4::Runtime::callProperty qv4runtime.cpp 930 0x76034de4
    29 QV4::Moth::VME::run qv4vme_moth.cpp 365 0x7602924c
    30 QV4::Moth::VME::exec qv4vme_moth.cpp 734 0x7602c568
    31 QV4::ScriptFunction::call qv4functionobject.cpp 405 0x75fb8ca0
    32 QV4::Object::call qv4object_p.h 278 0x75f290a4
    33 QQmlJavaScriptExpression::evaluate qqmljavascriptexpression.cpp 158 0x761147f4
    34 QQmlBoundSignalExpression::evaluate qqmlboundsignal.cpp 281 0x76094338
    35 QQmlBoundSignal_callback qqmlboundsignal.cpp 408 0x76094b38
    36 QQmlNotifier::emitNotify qqmlnotifier.cpp 73 0x760eff24
    37 QQmlData::signalEmitted qqmlengine.cpp 715 0x7605d5a0
    38 QMetaObject::activate qobject.cpp 3603 0x75abbbe0
    39 QMetaObject::activate qobject.cpp 3582 0x75abb944
    40 QQuickMouseArea::clicked moc_qquickmousearea_p.cpp 586 0x6d746710
    41 QQuickMouseArea::setPressed qquickmousearea.cpp 1162 0x6d631b78
    42 QQuickMouseArea::mouseReleaseEvent qquickmousearea.cpp 743 0x6d630114
    43 QQuickItem::event qquickitem.cpp 7280 0x6d55791c
    44 QApplicationPrivate::notify_helper qapplication.cpp 3720 0x769f0210
    45 QApplication::notify qapplication.cpp 3164 0x769ed848
    46 QCoreApplication::notifyInternal qcoreapplication.cpp 935 0x75a66794
    47 QCoreApplication::sendEvent qcoreapplication.h 228 0x769dd964
    48 QQuickWindow::sendEvent qquickwindow.cpp 2532 0x6d576a90
    49 QQuickWindowPrivate::deliverMouseEvent qquickwindow.cpp 1511 0x6d5715ac
    50 QQuickWindow::mouseReleaseEvent qquickwindow.cpp 1551 0x6d5719fc
    51 QWindow::event qwindow.cpp 1963 0x76396f24
    52 QQuickWindow::event qquickwindow.cpp 1392 0x6d570dc4
    53 QApplicationPrivate::notify_helper qapplication.cpp 3720 0x769f0210
    54 QApplication::notify qapplication.cpp 3164 0x769ed848
    55 QCoreApplication::notifyInternal qcoreapplication.cpp 935 0x75a66794
    56 QCoreApplication::sendSpontaneousEvent qcoreapplication.h 231 0x769f3b24
    57 QGuiApplicationPrivate::processMouseEvent qguiapplication.cpp 1771 0x76384014
    58 QGuiApplicationPrivate::processWindowSystemEvent qguiapplication.cpp 1573 0x76383648
    59 QWindowSystemInterface::sendWindowSystemEvents qwindowsysteminterface.cpp 572 0x7636635c
    60 QUnixEventDispatcherQPA::processEvents qunixeventdispatcher.cpp 63 0x752aca5c
    61 QEventLoop::processEvents qeventloop.cpp 128 0x75a62674
    62 QEventLoop::exec qeventloop.cpp 204 0x75a629e4
    63 QCoreApplication::exec qcoreapplication.cpp 1188 0x75a670b4
    64 QGuiApplication::exec qguiapplication.cpp 1507 0x76382f0c
    65 QApplication::exec qapplication.cpp 2956 0x769ecd5c
    66 main main.cpp 31 0x8f08



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.