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

Crash in nullptr dereference in QV4::PropertyHash::lookup during JSON.parse

    XMLWordPrintable

Details

    Description

      In a local working branch of QWebChannel, I can reproducibly trigger a crash in QML during JSON parsing. The backtrace, i.e. a nullpointer dereference while trying to access a member identifier's string hash, reminds me of these two bugs in the previous v8 engine:

      https://bugreports.qt-project.org/browse/QTBUG-23126
      https://bugreports.qt-project.org/browse/QTBUG-31513

      Program received signal SIGSEGV, Segmentation fault.
      0x00007ffff79eaa73 in QV4::PropertyHash::lookup (this=0x46e338, identifier=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4internalclass.cpp:118
      118 uint idx = identifier->hashValue % d->alloc;
      (gdb) bt
      #0 0x00007ffff79eaa73 in QV4::PropertyHash::lookup (this=0x46e338, identifier=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4internalclass.cpp:118
      #1 0x00007ffff79eaf7f in QV4::InternalClass::addMember (this=0x46e328, string=0x7fffe0349380, data=..., index=0x7ffffffee318)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4internalclass.cpp:211
      #2 0x00007ffff7a193f4 in QV4::Object::insertMember (this=0x7fffe0320c40, s=..., attributes=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4object.cpp:297
      #3 0x00007ffff7a0ce41 in JsonParser::parseMember (this=0x7ffffffef670, o=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:287
      #4 0x00007ffff7a0cb3a in JsonParser::parseObject (this=0x7ffffffef670)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:242
      #5 0x00007ffff7a0d7c4 in JsonParser::parseValue (this=0x7ffffffef670, val=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:416
      #6 0x00007ffff7a0cdab in JsonParser::parseMember (this=0x7ffffffef670, o=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:283
      #7 0x00007ffff7a0cb3a in JsonParser::parseObject (this=0x7ffffffef670)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:242
      #8 0x00007ffff7a0d7c4 in JsonParser::parseValue (this=0x7ffffffef670, val=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:416
      #9 0x00007ffff7a0cdab in JsonParser::parseMember (this=0x7ffffffef670, o=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:283
      #10 0x00007ffff7a0cb3a in JsonParser::parseObject (this=0x7ffffffef670)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:242
      #11 0x00007ffff7a0d7c4 in JsonParser::parseValue (this=0x7ffffffef670, val=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:416
      #12 0x00007ffff7a0cdab in JsonParser::parseMember (this=0x7ffffffef670, o=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:283
      #13 0x00007ffff7a0cb3a in JsonParser::parseObject (this=0x7ffffffef670)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:242
      #14 0x00007ffff7a0d7c4 in JsonParser::parseValue (this=0x7ffffffef670, val=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:416
      #15 0x00007ffff7a0c95a in JsonParser::parse (this=0x7ffffffef670, error=0x7ffffffef6b0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:198
      #16 0x00007ffff7a10b25 in QV4::JsonObject::method_parse (ctx=0x7ffffffef7c0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4jsonobject.cpp:904
      #17 0x00007ffff7a08123 in QV4::BuiltinFunction::call (that=0x7fffe86eb3a0, callData=0x7fffe3800fc0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:636
      #18 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe86eb3a0, callData=0x7fffe3800fc0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #19 0x00007ffff79d451e in QV4::__qmljs_call_property (context=0x7fffffff0690, name=..., callData=...)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:893
      #20 0x00007ffff7a6b82f in QQmlJS::Moth::VME::run (this=0x7fffffff0637, context=0x7fffffff0690, code=0x828218 "\221\234\246\367\377\177",
      stack=0x7fffe3800f68, stackSize=19, storeJumpTable=0x0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:361
      #21 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff0690, code=0x828188 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #22 0x00007ffff7a08dfe in QV4::Function::code (this=0x5e1e70, ctx=0x7fffffff0690, data=0x828188 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #23 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03eb500, callData=0x7fffe3800f08)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #24 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03eb500, callData=0x7fffe3800f08)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #25 0x00007ffff7b656c0 in QQmlJavaScriptExpression::evaluate (this=0x593cf0, context=0x581850, function=..., callData=0x7fffe3800f08,
      isUndefined=0x0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:166
      #26 0x00007ffff7aec139 in QQmlBoundSignalExpression::evaluate (this=0x593cd0, a=0x7fffffff0e60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:226
      #27 0x00007ffff7aec761 in QQmlBoundSignal_callback (e=0x6339b8, a=0x7fffffff0e60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:353
      #28 0x00007ffff7b43b15 in QQmlNotifier::emitNotify (endpoint=0x6339b8, a=0x7fffffff0e60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:81
      #29 0x00007ffff7a8c39e in QQmlData::signalEmitted (object=0x5f5cf0, index=4, a=0x7fffffff0e60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:710
      #30 0x00007ffff67a4cab in QMetaObject::activate (sender=0x5f5cf0, signalOffset=3, local_signal_index=1, argv=0x7fffffff0e60)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3513
      #31 0x00007ffff67a4ae0 in QMetaObject::activate (sender=0x5f5cf0, m=0x7fffe86b2960 <QWebChannel::staticMetaObject>, local_signal_index=1,
      argv=0x7fffffff0e60) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3495
      #32 0x00007fffe869f49f in QWebChannel::rawMessageReceived (this=0x5f5cf0,
      t1="{\"data\":{\"label\":\"report\",\"obj\":{\"id\":\"587b60\",\"objectSignals_\":

      {\"1\":[null],\"6\":[null]}

      ,\"_propertyCache_\":

      {\"objectName\":\"testObj\",\"myProperty\":42}

      ,\"objectNameChanged\":{},\"myPropertyChanged\":{"...) at moc_qwebchannel.cpp:251
      #33 0x00007fffe869eef0 in QWebChannel::qt_static_metacall (_o=0x5f5cf0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffff10a0)
      at moc_qwebchannel.cpp:123
      #34 0x00007ffff67a528f in QMetaObject::activate (sender=0x816870, signalOffset=3, local_signal_index=2, argv=0x7fffffff10a0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3620
      #35 0x00007ffff67a4ae0 in QMetaObject::activate (sender=0x816870, m=0x7fffe86b2a40 <QWebSocketServer::staticMetaObject>,
      local_signal_index=2, argv=0x7fffffff10a0) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3495
      #36 0x00007fffe869f9f3 in QWebSocketServer::textDataReceived (this=0x816870,
      t1="{\"data\":{\"label\":\"report\",\"obj\":{\"id\":\"587b60\",\"objectSignals_\":

      {\"1\":[null],\"6\":[null]}

      ,\"_propertyCache_\":

      {\"objectName\":\"testObj\",\"myProperty\":42}

      ,\"objectNameChanged\":{},\"myPropertyChanged\":{"...) at moc_qwebsocketserver.cpp:217
      #37 0x00007fffe869a317 in QWebSocketServer::handleFrame (this=0x816870, socket=0x5f73c0, frame=...) at ../../src/qwebsocketserver.cpp:328
      #38 0x00007fffe869a07c in QWebSocketServer::readFrameData (this=0x816870, socket=0x5f73c0, frame=...) at ../../src/qwebsocketserver.cpp:289
      --Type <return> to continue, or q <return> to quit--
      #39 0x00007fffe8699514 in QWebSocketServer::readSocketData (this=0x816870) at ../../src/qwebsocketserver.cpp:171
      #40 0x00007fffe869f66a in QWebSocketServer::qt_static_metacall (_o=0x816870, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffff13b0)
      at moc_qwebsocketserver.cpp:113
      #41 0x00007ffff67a528f in QMetaObject::activate (sender=0x5f73c0, signalOffset=3, local_signal_index=0, argv=0x0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3620
      #42 0x00007ffff67a4ae0 in QMetaObject::activate (sender=0x5f73c0, m=0x7ffff6a45f40 <QIODevice::staticMetaObject>, local_signal_index=0,
      argv=0x0) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3495
      #43 0x00007ffff68317e5 in QIODevice::readyRead (this=0x5f73c0) at .moc/moc_qiodevice.cpp:153
      #44 0x00007ffff7f18460 in QAbstractSocketPrivate::canReadNotification (this=0x82b990)
      at /ssd/milian/projects/qt5/qtbase/src/network/socket/qabstractsocket.cpp:727
      #45 0x00007ffff7f1e480 in QAbstractSocketPrivate::readNotification (this=0x82b990)
      at /ssd/milian/projects/qt5/qtbase/src/network/socket/qabstractsocket_p.h:77
      #46 0x00007ffff7f09e7d in QAbstractSocketEngine::readNotification (this=0x7f5ec0)
      at /ssd/milian/projects/qt5/qtbase/src/network/socket/qabstractsocketengine.cpp:156
      #47 0x00007ffff7f26e6c in QReadNotifier::event (this=0x61a3c0, e=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/network/socket/qnativesocketengine.cpp:1147
      #48 0x00007ffff67631b4 in QCoreApplicationPrivate::notify_helper (this=0x40f150, receiver=0x61a3c0, event=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1008
      #49 0x00007ffff6762e76 in QCoreApplication::notify (this=0x40dcb0, receiver=0x61a3c0, event=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:953
      #50 0x00007ffff6b4e8a4 in QGuiApplication::notify (this=0x40dcb0, object=0x61a3c0, event=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1357
      #51 0x00007ffff6762d7e in QCoreApplication::notifyInternal (this=0x40dcb0, receiver=0x61a3c0, event=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:891
      #52 0x00007ffff6766a49 in QCoreApplication::sendEvent (receiver=0x61a3c0, event=0x7fffffff1710)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.h:232
      #53 0x00007ffff67d9b10 in socketNotifierSourceDispatch (source=0x44ace0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:109
      #54 0x00007ffff4843296 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #55 0x00007ffff48435e8 in ?? () from /usr/lib/libglib-2.0.so.0
      #56 0x00007ffff484368c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #57 0x00007ffff67da7bb in QEventDispatcherGlib::processEvents (this=0x459dc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:426
      #58 0x00007fffeea941da in QPAEventDispatcherGlib::processEvents (this=0x459dc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:123
      #59 0x00007ffff67632bc in QCoreApplication::processEvents (flags=..., maxtime=50)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1089
      #60 0x00007ffff7fe523e in QTest::qWait (ms=50) at /ssd/milian/projects/compiled/qt5/include/QtTest/qtestsystem.h:66
      #61 0x00007ffff7fe6ad9 in QuickTestResult::wait (this=0x621480, ms=50)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtdeclarative/src/qmltest/quicktestresult.cpp:570
      #62 0x00007ffff7febef0 in QuickTestResult::qt_static_metacall (_o=0x621480, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffff1b10)
      at .moc/moc_quicktestresult_p.cpp:286
      #63 0x00007ffff7fec3d7 in QuickTestResult::qt_metacall (this=0x621480, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffff1b10)
      at .moc/moc_quicktestresult_p.cpp:395
      #64 0x00007ffff676b847 in QMetaObject::metacall (object=0x621480, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0x7fffffff1b10)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:308
      #65 0x00007ffff7a60349 in CallMethod (object=0x621480, index=28, returnType=43, argCount=1, argTypes=0x770784, engine=0x50d410,
      callArgs=0x7fffe3800eb0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1115
      #66 0x00007ffff7a60e20 in CallPrecise (object=0x621480, data=..., engine=0x50d410, callArgs=0x7fffe3800eb0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1362
      #67 0x00007ffff7a6330d in QV4::QObjectMethod::callInternal (this=0x7fff980f4b60, callData=0x7fffe3800eb0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1837
      #68 0x00007ffff7a62f0d in QV4::QObjectMethod::call (m=0x7fff980f4b60, callData=0x7fffe3800eb0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1780
      #69 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fff980f4b60, callData=0x7fffe3800eb0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #70 0x00007ffff79d451e in QV4::__qmljs_call_property (context=0x7fffffff2e30, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:893
      #71 0x00007ffff7a6b82f in QQmlJS::Moth::VME::run (this=0x7fffffff2dd7, context=0x7fffffff2e30,
      code=0x7fffdc17c1d0 "\214\005\247\367\377\177", stack=0x7fffe3800db8, stackSize=39, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:361
      #72 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff2e30, code=0x7fffdc17bea8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #73 0x00007ffff7a08dfe in QV4::Function::code (this=0x5ae360, ctx=0x7fffffff2e30, data=0x7fffdc17bea8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #74 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e9340, callData=0x7fffe3800d50)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #75 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e9340, callData=0x7fffe3800d50)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #76 0x00007ffff79d451e in QV4::__qmljs_call_property (context=0x7fffffff3d10, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:893
      #77 0x00007ffff7a6b82f in QQmlJS::Moth::VME::run (this=0x7fffffff3cb7, context=0x7fffffff3d10, code=0x7fffdc16b148 "t\245\246\367\377\177",
      stack=0x7fffe3800cc8, stackSize=25, storeJumpTable=0x0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:361
      #78 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff3d10, code=0x7fffdc16b098 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #79 0x00007ffff7a08dfe in QV4::Function::code (this=0x569030, ctx=0x7fffffff3d10, data=0x7fffdc16b098 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #80 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e8680, callData=0x7fffe3800c78)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #81 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e8680, callData=0x7fffe3800c78)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #82 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffff4be0, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #83 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffff4b87, context=0x7fffffff4be0,
      code=0x7fffdc0c5a18 "\221\234\246\367\377\177", stack=0x7fffe3800c40, stackSize=15, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #84 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff4be0, code=0x7fffdc0c59e8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #85 0x00007ffff7a08dfe in QV4::Function::code (this=0x569080, ctx=0x7fffffff4be0, data=0x7fffdc0c59e8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #86 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e8740, callData=0x7fffe3800be8)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #87 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e8740, callData=0x7fffe3800be8)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #88 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffff5ab0, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #89 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffff5a57, context=0x7fffffff5ab0,
      code=0x7fffdc0cc758 "\221\234\246\367\377\177", stack=0x7fffe3800bb8, stackSize=14, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #90 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff5ab0, code=0x7fffdc0cc728 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #91 0x00007ffff7a08dfe in QV4::Function::code (this=0x6dab20, ctx=0x7fffffff5ab0, data=0x7fffdc0cc728 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #92 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03ea240, callData=0x7fffe3800b60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #93 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03ea240, callData=0x7fffe3800b60)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #94 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffff6980, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #95 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffff6927, context=0x7fffffff6980,
      code=0x7fffdc0d2828 "\206\241\246\367\377\177", stack=0x7fffe38008a0, stackSize=96, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #96 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff6980, code=0x7fffdc0d1488 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #97 0x00007ffff7a08dfe in QV4::Function::code (this=0x551780, ctx=0x7fffffff6980, data=0x7fffdc0d1488 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #98 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03ea600, callData=0x7fffe3800838)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #99 0x00007ffff79d6535 in QV4::Managed::call (this=0x7fffe03ea600, d=0x7fffe3800838)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4managed_p.h:343
      #100 0x00007ffff79d4777 in QV4::__qmljs_call_element (context=0x7fffe03ed900, index=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:921
      #101 0x00007ffff7a6bc88 in QQmlJS::Moth::VME::run (this=0x7fffffff7767, context=0x7fffe03ed900,
      code=0x7fffdc1792a8 "$\257\246\367\377\177", stack=0x7fffe3800760, stackSize=35, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:380
      #102 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffe03ed900, code=0x7fffdc179168 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #103 0x00007ffff7a08dfe in QV4::Function::code (this=0x574ed0, ctx=0x7fffe03ed900, data=0x7fffdc179168 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #104 0x00007ffff7a07386 in QV4::ScriptFunction::call (that=0x7fffe03e7d80, callData=0x7fffe3800710)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:484
      #105 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e7d80, callData=0x7fffe3800710)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #106 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffff8610, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #107 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffff85b7, context=0x7fffffff8610,
      code=0x7fffdc163818 "\221\260\246\367\377\177", stack=0x7fffe38006b8, stackSize=19, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #108 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff8610, code=0x7fffdc163668 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #109 0x00007ffff7a08dfe in QV4::Function::code (this=0x574f70, ctx=0x7fffffff8610, data=0x7fffdc163668 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #110 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e7e40, callData=0x7fffe3800668)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #111 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e7e40, callData=0x7fffe3800668)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #112 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffff94e0, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #113 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffff9487, context=0x7fffffff94e0,
      code=0x7fffdc16f100 "\221\260\246\367\377\177", stack=0x7fffe3800190, stackSize=163, storeJumpTable=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #114 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffff94e0, code=0x7fffdc16ce48 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #115 0x00007ffff7a08dfe in QV4::Function::code (this=0x575100, ctx=0x7fffffff94e0, data=0x7fffdc16ce48 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #116 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e7fc0, callData=0x7fffe38000c8)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #117 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e7fc0, callData=0x7fffe38000c8)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #118 0x00007ffff79d4068 in QV4::__qmljs_call_activation_property (context=0x7fffffffa3b0, name=..., callData=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:867
      #119 0x00007ffff7a6bea8 in QQmlJS::Moth::VME::run (this=0x7fffffffa357, context=0x7fffffffa3b0, code=0x7fffdc1b9080 "$\n\247\367\377\177",
      stack=0x7fffe3800068, stackSize=20, storeJumpTable=0x0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:390
      #120 0x00007ffff7a711d6 in QQmlJS::Moth::VME::exec (ctxt=0x7fffffffa3b0, code=0x7fffdc1b8da8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:724
      #121 0x00007ffff7a08dfe in QV4::Function::code (this=0x575350, ctx=0x7fffffffa3b0, data=0x7fffdc1b8da8 "7\263\246\367\377\177")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4function_p.h:89
      #122 0x00007ffff7a07ed9 in QV4::SimpleScriptFunction::call (that=0x7fffe03e8380, callData=0x7fffe3800018)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:599
      #123 0x00007ffff79c1675 in QV4::FunctionObject::call (this=0x7fffe03e8380, callData=0x7fffe3800018)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:130
      #124 0x00007ffff7b656c0 in QQmlJavaScriptExpression::evaluate (this=0x63c290, context=0x5c3f50, function=..., callData=0x7fffe3800018,
      isUndefined=0x0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:166
      #125 0x00007ffff7aec139 in QQmlBoundSignalExpression::evaluate (this=0x63c270, a=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:226
      #126 0x00007ffff7aec761 in QQmlBoundSignal_callback (e=0x6d4268, a=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:353
      #127 0x00007ffff7b43b15 in QQmlNotifier::emitNotify (endpoint=0x6d4268, a=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:81
      #128 0x00007ffff7a8c39e in QQmlData::signalEmitted (object=0x5edb70, index=30, a=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:710

      #129 0x00007ffff67a4cab in QMetaObject::activate (sender=0x5edb70, signalOffset=29, local_signal_index=1, argv=0x0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3513

      #130 0x00007ffff7a8807c in QQmlVMEMetaObject::activate (this=0x594b00, object=0x5edb70, index=42, args=0x0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1331

      #131 0x00007ffff7a85bb0 in QQmlVMEMetaObject::metaCall (this=0x594b00, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:849
      #132 0x00007ffff78b6ed2 in QAbstractDynamicMetaObject::metaCall (this=0x594b00, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/compiled/qt5/include/QtCore/5.3.0/QtCore/private/qobject_p.h:423
      #133 0x00007ffff7a86650 in QQmlVMEMetaObject::metaCall (this=0x5caeb0, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:978
      #134 0x00007ffff78b6ed2 in QAbstractDynamicMetaObject::metaCall (this=0x5caeb0, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/compiled/qt5/include/QtCore/5.3.0/QtCore/private/qobject_p.h:423
      #135 0x00007ffff7a86650 in QQmlVMEMetaObject::metaCall (this=0x615f30, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:978
      --Type <return> to continue, or q <return> to quit--
      #136 0x00007ffff78b6ed2 in QAbstractDynamicMetaObject::metaCall (this=0x615f30, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffb600)
      at /ssd/milian/projects/compiled/qt5/include/QtCore/5.3.0/QtCore/private/qobject_p.h:423

      #137 0x00007ffff676b827 in QMetaObject::metacall (object=0x5edb70, cl=QMetaObject::WriteProperty, idx=42, argv=0x7fffffffb600)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:306
      #138 0x00007ffff7aa8430 in QQmlPropertyPrivate::write (object=0x5edb70, property=..., value=..., context=0x581680, flags=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1317
      #139 0x00007ffff7aa7d45 in QQmlPropertyPrivate::writeValueProperty (object=0x5edb70, core=..., value=..., context=0x581680, flags=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1246
      #140 0x00007ffff7aa9f68 in QQmlPropertyPrivate::writeBinding (object=0x5edb70, core=..., context=0x581680, expression=0x5b3ec0, result=...,
      isUndefined=false, flags=...) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1572
      #141 0x00007ffff7b7058a in QQmlBinding::update (this=0x5b3ea0, flags=...)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:251
      #142 0x00007ffff7b70eca in QQmlBinding::update (this=0x5b3ea0) at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlbinding_p.h:106
      #143 0x00007ffff7b70a50 in QQmlBinding::expressionChanged (e=0x5b3ec0)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:303
      #144 0x00007ffff7b66754 in QQmlJavaScriptExpressionGuard_callback (e=0x5b6150)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:369
      #145 0x00007ffff7b43b15 in QQmlNotifier::emitNotify (endpoint=0x5b6150, a=0x7fffffffc240)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:81
      #146 0x00007ffff7a8c39e in QQmlData::signalEmitted (object=0x5f5cf0, index=3, a=0x7fffffffc240)
      at /ssd/milian/projects/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:710
      #147 0x00007ffff67a4cab in QMetaObject::activate (sender=0x5f5cf0, signalOffset=3, local_signal_index=0, argv=0x7fffffffc240)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3513
      #148 0x00007ffff67a4ae0 in QMetaObject::activate (sender=0x5f5cf0, m=0x7fffe86b2960 <QWebChannel::staticMetaObject>, local_signal_index=0,
      argv=0x7fffffffc240) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3495
      #149 0x00007fffe869f44b in QWebChannel::baseUrlChanged (this=0x5f5cf0, _t1="127.0.0.1:41527/45a19a90-b312-42c6-b898-d9de346f593e")
      at moc_qwebchannel.cpp:244
      #150 0x00007fffe868722b in QWebChannel::onInitialized (this=0x5f5cf0) at ../../src/qwebchannel.cpp:187
      #151 0x00007fffe869f03a in QWebChannel::qt_static_metacall (_o=0x5f5cf0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc3c0)
      at moc_qwebchannel.cpp:133
      #152 0x00007ffff67a528f in QMetaObject::activate (sender=0x816870, signalOffset=8, local_signal_index=1, argv=0x0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3620
      #153 0x00007ffff67a4ae0 in QMetaObject::activate (sender=0x816870, m=0x7fffe86b25c0 <QWebChannelPrivate::staticMetaObject>,
      local_signal_index=1, argv=0x0) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3495
      #154 0x00007fffe86875db in QWebChannelPrivate::initialized (this=0x816870) at ./qwebchannel.moc:151
      #155 0x00007fffe8686b61 in QWebChannelPrivate::init (this=0x816870) at ../../src/qwebchannel.cpp:125
      #156 0x00007fffe868739d in QWebChannelPrivate::qt_static_metacall (_o=0x816870, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x841540)
      at ./qwebchannel.moc:83
      #157 0x00007ffff679d9a9 in QMetaCallEvent::placeMetaCall (this=0x6cb4e0, object=0x816870)
      --Type <return> to continue, or q <return> to quit--
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:481
      #158 0x00007ffff679e9d2 in QObject::event (this=0x816870, e=0x6cb4e0) at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1211
      #159 0x00007ffff67631b4 in QCoreApplicationPrivate::notify_helper (this=0x40f150, receiver=0x816870, event=0x6cb4e0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1008
      #160 0x00007ffff6762e76 in QCoreApplication::notify (this=0x40dcb0, receiver=0x816870, event=0x6cb4e0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:953
      #161 0x00007ffff6b4e8a4 in QGuiApplication::notify (this=0x40dcb0, object=0x816870, event=0x6cb4e0)
      at /ssd/milian/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1357
      #162 0x00007ffff6762d7e in QCoreApplication::notifyInternal (this=0x40dcb0, receiver=0x816870, event=0x6cb4e0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:891
      #163 0x00007ffff6766a49 in QCoreApplication::sendEvent (receiver=0x816870, event=0x6cb4e0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.h:232
      #164 0x00007ffff67640c7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x40d100)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1495
      #165 0x00007ffff6763a77 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1353
      #166 0x00007ffff67da01b in postEventSourceDispatch (s=0x452640)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:279
      #167 0x00007ffff4843296 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #168 0x00007ffff48435e8 in ?? () from /usr/lib/libglib-2.0.so.0
      #169 0x00007ffff484368c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #170 0x00007ffff67da7bb in QEventDispatcherGlib::processEvents (this=0x459dc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:426
      #171 0x00007fffeea941da in QPAEventDispatcherGlib::processEvents (this=0x459dc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:123
      #172 0x00007ffff675fafa in QEventLoop::processEvents (this=0x7fffffffcdc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:136
      #173 0x00007ffff675fddd in QEventLoop::exec (this=0x7fffffffcdc0, flags=...)
      at /ssd/milian/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
      #174 0x00007ffff7fdcfa0 in quick_test_main (argc=1, argv=0x7fffffffd378, name=0x400837 "qml",
      sourceDir=0x400808 "/ssd/milian/projects/qt5/qwebchannel/tests/qml")
      at /ssd/milian/projects/qt5/qtdeclarative/src/qmltest/quicktest.cpp:372
      #175 0x000000000040077b in main (argc=3, argv=0x7fffffffd378) at ../../../tests/qml/qml.cpp:36

      Attachments

        For Gerrit Dashboard: QTBUG-35383
        # Subject Branch Project Status CR V

        Activity

          People

            laknoll Lars Knoll
            milianw Milian Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes