<div dir="ltr">I've been teaching myself QML/QtQuick using the examples at <a href="https://github.com/baoboa/pyqt5/tree/master/examples/quick/tutorials/extending">https://github.com/baoboa/pyqt5/tree/master/examples/quick/tutorials/extending</a> which are based on the C++ tutorials.  Everything works up until <a href="https://github.com/baoboa/pyqt5/tree/master/examples/quick/tutorials/extending/chapter5-listproperties">chapter 5</a>, where I get a segmentation fault.  I'm running Python3 on Linux Mint 18 with PyQt5 5.7 (built from source to get the latest).  Does this example work on anyone else's system with version 5.7?  The backtrace follows:<div><br></div><div><div>(gdb) run chapter5-listproperties.py </div><div>Starting program: /usr/bin/python3 chapter5-listproperties.py<br></div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".</div><div>[New Thread 0x7fffe7d71700 (LWP 10178)]</div><div>[New Thread 0x7fffe6ac9700 (LWP 10179)]</div><div><br></div><div>Thread 1 "python3" received signal SIGSEGV, Segmentation fault.</div><div>QVariant::clear (this=this@entry=0xa7eabb6e3d078e00) at kernel/qvariant.cpp:1931</div><div>1931<span class="Apple-tab-span" style="white-space:pre">     </span>kernel/qvariant.cpp: No such file or directory.</div><div>(gdb) backtrace</div><div>#0  QVariant::clear (this=this@entry=0xa7eabb6e3d078e00) at kernel/qvariant.cpp:1931</div><div>#1  0x00007ffff1390c48 in QVariant::operator= (this=0xa7eabb6e3d078e00, variant=...) at kernel/qvariant.cpp:1866</div><div>#2  0x00007ffff17884d5 in Chimera::fromPyObject(_object*, QVariant*, bool) const () from /usr/lib/python3/dist-packages/PyQt5/QtCore.so</div><div>#3  0x00007ffff1785509 in qt_metacall_worker(_sipSimpleWrapper*, _typeobject*, _sipTypeDef*, QMetaObject::Call, int, void**) () from /usr/lib/python3/dist-packages/PyQt5/QtCore.so</div><div>#4  0x00007ffff17856e2 in qpycore_qobject_qt_metacall(_sipSimpleWrapper*, _sipTypeDef*, QMetaObject::Call, int, void**) () from /usr/lib/python3/dist-packages/PyQt5/QtCore.so</div><div>#5  0x00007fffec3e54a1 in QQmlObjectCreator::setupBindings (this=this@entry=0xf3dac0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:702</div><div>#6  0x00007fffec3e1a5a in QQmlObjectCreator::populateInstance (this=this@entry=0xf3dac0, index=0, instance=0xf99860, instance@entry=0xf97050, bindingTarget=0xf99860, </div><div>    bindingTarget@entry=0xf97050, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1321</div><div>#7  0x00007fffec3e23ba in QQmlObjectCreator::createInstance (this=this@entry=0xf3dac0, index=1, parent=<optimized out>, isContextObject=isContextObject@entry=false)</div><div>    at qml/qqmlobjectcreator.cpp:1169</div><div>#8  0x00007fffec3e5223 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0xf3dac0, property=0x7fffd8038c98, binding=binding@entry=0x7fffd80442f0) at qml/qqmlobjectcreator.cpp:751</div><div>#9  0x00007fffec3e54b8 in QQmlObjectCreator::setupBindings (this=this@entry=0xf3dac0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:710</div><div>#10 0x00007fffec3e1a5a in QQmlObjectCreator::populateInstance (this=this@entry=0xf3dac0, index=-1, instance=0x0, instance@entry=0xf99860, bindingTarget=0xe55b90, </div><div>    bindingTarget@entry=0xf99860, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1321</div><div>#11 0x00007fffec3e23ba in QQmlObjectCreator::createInstance (this=this@entry=0xf3dac0, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true)</div><div>    at qml/qqmlobjectcreator.cpp:1169</div><div>#12 0x00007fffec3e38cf in QQmlObjectCreator::create (this=this@entry=0xf3dac0, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:209</div><div>#13 0x00007fffec36bb05 in QQmlComponentPrivate::beginCreate (this=0xf9c1f0, context=0xf9b1a0) at qml/qqmlcomponent.cpp:880</div><div>#14 0x00007fffec36978f in QQmlComponent::create (this=0xf9a050, context=0xf9a670) at qml/qqmlcomponent.cpp:789</div><div>#15 0x00007fffeb42816d in QQuickView::continueExecute (this=this@entry=0xd558b0) at items/qquickview.cpp:476</div><div>#16 0x00007fffeb4288ad in QQuickViewPrivate::execute (this=0xe59860) at items/qquickview.cpp:124</div><div>#17 0x00007fffeb64a205 in meth_QQuickView_setSource () from /usr/lib/python3/dist-packages/PyQt5/QtQuick.so</div><div>#18 0x00000000004e172f in PyCFunction_Call ()</div><div>#19 0x000000000051aed4 in PyEval_EvalFrameEx ()</div><div>#20 0x0000000000523de7 in ?? ()</div><div>#21 0x0000000000524b0f in PyEval_EvalCode ()</div><div>#22 0x00000000005fd5f2 in ?? ()</div><div>#23 0x00000000005ffb2a in PyRun_FileExFlags ()</div><div>#24 0x00000000005ffd1c in PyRun_SimpleFileExFlags ()</div><div>#25 0x000000000063f886 in Py_Main ()</div><div>#26 0x00000000004d00e1 in main ()</div></div><div><br></div><div>Thanks,<br></div><div>Louis</div></div>