station crashes at startup
name: Bug report
about: Create a report to help us improve
Describe the bug
I'm trying to package maui apps on Arch Linux, but station is crashing immediately on startup. From the backtrace it looks like there is some conflict between qmltermwidget and kcoreaddons APIs (they both implement KProcess::clearProgram) and it's using the wrong one, but I don't know if that's what is causing the crash.
station/mauikit 1.2.0 kcoreaddons 5.76.0 qmltermwidget 0.2.0
(gdb) bt
#0 QString::~QString (this=0x7fffffffb970, __in_chrg=<optimized out>) at /usr/include/c++/10.2.0/bits/atomic_base.h:333
#1 0x00007ffff7a707ae in QString::clear (this=0x55555610fc20) at /usr/include/qt/QtCore/qstring.h:275
#2 KProcess::clearProgram (this=<optimized out>) at /usr/src/debug/kcoreaddons-5.76.0/src/lib/io/kprocess.cpp:161
#3 0x00007fffd2b443bc in Konsole::Pty::start (this=0x555556109e60, program=..., programArguments=..., environment=..., winid=0, addToUtmp=false)
at lib/Pty.cpp:165
#4 0x00007fffd2b4d613 in Konsole::Session::run (this=0x555556109800) at lib/Session.cpp:310
#5 0x00007fffd2b70ef8 in KSession::startShellProgram (this=0x555556109f40) at src/ksession.cpp:131
#6 0x00007fffd2b78df0 in KSession::qt_static_metacall (_o=0x555556109f40, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffffffbe60)
at moc_ksession.cpp:242
#7 0x00007fffd2b79b27 in KSession::qt_metacall (this=0x555556109f40, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffffffbe60)
at moc_ksession.cpp:412
#8 0x00007ffff7dc956e in ?? () from /usr/lib/libQt5Qml.so.5
#9 0x00007ffff7cae947 in ?? () from /usr/lib/libQt5Qml.so.5
#10 0x00007ffff7cb0f3a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /usr/lib/libQt5Qml.so.5
#11 0x00007ffff7cccb37 in ?? () from /usr/lib/libQt5Qml.so.5
#12 0x00007ffff7ccf68f in ?? () from /usr/lib/libQt5Qml.so.5
#13 0x00007ffff7c69d2e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /usr/lib/libQt5Qml.so.5
#14 0x00007ffff7de5916 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /usr/lib/libQt5Qml.so.5
#15 0x00007ffff7d9862d in QQmlBoundSignalExpression::evaluate(void**) () from /usr/lib/libQt5Qml.so.5
#16 0x00007ffff7d98b11 in ?? () from /usr/lib/libQt5Qml.so.5
#17 0x00007ffff7dc900d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib/libQt5Qml.so.5
#18 0x00007ffff6a6b955 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff7df97eb in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /usr/lib/libQt5Qml.so.5
#20 0x00007ffff7d8c60d in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /usr/lib/libQt5Qml.so.5
#21 0x00007ffff7d8e930 in QQmlComponentPrivate::completeCreate() () from /usr/lib/libQt5Qml.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x00007ffff7d8eae1 in QQmlComponent::create(QQmlContext*) () from /usr/lib/libQt5Qml.so.5
#23 0x00007ffff7defdb7 in QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) () from /usr/lib/libQt5Qml.so.5
#24 0x00007ffff7df0332 in QQmlApplicationEngine::load(QUrl const&) () from /usr/lib/libQt5Qml.so.5
#25 0x000055555555abe6 in main ()
(