Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.9.1
-
macOS Sierra 10.12.6
XCode 9.0
Qt 5.9.1
QtCreator 4.4.0
iPad Pro 10.5'' with iOS 11.0.1
Description
Since iOS 11 was released my application on devices with fresh iOS sometimes got crashed during the work. In QtCreator's output window i got this
program received signal -111, thread:3201f
In XCode output window last message before crash:
ASSERT: "inUse()" in file jsruntime/qv4engine_p.h, line 521
(lldb)
It usually happes when application successfully connected to server, get data, and starting handle it (with active creation of dynamic qml elements). But all working ok on other iOS versions.
Here are copy of XCode debug navigator in moment of error
#0 0x0000000185b4d348 in __pthread_kill () #1 0x0000000185c61354 in pthread_kill$VARIANT$mp () #2 0x0000000185abcfd8 in abort () #3 0x00000001018c2878 in qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) at /Users/qt/work/qt/qtbase/src/corelib/global/qlogging.cpp:1690 #4 0x00000001018c2fd0 in QMessageLogger::fatal(char const*, ...) const at /Users/qt/work/qt/qtbase/src/corelib/global/qlogging.cpp:796 #5 0x00000001018bc22c in qt_assert(char const*, char const*, int) at /Users/qt/work/qt/qtbase/src/corelib/global/qglobal.cpp:3049 #6 0x0000000101651484 in QV4::Heap::Base::mark(QV4::ExecutionEngine*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4engine_p.h:521 #7 0x000000010165141c in QV4::Value::mark(QV4::ExecutionEngine*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4engine_p.h:535 #8 0x00000001015735fc in QV4::MemberData::markObjects(QV4::Heap::Base*, QV4::ExecutionEngine*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4memberdata.cpp:52 #9 0x0000000101535708 in drainMarkStack(QV4::ExecutionEngine*, QV4::Value*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4persistent.cpp:223 #10 0x0000000101535668 in QV4::PersistentValueStorage::mark(QV4::ExecutionEngine*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4persistent.cpp:237 #11 0x0000000101405064 in QV4::MemoryManager::mark() at /Users/qt/work/qt/qtdeclarative/src/qml/memory/qv4mm.cpp:817 #12 0x0000000101404254 in QV4::MemoryManager::runGC() at /Users/qt/work/qt/qtdeclarative/src/qml/memory/qv4mm.cpp:952 #13 0x0000000101404da8 in QV4::MemoryManager::allocData(unsigned long) at /Users/qt/work/qt/qtdeclarative/src/qml/memory/qv4mm.cpp:764 #14 0x0000000101523010 in QV4::SimpleArrayData::Data* QV4::MemoryManager::allocManaged<QV4::SimpleArrayData>(unsigned long) at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:227 #15 0x00000001015462a8 in QV4::ArrayData::realloc(QV4::Object*, QV4::Heap::ArrayData::Type, unsigned int, bool) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4arraydata.cpp:151 #16 0x00000001016ee5ec in QV4::Object::arrayReserve(unsigned int) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4object_p.h:317 #17 0x0000000101547570 in QV4::ArrayData::insert(QV4::Object*, unsigned int, QV4::Value const*, bool) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4arraydata.cpp:645 #18 0x000000010158faa0 in QV4::Object::arraySet(unsigned int, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:514 #19 0x0000000101579aec in QV4::Object::internalPutIndexed(unsigned int, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4object.cpp:847 #20 0x0000000101576478 in QV4::Object::putIndexed(QV4::Managed*, unsigned int, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4object.cpp:431 #21 0x000000010168c42c in QV4::Object::putIndexed(unsigned int, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:350 #22 0x000000010160d934 in QV4::setElementFallback(QV4::ExecutionEngine*, QV4::Value const&, QV4::Value const&, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:694 #23 0x0000000101607690 in QV4::Runtime::method_setElement(QV4::ExecutionEngine*, QV4::Value const&, QV4::Value const&, QV4::Value const&) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:720 #24 0x00000001015fec40 in QV4::Moth::VME::run(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:479 #25 0x0000000101604864 in QV4::Moth::VME::exec(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:957 #26 0x0000000101532104 in QV4::ExecutionContext::simpleCall(QV4::Scope&, QV4::CallData*, QV4::Function*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4context.cpp:347 #27 0x0000000101561df8 in QV4::ScriptFunction::call(QV4::Managed const*, QV4::Scope&, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:415 #28 0x000000010165165c in QV4::Object::call(QV4::Scope&, QV4::CallData*) const at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:372 #29 0x00000001016069ac in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, int, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1102 #30 0x00000001015ffeb0 in QV4::Moth::VME::run(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:581 #31 0x0000000101604864 in QV4::Moth::VME::exec(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:957 #32 0x0000000101532104 in QV4::ExecutionContext::simpleCall(QV4::Scope&, QV4::CallData*, QV4::Function*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4context.cpp:347 #33 0x0000000101561df8 in QV4::ScriptFunction::call(QV4::Managed const*, QV4::Scope&, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:415 #34 0x000000010165165c in QV4::Object::call(QV4::Scope&, QV4::CallData*) const at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:372 #35 0x0000000101606d60 in QV4::Runtime::method_callValue(QV4::ExecutionEngine*, QV4::Value const&, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1147 #36 0x00000001015ffd08 in QV4::Moth::VME::run(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:571 #37 0x0000000101604864 in QV4::Moth::VME::exec(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:957 #38 0x0000000101531e1c in QV4::ExecutionContext::call(QV4::Scope&, QV4::CallData*, QV4::Function*, QV4::FunctionObject const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4context.cpp:318 #39 0x0000000101561e4c in QV4::ScriptFunction::call(QV4::Managed const*, QV4::Scope&, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:417 #40 0x000000010165165c in QV4::Object::call(QV4::Scope&, QV4::CallData*) const at /Users/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:372 #41 0x00000001016069ac in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, int, QV4::CallData*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1102 #42 0x00000001015ffeb0 in QV4::Moth::VME::run(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:581 #43 0x0000000101604864 in QV4::Moth::VME::exec(QV4::ExecutionEngine*, unsigned char const*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:957 #44 0x0000000101532104 in QV4::ExecutionContext::simpleCall(QV4::Scope&, QV4::CallData*, QV4::Function*) at /Users/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4context.cpp:347 #45 0x00000001016f0d28 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*, QV4::Scope&) at /Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:223 #46 0x000000010165e3c4 in QQmlBoundSignalExpression::evaluate(void**) at /Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:223 #47 0x000000010165e9d0 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) at /Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:355 #48 0x00000001016cd064 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) at /Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:106 #49 0x0000000101620590 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) at /Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmlengine.cpp:839 #50 0x0000000101b40e10 in QMetaObject::activate(QObject*, int, int, void**) at /Users/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:3643
Attachments
Issue Links
- duplicates
-
QTBUG-66090 QML Memory leak with Image inside MapQuickItem
- Closed