[Development] Qt 5.6 Crash in QV4::Value::as

Kirill Klochkov klochkov.kirill at gmail.com
Mon May 9 11:16:02 CEST 2016


Hello,

I need a suggestion how to narrow down a crash which occurs on Mac 10.11.4, Qt 5.6.
I have QQuickView with complex UI structure. When a QQuickView is closed and the second one (with the same qml) opens
the app crashes with the following call stack.

1   QV4::QQmlValueTypeWrapper const const * QV4::Value::as<QV4::QQmlValueTypeWrapper const>() const              qv4value_p.h             350  0x1064d7318    
2   QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) qqmlbinding.cpp          257  0x1064d5a73    
3   QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>)                                                  qqmlbinding.cpp          191  0x1064d5137    
4   QQmlBinding::setEnabled(bool, QFlags<QQmlPropertyPrivate::WriteFlag>)                                        qqmlbinding.cpp          412  0x1064d6b99    
5   QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&)                                                     qqmlobjectcreator.cpp    1190 0x1064e8483    
6   QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&)                                                  qqmlincubator.cpp        348  0x1064484a2    
7   QQmlIncubationController::incubateFor(int)                                                                   qqmlincubator.cpp        395  0x106449278    
8   QQuickWindowIncubationController::incubate()                                                                 qquickwindow.cpp         136  0x10480f2a5    
9   QQuickWindowIncubationController::timerEvent(QTimerEvent *)                                                  qquickwindow.cpp         119  0x104812285    
10  QObject::event(QEvent *)                                                                                     qobject.cpp              1237 0x1075df021    
11  QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                      qapplication.cpp         3714 0x10391563f    
12  QApplication::notify(QObject *, QEvent *)                                                                    qapplication.cpp         3157 0x103917458    
13  WoowApplication::notify(QObject *, QEvent *)                                                                 woowapplication.cpp      342  0x1004d6c17    
14  QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                       qcoreapplication.cpp     1015 0x107598125    
15  QCoreApplication::sendEvent(QObject *, QEvent *)                                                             qcoreapplication.h       227  0x10759cdd8    
16  QTimerInfoList::activateTimers()                                                                             qtimerinfo_unix.cpp      637  0x107630cd8    
17  QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void *)                                           qcocoaeventdispatcher.mm 119  0x10e14b364    
18  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__                                                                                 0x7fff953f8881 
19  __CFRunLoopDoSources0                                                                                                                      0x7fff953d7fbc 
20  __CFRunLoopRun                                                                                                                             0x7fff953d74df 
... <More>                                                                                                                                                    

Unfortunately, I couldn’t manage to reproduce the crash on a test app.
So, maybe one of you could help me to narrow the issue down?

PS: I didn’t receive any feedback either from the support nor from the interest mailing list.

Thanks, Kirill Klochkov




More information about the Development mailing list