[Interest] Crash during QML component incubation
Данил Патрушев
dannix84 at gmail.com
Wed Jun 1 12:46:32 CEST 2016
Hi, all. I am faced with a vector out-of-bounds access crash inside Qt
during incubation of my qml component built with Qt5. on a linux machine. I
can't reproduce the same problem with Qt5.5.1.
The component is pretty complex containing lots of visual items and data
providing models. The crash is observed when multiple (say 5) instances of
this component are loaded simultaneously. The unfortunate thing is that I
can't build a simple test case for that, because as soon i start stripping
off pieces of code one by one, the crash goes away. So I guess having lots
of stuff in the component could be a factor here. All I can do is give a
stacktrace below. There seems to be no fault of mine, all
PSQmlIncubatorController::timerEvent does is call
QQmlIncubationController::incubateFor, so I wonder if this could be a Qt
bug. Any ideas and comments are warmly welcomed)).
1 __GI_raise raise.c 56 0x7ffff4c44067
2 __GI_abort abort.c 89 0x7ffff4c45448
3 qt_message_fatal qlogging.cpp 1610 0x7ffff6d65b3e
4 QMessageLogger::fatal qlogging.cpp 784 0x7ffff6d6228a
5 qt_assert_x qglobal.cpp 3002 0x7ffff6d5b7bf
6 QVector<QPointer<QQuickItem>>::at qvector.h 419 0x7fffdaa60d9b
7 QQuickRepeater::initItem qquickrepeater.cpp 413 0x7fffdaa600a3
8 QQuickRepeater::qt_static_metacall moc_qquickrepeater_p.cpp 138
0x7fffdab48cf2
9 QQuickRepeater::qt_metacall moc_qquickrepeater_p.cpp 261 0x7fffdab491c1
10 QMetaObject::metacall qmetaobject.cpp 295 0x7ffff6fb1a25
11 QMetaObject::activate qobject.cpp 3745 0x7ffff6fe9129
12 QMetaObject::activate qobject.cpp 3595 0x7ffff6fe8868
13 QQmlInstanceModel::initItem moc_qqmlobjectmodel_p.cpp 236 0x7fffdb145eb6
14 QQmlDelegateModelPrivate::emitInitItem qqmldelegatemodel_p_p.h 265
0x7fffdb11582f
15 QQmlDelegateModelPrivate::setInitialState qqmldelegatemodel.cpp 912
0x7fffdb108cd3
16 QQDMIncubationTask::setInitialState qqmldelegatemodel.cpp 901
0x7fffdb108c37
17 QQmlIncubatorPrivate::incubate qqmlincubator.cpp 322 0x7fffdb0528dc
18 QQmlIncubationController::incubateFor qqmlincubator.cpp 395
0x7fffdb052cfb
19 PSQmlIncubatorController::timerEvent pscomponent.h 23 0x7fffd04ab3fd
20 QObject::event qobject.cpp 1237 0x7ffff6fe2510
21 QApplicationPrivate::notify_helper qapplication.cpp 3714 0x7ffff5da32c4
22 QApplication::notify qapplication.cpp 3157 0x7ffff5da0a06
23 QCoreApplication::notifyInternal2 qcoreapplication.cpp 1015
0x7ffff6fa8914
24 QCoreApplication::sendEvent qcoreapplication.h 227 0x7ffff6fac902
25 QTimerInfoList::activateTimers qtimerinfo_unix.cpp 637 0x7ffff702091c
26 timerSourceDispatch qeventdispatcher_glib.cpp 176 0x7ffff7021c36
27 g_main_context_dispatch 0x7ffff1710c5d
28 ?? 0x7ffff1710f48
29 g_main_context_iteration 0x7ffff1710ffc
30 QEventDispatcherGlib::processEvents qeventdispatcher_glib.cpp 417
0x7ffff70225e5
31 QPAEventDispatcherGlib::processEvents qeventdispatcher_glib.cpp 115
0x7fffea392b70
32 QEventLoop::processEvents qeventloop.cpp 128 0x7ffff6fa5324
33 QEventLoop::exec qeventloop.cpp 204 0x7ffff6fa5605
34 QCoreApplication::exec qcoreapplication.cpp 1285 0x7ffff6fa905a
35 QGuiApplication::exec qguiapplication.cpp 1598 0x7ffff6660098
36 QApplication::exec qapplication.cpp 2973 0x7ffff5da03f1
37 main main.cpp 48 0x401021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160601/5994ae9e/attachment.html>
More information about the Interest
mailing list