Fix crash in QObjectWrapper

Bug #1369930 reported by Albert Astals Cid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtdeclarative-opensource-src (Ubuntu)
Fix Released
Undecided
Timo Jyrinki

Bug Description

With some new code i'm having in unity8 i'm hitting this crash pretty regularly. After talking with Qt people upstream they have told me it's fixed by a very simple if check that is already fixed upstream in the 5.3 branch

I've been running the test in a loop with this patch in for a while and the crash seems to be gone.

Patch:
   https://codereview.qt-project.org/#/c/87700/

Backtrace:
#0 markChildQObjectsRecursively (parent=parent@entry=0x1172540, e=e@entry=0x6f6040) at jsruntime/qv4qobjectwrapper.cpp:965
#1 0x00007ffff57f62fb in markChildQObjectsRecursively (parent=parent@entry=0x83ec40, e=e@entry=0x6f6040) at jsruntime/qv4qobjectwrapper.cpp:968
#2 0x00007ffff57f62fb in markChildQObjectsRecursively (parent=parent@entry=0x82b7d0, e=e@entry=0x6f6040) at jsruntime/qv4qobjectwrapper.cpp:968
#3 0x00007ffff57f642b in QV4::QObjectWrapper::markObjects (that=0x7ffff7e04e10, e=0x6f6040) at jsruntime/qv4qobjectwrapper.cpp:986
#4 0x00007ffff5792a16 in QV4::MemoryManager::mark (this=0x717dd0) at jsruntime/qv4mm.cpp:312
#5 0x00007ffff5793eb5 in QV4::MemoryManager::runGC (this=0x717dd0) at jsruntime/qv4mm.cpp:439
#6 0x00007ffff57943a8 in QV4::MemoryManager::alloc (this=0x717dd0, size=size@entry=80) at jsruntime/qv4mm.cpp:180
#7 0x00007ffff57950a3 in allocManaged (size=<optimized out>, this=<optimized out>) at jsruntime/qv4mm_p.h:102
#8 QV4::Managed::operator new (size=size@entry=72, mm=<optimized out>) at jsruntime/qv4managed.cpp:69
#9 0x00007ffff58a7b45 in QV4::QmlValueTypeWrapper::create (v8=v8@entry=0x6f5b60, value=..., type=0x7fffcc3ce0d0) at qml/qqmlvaluetypewrapper.cpp:162
#10 0x00007ffff58b3ebf in QV8Engine::fromVariant (this=0x6f5b60, variant=...) at qml/v8/qv8engine.cpp:313
#11 0x00007ffff58b9732 in QV4::QtObject::method_size (ctx=0x7fffffff8f50) at qml/v8/qqmlbuiltinfunctions.cpp:316
#12 0x00007ffff57bcd4e in QV4::BuiltinFunction::call (that=0x7ffff7ea8380, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:583
#13 0x00007ffff5808b4b in call (d=0x7fffd07fa500, this=<optimized out>) at jsruntime/qv4object_p.h:270
#14 QV4::Runtime::callProperty (context=context@entry=0x7fffffff91f0, name=..., callData=...) at jsruntime/qv4runtime.cpp:938
#15 0x00007ffff5802045 in QV4::Moth::VME::run (this=this@entry=0x7fffffff9177, context=context@entry=0x7fffffff91f0, code=<optimized out>, code@entry=0x7fffcc2cb308 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:369
#16 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7fffffff91f0, code=0x7fffcc2cb308 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#17 0x00007ffff57bf225 in QV4::SimpleScriptFunction::call (that=0x7fffc1cceb40, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:529
#18 0x00007ffff589af8b in call (d=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:270
#19 QQmlJavaScriptExpression::evaluate (this=this@entry=0x1fab7d0, context=<optimized out>, function=..., callData=callData@entry=0x7fffd07fa488, isUndefined=isUndefined@entry=0x7fffffff9428) at qml/qqmljavascriptexpression.cpp:166
#20 0x00007ffff589b496 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x1fab7d0, context=<optimized out>, function=..., function@entry=..., isUndefined=isUndefined@entry=0x7fffffff9428) at qml/qqmljavascriptexpression.cpp:123
#21 0x00007ffff58a2161 in QQmlBinding::update (this=0x1fab7b0, flags=...) at qml/qqmlbinding.cpp:259
#22 0x00007ffff58a297e in update (this=<optimized out>) at qml/qqmlbinding_p.h:105
#23 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:327
#24 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x1fb2968, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#25 0x00007ffff587e2e1 in QQmlNotifier::emitNotify (endpoint=0x2136458, a=a@entry=0x0) at qml/qqmlnotifier.cpp:76
#26 0x00007ffff587e2e1 in QQmlNotifier::emitNotify (endpoint=0x2136500, a=a@entry=0x0) at qml/qqmlnotifier.cpp:76
#27 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x1faa960, index=31, a=0x0) at qml/qqmlengine.cpp:721
#28 0x00007ffff649e233 in QMetaObject::activate (sender=sender@entry=0x1faa960, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#29 0x00007ffff649edd7 in QMetaObject::activate (sender=sender@entry=0x1faa960, m=m@entry=0x7ffff6195520 <QQuickLoader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3546
#30 0x00007ffff5e21ba6 in itemChanged (this=0x1faa960) at .moc/moc_qquickloader_p.cpp:310
#31 QQuickLoader::setActive (this=this@entry=0x1faa960, newVal=<optimized out>) at items/qquickloader.cpp:368
#32 0x00007ffff5e22333 in QQuickLoader::qt_metacall (this=0x1faa960, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffff9840) at .moc/moc_qquickloader_p.cpp:277
#33 0x00007ffff58352fa in QQmlPropertyPrivate::write (object=object@entry=0x1faa960, property=..., value=..., context=context@entry=0x1fa72a0, flags=...) at qml/qqmlproperty.cpp:1322
#34 0x00007ffff583637f in QQmlPropertyPrivate::writeValueProperty (object=object@entry=0x1faa960, core=..., value=..., context=context@entry=0x1fa72a0, flags=...) at qml/qqmlproperty.cpp:1246
#35 0x00007ffff58370d5 in QQmlPropertyPrivate::writeBinding (object=0x1faa960, core=..., context=0x1fa72a0, expression=expression@entry=0x1fac7b0, result=..., isUndefined=isUndefined@entry=false, flags=...) at qml/qqmlproperty.cpp:1578
#36 0x00007ffff58a21f2 in QQmlBinding::update (this=0x1fac790, flags=...) at qml/qqmlbinding.cpp:266
#37 0x00007ffff58a297e in update (this=<optimized out>) at qml/qqmlbinding_p.h:105
#38 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:327
#39 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x1fb3308, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#40 0x00007ffff587e2e1 in QQmlNotifier::emitNotify (endpoint=0x1fb3340, a=a@entry=0x0) at qml/qqmlnotifier.cpp:76
#41 0x00007ffff587e2e1 in QQmlNotifier::emitNotify (endpoint=0x21361b8, a=a@entry=0x0) at qml/qqmlnotifier.cpp:76
#42 0x00007ffff587e2e1 in QQmlNotifier::emitNotify (endpoint=0x21361f0, a=a@entry=0x0) at qml/qqmlnotifier.cpp:76
#43 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x1fa8070, index=54, a=0x0) at qml/qqmlengine.cpp:721
#44 0x00007ffff649e233 in QMetaObject::activate (sender=0x1fa8070, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#45 0x00007ffff5821800 in QQmlData::destroyed (this=0x1fa45e0, object=0x1f51b60) at qml/qqmlengine.cpp:1659
#46 0x00007ffff64a5d7e in QObject::~QObject (this=0x1f51b60, __in_chrg=<optimized out>) at kernel/qobject.cpp:916
#47 0x00007ffff569cdb5 in ~QQmlDMCachedModelData (this=0x1f51b60, __in_chrg=<optimized out>) at util/qqmladaptormodel.cpp:95
#48 ~QQmlDMAbstractItemModelData (this=0x1f51b60, __in_chrg=<optimized out>) at util/qqmladaptormodel.cpp:392
#49 QQmlDMAbstractItemModelData::~QQmlDMAbstractItemModelData (this=0x1f51b60, __in_chrg=<optimized out>) at util/qqmladaptormodel.cpp:392
#50 0x00007ffff58f687d in QQmlDelegateModelPrivate::release (this=0x1e91600, object=0x1fa5070) at types/qqmldelegatemodel.cpp:520
#51 0x00007ffff58f68ad in QQmlDelegateModel::release (this=<optimized out>, item=<optimized out>) at types/qqmldelegatemodel.cpp:536
#52 0x00007ffff5e4f810 in QQuickItemViewPrivate::releaseItem (this=0x1e8f1c0, item=0x1fa5290) at items/qquickitemview.cpp:2349
#53 0x00007ffff5e4e415 in QQuickItemViewPrivate::clear (this=0x1e8f1c0) at items/qquickitemview.cpp:1686
#54 0x00007ffff5e52e3c in QQuickItemView::setModel (this=this@entry=0x1db6fb0, model=...) at items/qquickitemview.cpp:297
#55 0x00007ffff5ec02dd in QQuickItemView::qt_metacall (this=this@entry=0x1db6fb0, _c=_c@entry=QMetaObject::WriteProperty, _id=0, _a=_a@entry=0x7fffffffa370) at .moc/moc_qquickitemview_p.cpp:815
#56 0x00007ffff5eadf27 in QQuickGridView::qt_metacall (this=0x1db6fb0, _c=QMetaObject::WriteProperty, _id=<optimized out>, _a=0x7fffffffa370) at .moc/moc_qquickgridview_p.cpp:211
#57 0x00007ffff581acc0 in QQmlVMEMetaObject::metaCall (this=0x1db71e0, c=QMetaObject::WriteProperty, _id=78, a=0x7fffffffa370) at qml/qqmlvmemetaobject.cpp:980
#58 0x00007ffff581afe1 in QQmlVMEMetaObject::metaCall (this=0x1e8ea00, c=QMetaObject::WriteProperty, _id=<optimized out>, a=0x7fffffffa370) at qml/qqmlvmemetaobject.cpp:906
#59 0x00007ffff58352fa in QQmlPropertyPrivate::write (object=object@entry=0x1db7b00, property=..., value=..., context=context@entry=0x1db91b0, flags=...) at qml/qqmlproperty.cpp:1322
#60 0x00007ffff583637f in QQmlPropertyPrivate::writeValueProperty (object=object@entry=0x1db7b00, core=..., value=..., context=context@entry=0x1db91b0, flags=...) at qml/qqmlproperty.cpp:1246
#61 0x00007ffff58370d5 in QQmlPropertyPrivate::writeBinding (object=0x1db7b00, core=..., context=0x1db91b0, expression=expression@entry=0x1e91f00, result=..., isUndefined=isUndefined@entry=false, flags=...) at qml/qqmlproperty.cpp:1578
#62 0x00007ffff58a21f2 in QQmlBinding::update (this=0x1e91ee0, flags=...) at qml/qqmlbinding.cpp:266
#63 0x00007ffff58a297e in update (this=<optimized out>) at qml/qqmlbinding_p.h:105
#64 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:327
#65 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x1df9de0, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#66 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x1db7f60, index=35, a=0x0) at qml/qqmlengine.cpp:721
---Type <return> to continue, or q <return> to quit---
#67 0x00007ffff649e233 in QMetaObject::activate (sender=0x1db7f60, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#68 0x00007ffff5821800 in QQmlData::destroyed (this=0x1acd660, object=0x1688d00) at qml/qqmlengine.cpp:1659
#69 0x00007ffff64a5d7e in QObject::~QObject (this=0x1688d00, __in_chrg=<optimized out>) at kernel/qobject.cpp:916
#70 0x00007ffff641654d in QAbstractItemModel::~QAbstractItemModel (this=0x1688d00, __in_chrg=<optimized out>) at itemmodels/qabstractitemmodel.cpp:1451
#71 0x00007fffca5831c0 in unity::shell::scopes::ResultsModelInterface::~ResultsModelInterface (this=0x1688d00, __in_chrg=<optimized out>) at /usr/include/unity/shell/scopes/ResultsModelInterface.h:34
#72 0x00007fffca59263a in ResultsModel::~ResultsModel (this=0x1688d00, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/tests/mocks/Unity/fake_resultsmodel.h:26
#73 0x00007fffca59266a in ResultsModel::~ResultsModel (this=0x1688d00, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/tests/mocks/Unity/fake_resultsmodel.h:26
#74 0x00007ffff649d36c in QObjectPrivate::deleteChildren (this=this@entry=0x106eb60) at kernel/qobject.cpp:1935
#75 0x00007ffff64a60ec in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1028
#76 0x00007ffff641654d in QAbstractItemModel::~QAbstractItemModel (this=0x106eb20, __in_chrg=<optimized out>) at itemmodels/qabstractitemmodel.cpp:1451
#77 0x00007fffca59abf0 in unity::shell::scopes::CategoriesInterface::~CategoriesInterface (this=0x106eb20, __in_chrg=<optimized out>) at /usr/include/unity/shell/scopes/CategoriesInterface.h:37
#78 0x00007fffca59af08 in Categories::~Categories (this=0x106eb20, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/builddir/tests/mocks/Unity/../../../../tests/mocks/Unity/fake_categories.h:27
#79 0x00007fffca59af38 in Categories::~Categories (this=0x106eb20, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/builddir/tests/mocks/Unity/../../../../tests/mocks/Unity/fake_categories.h:27
#80 0x00007ffff649d36c in QObjectPrivate::deleteChildren (this=this@entry=0x11725d0) at kernel/qobject.cpp:1935
#81 0x00007ffff64a60ec in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1028
#82 0x00007fffca57d3bc in unity::shell::scopes::ScopeInterface::~ScopeInterface (this=0x1172540, __in_chrg=<optimized out>) at /usr/include/unity/shell/scopes/ScopeInterface.h:40
#83 0x00007fffca583158 in Scope::~Scope (this=0x1172540, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/tests/mocks/Unity/fake_scope.h:29
#84 0x00007fffca583188 in Scope::~Scope (this=0x1172540, __in_chrg=<optimized out>) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/tests/mocks/Unity/fake_scope.h:29
#85 0x00007fffca57fd64 in qDeleteAll<QList<Scope*>::const_iterator> (begin=..., end=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:323
#86 0x00007fffca57f868 in qDeleteAll<QList<Scope*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:331
#87 0x00007fffca57ea37 in Scopes::clear (this=0x83ec40) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/tests/mocks/Unity/fake_scopes.cpp:76
#88 0x00007fffca595eef in Scopes::qt_static_metacall (_o=0x83ec40, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffffffaf60) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/builddir/tests/mocks/Unity/moc_fake_scopes.cpp:112
#89 0x00007fffca596096 in Scopes::qt_metacall (this=0x83ec40, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffffffaf60) at /home/tsdgeos_work/phablet/unity8/two_see_more_bugfix/builddir/tests/mocks/Unity/moc_fake_scopes.cpp:158
#90 0x00007ffff57fc72e in CallMethod (object=object@entry=0x83ec40, index=42, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x6f5b60, callArgs=callArgs@entry=0x7fffd07fa410)
    at jsruntime/qv4qobjectwrapper.cpp:1149
