Description
In current NUC image (build #518 on Teamcity), neptune3-ui crashes with two connected displays. With only one display it still works.
How to reproduce:
- Download and flash the image: https://84.47.189.90/repository/download/QtAutomotive_Documentation_SdkAndImages_IntelNucSdkAndImage/63134:id/core-image-pelux-qtas-demo-intel-corei7-64.wic
- Boot the nuc and wait. See neptune3-ui starting and then crashing.
- Login with username "root"
- run journalctl to see the log.
Crash log:
Nov 16 16:14:50 localhost neptune3-ui[562]: [WARN | default] Possible conflicting items:
Nov 16 16:14:50 localhost neptune3-ui[562]: [WARN | default] QQuickListView.TransformOrigin.Center from scope QQuickItem injected by QQuickListView
Nov 16 16:14:50 localhost neptune3-ui[562]: [WARN | default] QQuickListView.PositionMode.Center from scope QQuickItemView injected by QQuickListView
Nov 16 16:14:50 localhost neptune3-ui[562]: [WARN | am.qml] QML IndicatorTray: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [StatusBar.qml:51]
Nov 16 16:14:51 localhost neptune3-ui[562]: [DBG | am.graphics] WindowManager: running in Wayland mode [socket: "wayland-0"] [windowmanager.cpp:565]
Nov 16 16:14:51 localhost neptune3-ui[562]: [FATL | default] EGLFS: OpenGL windows cannot be mixed with others.
Nov 16 16:14:51 localhost neptune3-ui[562]: *** process /opt/neptune3/neptune3-ui (562) crashed ***
Nov 16 16:14:51 localhost neptune3-ui[562]: > why: uncaught signal 6 (Aborted)
Nov 16 16:14:51 localhost neptune3-ui[562]: > where: main thread, TID: 562, pthread ID: 0x7ffba4795dc0
Nov 16 16:14:51 localhost neptune3-ui[562]: > backtrace:
Nov 16 16:14:51 localhost neptune3-ui[562]: 1: /opt/neptune3/neptune3-ui() [0x545e21]
Nov 16 16:14:51 localhost neptune3-ui[562]: 2: /opt/neptune3/neptune3-ui() [0x545f64]
Nov 16 16:14:51 localhost neptune3-ui[562]: 3: /opt/neptune3/neptune3-ui() [0x544ab0]
Nov 16 16:14:51 localhost neptune3-ui[562]: 4: /lib/libpthread.so.0(+0x119d0) [0x7ffba11159d0]
Nov 16 16:14:51 localhost neptune3-ui[562]: 5: gsignal [+0xcf]
Nov 16 16:14:51 localhost neptune3-ui[562]: 6: abort [+0x16a]
Nov 16 16:14:51 localhost neptune3-ui[562]: 7: qErrnoWarning(char const*, ...) [+0]
Nov 16 16:14:51 localhost neptune3-ui[562]: 8: QEglFSWindow::create() [+0x24e]
Nov 16 16:14:51 localhost neptune3-ui[562]: 9: QEglFSIntegration::createPlatformWindow(QWindow*) const [+0x32]
Nov 16 16:14:51 localhost neptune3-ui[562]: 10: QWindowPrivate::create(bool, unsigned long long) [+0x21e]
Nov 16 16:14:51 localhost neptune3-ui[562]: 11: QWindowPrivate::setVisible(bool) [+0xee]
Nov 16 16:14:51 localhost neptune3-ui[562]: 12: QQuickWindowQmlImpl::qt_metacall(QMetaObject::Call, int, void**) [+0xbb]
Nov 16 16:14:51 localhost neptune3-ui[562]: 13: QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) [+0x32d]
Nov 16 16:14:51 localhost neptune3-ui[562]: 14: /usr/lib/libQt5Qml.so.5(+0x261f19) [0x7ffba2968f19]
Nov 16 16:14:51 localhost neptune3-ui[562]: 15: QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) [+0x218]
Nov 16 16:14:51 localhost neptune3-ui[562]: 16: QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) [+0x43a]
Nov 16 16:14:51 localhost neptune3-ui[562]: 17: /usr/lib/libQt5Qml.so.5(+0x1c7a36) [0x7ffba28cea36]
Nov 16 16:14:51 localhost neptune3-ui[562]: 18: /usr/lib/libQt5Qml.so.5(+0x1cb889) [0x7ffba28d2889]
Nov 16 16:14:51 localhost neptune3-ui[562]: 19: QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) [+0x167]
Nov 16 16:14:51 localhost neptune3-ui[562]: 20: QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) [+0x257]
Nov 16 16:14:51 localhost neptune3-ui[562]: 21: QQmlBoundSignalExpression::evaluate(void**) [+0x32d]
Nov 16 16:14:51 localhost neptune3-ui[562]: 22: /usr/lib/libQt5Qml.so.5(+0x26df2b) [0x7ffba2974f2b]
Nov 16 16:14:51 localhost neptune3-ui[562]: 23: QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) [+0x214]
Nov 16 16:14:51 localhost neptune3-ui[562]: 24: QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) [+0x354]
Nov 16 16:14:51 localhost neptune3-ui[562]: 25: QMetaObject::activate(QObject*, int, int, void**) [+0xc5a]
Nov 16 16:14:51 localhost neptune3-ui[562]: 26: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) [+0x6d8]
Nov 16 16:14:51 localhost neptune3-ui[562]: 27: /usr/lib/libQt5Qml.so.5(+0x26818a) [0x7ffba296f18a]
Nov 16 16:14:51 localhost neptune3-ui[562]: 28: QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) [+0x206]
Nov 16 16:14:51 localhost neptune3-ui[562]: 29: QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) [+0x169]
Nov 16 16:14:51 localhost neptune3-ui[562]: 30: /usr/lib/libQt5Quick.so.5(+0x29896f) [0x7ffba3cc296f]
Nov 16 16:14:51 localhost neptune3-ui[562]: 31: /usr/lib/libQt5Quick.so.5(+0x298ae8) [0x7ffba3cc2ae8]
Nov 16 16:14:51 localhost neptune3-ui[562]: 32: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) [+0x4de]
Nov 16 16:14:51 localhost neptune3-ui[562]: 33: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) [+0x57]
Nov 16 16:14:51 localhost neptune3-ui[562]: 34: QQmlComponentPrivate::completeCreate() [+0x42]
Nov 16 16:14:51 localhost neptune3-ui[562]: 35: QQmlComponent::create(QQmlContext*) [+0xfa]
Nov 16 16:14:51 localhost neptune3-ui[562]: 36: QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) [+0x23b]
Nov 16 16:14:51 localhost neptune3-ui[562]: 37: QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) [+0x10e]
Nov 16 16:14:51 localhost neptune3-ui[562]: 38: QQmlApplicationEngine::load(QUrl const&) [+0x1d]
Nov 16 16:14:51 localhost neptune3-ui[562]: 39: /opt/neptune3/neptune3-ui() [0x42b3ac]
Nov 16 16:14:51 localhost neptune3-ui[562]: 40: /opt/neptune3/neptune3-ui() [0x4284bf]
Nov 16 16:14:51 localhost neptune3-ui[562]: 41: __libc_start_main [+0xf1]
Nov 16 16:14:51 localhost neptune3-ui[562]: 42: /opt/neptune3/neptune3-ui() [0x4297ca]
Nov 16 16:14:51 localhost neptune3-ui[562]: > qml stack:
Nov 16 16:14:51 localhost neptune3-ui[562]: 0: onCompleted in file:///opt/neptune3/sysui/hud/HUDWindow.qml:0
Nov 16 16:14:51 localhost neptune3-ui[562]: > the process will be aborted (core dumped)
After commenting out line 54 in /opt/neptune3/sysui/hud/HUDWindow.qml system starts okay again.