[Development] Qt + GCC 6 no joy ?
Thiago Macieira
thiago.macieira at intel.com
Thu May 19 17:59:16 CEST 2016
On quarta-feira, 18 de maio de 2016 11:01:09 PDT Bogdan Vatra wrote:
> Hi,
>
> Did anyone tried Qt (5.7) with GCC 6 ?
> I compiled Qt and QtCreator (using debian's gcc 6) but it crashes in v4 when
> I start QtCreator :(. It's a know issue or just me?
I can confirm it too. And it only happens in release mode. And I can also
confirm the problem does not happen when compiling with GCC 5.3.1.
Backtrace with debugging symbols, but in release mode, is attached. I'll try
to study the generated code to see if I spot anything.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
#0 0x00007ffff58b0faa in QV4::ExecutionEngine::newArrayObject(int) (v=..., this=<optimized out>)
at /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtQml/5.7.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/jsruntime/qv4value_p.h:408
#1 0x00007ffff58b0faa in QV4::ExecutionEngine::newArrayObject(int) (this=<optimized out>)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/jsruntime/qv4object_p.h:389
#2 0x00007ffff58b0faa in QV4::ExecutionEngine::newArrayObject(int) (this=<optimized out>)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/jsruntime/qv4object_p.h:386
#3 0x00007ffff58b0faa in QV4::ExecutionEngine::newArrayObject(int) (this=<optimized out>)
at /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtQml/5.7.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/memory/qv4mm_p.h:211
#4 0x00007ffff58b0faa in QV4::ExecutionEngine::newArrayObject(int) (this=0x1ee2990, count=3)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:618
#5 0x00007ffff5a08df6 in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (this=this at entry=0x7fffffffa790, subComponentIndex=subComponentIndex at entry=-1, parent=parent at entry=0x0, interrupt=interrupt at entry=0x0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:192
#6 0x00007ffff5a0877e in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x7fffffffa9e0, index=index at entry=0, parent=parent at entry=0x0, isContextObject=isContextObject at entry=true) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1084
#7 0x00007ffff5a08c2f in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (this=this at entry=0x7fffffffa9e0, subComponentIndex=subComponentIndex at entry=-1, parent=parent at entry=0x0, interrupt=interrupt at entry=0x0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:203
#8 0x00007ffff5a0877e in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x7fffffffbd60, index=19, parent=0x1f56d80, isContextObject=isContextObject at entry=false) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1084
#9 0x00007ffff5a0a619 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this at entry=0x7fffffffbd60, property=0x7fffc4041528, binding=binding at entry=0x7fffc41ecce0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:749
#10 0x00007ffff5a0a864 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this at entry=0x7fffffffbd60, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:701
#11 0x00007ffff5a0b34b in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this at entry=0x7fffffffbd60, index=7, index at entry=9, instance=0x1f56520, instance at entry=0x1f56d80, bindingTarget=0x1f56520,
bindingTarget at entry=0x1f56d80, valueTypeProperty=valueTypeProperty at entry=0x0, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1328
#12 0x00007ffff5a083ef in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x7fffffffbd60, index=<optimized out>, parent=<optimized out>, isContextObject=isContextObject at entry=false) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1175
#13 0x00007ffff5a0a619 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this at entry=0x7fffffffbd60, property=0x7fffc4041528, binding=binding at entry=0x7fffc41eca6c)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:749
#14 0x00007ffff5a0a864 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this at entry=0x7fffffffbd60, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:701
#15 0x00007ffff5a0b34b in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this at entry=0x7fffffffbd60, index=0, index at entry=7, instance=0x1f018a0, instance at entry=0x1f56520, bindingTarget=0x1f018a0,
bindingTarget at entry=0x1f56520, valueTypeProperty=valueTypeProperty at entry=0x0, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1328
#16 0x00007ffff5a083ef in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x7fffffffbd60, index=<optimized out>, parent=<optimized out>, isContextObject=isContextObject at entry=false) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1175
#17 0x00007ffff5a0a619 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this at entry=0x7fffffffbd60, property=0x7fffc4041528, binding=binding at entry=0x7fffc41ec658)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:749
#18 0x00007ffff5a0a864 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this at entry=0x7fffffffbd60, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:701
#19 0x00007ffff5a0b34b in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this at entry=0x7fffffffbd60, index=-1, index at entry=0, instance=0x0, instance at entry=0x1f018a0, bindingTarget=0x1f43360,
bindingTarget at entry=0x1f018a0, valueTypeProperty=valueTypeProperty at entry=0x0, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1328
#20 0x00007ffff5a083ef in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x7fffffffbd60, index=index at entry=0, parent=parent at entry=0x0, isContextObject=isContextObject at entry=true) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1175
#21 0x00007ffff5a08c2f in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (this=this at entry=0x7fffffffbd60, subComponentIndex=subComponentIndex at entry=-1, parent=parent at entry=0x0, interrupt=interrupt at entry=0x0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:203
#22 0x00007ffff5a0877e in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x1f2edb0, index=2, parent=0x1f2e790, isContextObject=isContextObject at entry=false) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1084
#23 0x00007ffff5a0a619 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this at entry=0x1f2edb0, property=0x7fffc4041528, binding=binding at entry=0x7fffc4187a1c)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:749
#24 0x00007ffff5a0a864 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this at entry=0x1f2edb0, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:701
#25 0x00007ffff5a0b34b in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this at entry=0x1f2edb0, index=-1, index at entry=0, instance=0x0, instance at entry=0x1f2e790, bindingTarget=0x7ffff7020d90 <QArrayData::shared_null+16>,
bindingTarget at entry=0x1f2e790, valueTypeProperty=valueTypeProperty at entry=0x0, bindingsToSkip=...)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1328
#26 0x00007ffff5a083ef in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this at entry=0x1f2edb0, index=index at entry=0, parent=parent at entry=0x0, isContextObject=isContextObject at entry=true) at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1175
#27 0x00007ffff5a08c2f in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (this=this at entry=0x1f2edb0, subComponentIndex=<optimized out>, parent=parent at entry=0x0, interrupt=interrupt at entry=0x0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:203
#28 0x00007ffff5987ed2 in QQmlComponentPrivate::beginCreate(QQmlContextData*) (this=0x1f3eea0, context=0x1f1dc50)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:876
#29 0x00007ffff5988300 in QQmlComponent::create(QQmlContext*) (publicContext=0x1f1db90, this=0x1f3e6b0)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:825
#30 0x00007ffff5988300 in QQmlComponent::create(QQmlContext*) (this=0x1f3e6b0, context=0x1f1db90)
at /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:785
#31 0x00007fffdd222384 in QQuickWidget::continueExecute() () at /home/tjmaciei/obj/qt/qt5-release/qtbase/lib/libQt5QuickWidgets.t.so.5
#32 0x00007fffdd222a0d in QQuickWidgetPrivate::execute() () at /home/tjmaciei/obj/qt/qt5-release/qtbase/lib/libQt5QuickWidgets.t.so.5
#33 0x00007fffd7acf1e5 in Welcome::Internal::WelcomeMode::initPlugins() ()
at /home/tjmaciei/obj/qt/qt-creator/lib/qtcreator/plugins/libWelcome.so
#34 0x00007fffd7acf3ed in Welcome::Internal::WelcomePlugin::extensionsInitialized() ()
at /home/tjmaciei/obj/qt/qt-creator/lib/qtcreator/plugins/libWelcome.so
#35 0x00007ffff7bba5a2 in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions() ()
at /home/tjmaciei/obj/qt/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.4
#36 0x00007ffff7bb0cf1 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () at /home/tjmaciei/obj/qt/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.4
#37 0x00007ffff7bb27d4 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() ()
at /home/tjmaciei/obj/qt/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.4
#38 0x0000000000409b9f in main ()
More information about the Development
mailing list