#91 0x00007ffff57fedf3 in CallPrecise (object=object@entry=0x83ec40, data=..., engine=engine@entry=0x6f5b60, callArgs=callArgs@entry=0x7fffd07fa410) at jsruntime/qv4qobjectwrapper.cpp:1387
#92 0x00007ffff57ff511 in QV4::QObjectMethod::callInternal (this=<optimized out>, callData=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1872
#93 0x00007ffff5808b4b in call (d=0x7fffd07fa410, this=<optimized out>) at jsruntime/qv4object_p.h:270
#94 QV4::Runtime::callProperty (context=context@entry=0x7fffffffb640, name=..., callData=...) at jsruntime/qv4runtime.cpp:938
#95 0x00007ffff5802045 in QV4::Moth::VME::run (this=this@entry=0x7fffffffb5c7, context=context@entry=0x7fffffffb640, code=<optimized out>, code@entry=0x7fffcc1b2cd8 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:369
#96 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7fffffffb640, code=0x7fffcc1b2cd8 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#97 0x00007ffff57bf225 in QV4::SimpleScriptFunction::call (that=0x7ffff7e0bc20, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:529
#98 0x00007ffff5809044 in call (d=0x7fffd07fa388, this=<optimized out>) at jsruntime/qv4object_p.h:270
#99 QV4::Runtime::callElement (context=context@entry=0x7ffff7e615a0, index=..., callData=...) at jsruntime/qv4runtime.cpp:966
#100 0x00007ffff5802105 in QV4::Moth::VME::run (this=this@entry=0x7fffffffb817, context=context@entry=0x7ffff7e615a0, code=<optimized out>, code@entry=0x7fffcc1d8bf8 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:388
#101 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7ffff7e615a0, code=0x7fffcc1d8bf8 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#102 0x00007ffff57beecc in QV4::ScriptFunction::call (that=0x7ffff7e0b620, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:421
#103 0x00007ffff58087a5 in call (d=0x7fffd07fa260, this=<optimized out>) at jsruntime/qv4object_p.h:270
#104 QV4::Runtime::callActivationProperty (context=context@entry=0x7fffffffbad0, name=..., callData=...) at jsruntime/qv4runtime.cpp:912
#105 0x00007ffff580216f in QV4::Moth::VME::run (this=this@entry=0x7fffffffba57, context=context@entry=0x7fffffffbad0, code=<optimized out>, code@entry=0x7fffcc1f29c8 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:398
#106 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7fffffffbad0, code=0x7fffcc1f29c8 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#107 0x00007ffff57bf225 in QV4::SimpleScriptFunction::call (that=0x7ffff7e0b650, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:529
#108 0x00007ffff58087a5 in call (d=0x7fffd07fa1f0, this=<optimized out>) at jsruntime/qv4object_p.h:270
#109 QV4::Runtime::callActivationProperty (context=context@entry=0x7fffffffbd80, name=..., callData=...) at jsruntime/qv4runtime.cpp:912
#110 0x00007ffff580216f in QV4::Moth::VME::run (this=this@entry=0x7fffffffbd07, context=context@entry=0x7fffffffbd80, code=<optimized out>, code@entry=0x7fffcc2020c8 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:398
#111 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7fffffffbd80, code=0x7fffcc2020c8 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#112 0x00007ffff57bf225 in QV4::SimpleScriptFunction::call (that=0x7ffff7e0b6b0, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:529
#113 0x00007ffff58087a5 in call (d=0x7fffd07fa098, this=<optimized out>) at jsruntime/qv4object_p.h:270
#114 QV4::Runtime::callActivationProperty (context=context@entry=0x7fffffffc030, name=..., callData=...) at jsruntime/qv4runtime.cpp:912
#115 0x00007ffff580216f in QV4::Moth::VME::run (this=this@entry=0x7fffffffbfb7, context=context@entry=0x7fffffffc030, code=<optimized out>, code@entry=0x7fffcc20dff8 "p\037\200\365\377\177", storeJumpTable=storeJumpTable@entry=0x0) at jsruntime/qv4vme_moth.cpp:398
#116 0x00007ffff58040aa in QV4::Moth::VME::exec (ctxt=0x7fffffffc030, code=0x7fffcc20dff8 "p\037\200\365\377\177") at jsruntime/qv4vme_moth.cpp:738
#117 0x00007ffff57bf225 in QV4::SimpleScriptFunction::call (that=0x7ffff7e0b830, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:529
#118 0x00007ffff589af8b in call (d=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:270
#119 QQmlJavaScriptExpression::evaluate (this=this@entry=0x86a650, context=<optimized out>, function=..., function@entry=..., callData=callData@entry=0x7fffd07fa028, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:166
#120 0x00007ffff5843436 in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=a@entry=0x0) at qml/qqmlboundsignal.cpp:289
#121 0x00007ffff58437ea in QQmlBoundSignal_callback (e=<optimized out>, a=0x0) at qml/qqmlboundsignal.cpp:416
#122 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x86a0f8, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#123 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x865d20, index=30, a=0x0) at qml/qqmlengine.cpp:721
#124 0x00007ffff649e233 in QMetaObject::activate (sender=0x865d20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#125 0x00007ffff58199d5 in QQmlVMEMetaObject::activate (this=this@entry=0x8660f0, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at qml/qqmlvmemetaobject.cpp:1333
#126 0x00007ffff581b55e in QQmlVMEMetaObject::metaCall (this=0x8660f0, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:849
#127 0x00007ffff581acef in QQmlVMEMetaObject::metaCall (this=0x86ce20, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffc950) at qml/qqmlvmemetaobject.cpp:978
#128 0x00007ffff581acef in QQmlVMEMetaObject::metaCall (this=0x86a8e0, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffffc950) at qml/qqmlvmemetaobject.cpp:978
#129 0x00007ffff58352fa in QQmlPropertyPrivate::write (object=object@entry=0x865d20, property=..., value=..., context=context@entry=0x81bf30, flags=...) at qml/qqmlproperty.cpp:1322
#130 0x00007ffff583637f in QQmlPropertyPrivate::writeValueProperty (object=object@entry=0x865d20, core=..., value=..., context=context@entry=0x81bf30, flags=...) at qml/qqmlproperty.cpp:1246
#131 0x00007ffff58370d5 in QQmlPropertyPrivate::writeBinding (object=0x865d20, core=..., context=0x81bf30, expression=expression@entry=0x869950, result=..., isUndefined=isUndefined@entry=false, flags=...) at qml/qqmlproperty.cpp:1578
#132 0x00007ffff58a21f2 in QQmlBinding::update (this=0x869930, flags=...) at qml/qqmlbinding.cpp:266
---Type <return> to continue, or q <return> to quit---
#133 0x00007ffff58a297e in update (this=<optimized out>) at qml/qqmlbinding_p.h:105
#134 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:327
#135 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x86e9d8, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#136 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x865d20, index=34, a=0x0) at qml/qqmlengine.cpp:721
#137 0x00007ffff649e233 in QMetaObject::activate (sender=0x865d20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#138 0x00007ffff58199d5 in QQmlVMEMetaObject::activate (this=this@entry=0x8660f0, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at qml/qqmlvmemetaobject.cpp:1333
#139 0x00007ffff581b55e in QQmlVMEMetaObject::metaCall (this=0x8660f0, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:849
#140 0x00007ffff581acef in QQmlVMEMetaObject::metaCall (this=0x86ce20, c=QMetaObject::WriteProperty, _id=46, a=0x7fffffffd200) at qml/qqmlvmemetaobject.cpp:978
#141 0x00007ffff581acef in QQmlVMEMetaObject::metaCall (this=0x86a8e0, c=QMetaObject::WriteProperty, _id=46, a=0x7fffffffd200) at qml/qqmlvmemetaobject.cpp:978
#142 0x00007ffff58352fa in QQmlPropertyPrivate::write (object=object@entry=0x865d20, property=..., value=..., context=context@entry=0x863fa0, flags=...) at qml/qqmlproperty.cpp:1322
#143 0x00007ffff583637f in QQmlPropertyPrivate::writeValueProperty (object=object@entry=0x865d20, core=..., value=..., context=context@entry=0x863fa0, flags=...) at qml/qqmlproperty.cpp:1246
#144 0x00007ffff58370d5 in QQmlPropertyPrivate::writeBinding (object=0x865d20, core=..., context=0x863fa0, expression=expression@entry=0x86c410, result=..., isUndefined=isUndefined@entry=false, flags=...) at qml/qqmlproperty.cpp:1578
#145 0x00007ffff58a21f2 in QQmlBinding::update (this=0x86c3f0, flags=...) at qml/qqmlbinding.cpp:266
#146 0x00007ffff58a297e in update (this=<optimized out>) at qml/qqmlbinding_p.h:105
#147 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:327
#148 0x00007ffff587e30f in QQmlNotifier::emitNotify (endpoint=0x86ea10, a=a@entry=0x0) at qml/qqmlnotifier.cpp:81
#149 0x00007ffff58225ac in QQmlData::signalEmitted (object=0x7f3260, index=3, a=0x0) at qml/qqmlengine.cpp:721
#150 0x00007ffff649e233 in QMetaObject::activate (sender=0x7f3260, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#151 0x00007ffff649edd7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffff7dd8a00 <QTestRootObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3546
#152 0x00007ffff7bcac4c in windowShownChanged (this=<optimized out>) at .moc/quicktest.moc:187
#153 setWindowShown (value=true, this=<optimized out>) at quicktest.cpp:103
#154 quick_test_main (argc=9, argv=<optimized out>, name=<optimized out>, sourceDir=<optimized out>) at quicktest.cpp:375
#155 0x00007ffff7819ec5 in __libc_start_main (main=0x4005e0 <main(int, char**)>, argc=9, argv=0x7fffffffdac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdab8) at libc-start.c:287
#156 0x000000000040061c in _start ()

Changed in qtdeclarative-opensource-src (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
description: updated
Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtdeclarative-opensource-src - 5.3.0-3ubuntu12

---------------
qtdeclarative-opensource-src (5.3.0-3ubuntu12) utopic; urgency=medium

  * debian/patches/Fix-crash-in-QObjectWrapper.patch:
    - Cherry-pick a fix for a crash happening in some new code (LP: #1369930)
 -- Timo Jyrinki <email address hidden> Tue, 16 Sep 2014 08:45:09 +0000

Changed in qtdeclarative-opensource-src (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.