Segmentation fault when starting kdenlive
After a break of a few months Kdenlive doesn't start today, first time that happens and I've been using it for years ! First time I'm reporting an issue here, so I do hope I am including the right information and not wasting your time..
I'm running Arch Linux, versions are kdenlive 22.12.3-1, qt5 5.15.8+kde+r182-1, mlt 7.14.0-2
Since melt was recently updated, at first I thought that was the likely culprit, but I can run melt to view clips without problems. And the backtrace points to some trouble with Qt5 ?
the backtrace gives this:
[New Thread 0x7fffa4ee16c0 (LWP 7313)]
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
[New Thread 0x7fff8bbff6c0 (LWP 7314)]
Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
containerWidget (w=0x0) at styles/qstylesheetstyle.cpp:2467
Downloading source file /usr/src/debug/qt5-base/qtbase/src/widgets/styles/qstylesheetstyle.cpp
2467 if (const QAbstractScrollArea *sa = qobject_cast<const QAbstractScrollArea *>(w->parentWidget())) {
(gdb) bt
#0 containerWidget(QWidget const*) (w=0x0) at styles/qstylesheetstyle.cpp:2467
#1 0x00007ffff661cd7e in QStyleSheetStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (this=0x555555f4d730, pe=QStyle::PE_PanelLineEdit, opt=0x555558eaf7d0, p=0x7fffffffd8c0, w=0x0)
at styles/qstylesheetstyle.cpp:4452
#2 0x00007fffbe92b2e8 in KQuickStyleItem::paint(QPainter*) (painter=0x7fffffffd8c0, this=0x555558eae380)
at /usr/src/debug/qqc2-desktop-style/qqc2-desktop-style-5.103.0/plugin/kquickstyleitem.cpp:1698
#3 KQuickStyleItem::updatePolish() (this=0x555558eae380)
at /usr/src/debug/qqc2-desktop-style/qqc2-desktop-style-5.103.0/plugin/kquickstyleitem.cpp:1959
#4 0x00007ffff704746a in QQuickWindowPrivate::polishItems() (this=0x55555890d0c0)
at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:393
#5 0x00007ffff70d92e4 in QQuickRenderControl::polishItems() (this=<optimized out>)
at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickrendercontrol.cpp:277
#6 0x00007ffff7356f48 in QQuickWidgetPrivate::render(bool) (this=0x555558863d80, needsSync=<optimized out>)
at /usr/src/debug/qt5-declarative/qtdeclarative/src/quickwidgets/qquickwidget.cpp:316
#7 0x00007ffff65af4d4 in QWidget::event(QEvent*) (this=0x555558b3dd60, event=0x7fffffffdcd0) at kernel/qwidget.cpp:8835
#8 0x00007ffff6578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x555558b3dd60, e=0x7fffffffdcd0) at kernel/qapplication.cpp:3640
#9 0x00007ffff528df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555558b3dd60, event=0x7fffffffdcd0)
at kernel/qcoreapplication.cpp:1064
#10 0x00007ffff528dfb3 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>)
at kernel/qcoreapplication.cpp:1462
#11 0x00007ffff65aa203 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool)
(this=this@entry=0x555558863d80, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false)
at kernel/qwidget.cpp:7737
#12 0x00007ffff65ae208 in QWidgetPrivate::show_helper() (this=0x555558863d80) at kernel/qwidget.cpp:7788
#13 0x00007ffff65ae4f3 in QWidgetPrivate::show_recursive() (this=<optimized out>) at kernel/qwidget.cpp:7718
#14 0x00007ffff65ae67a in QWidgetPrivate::showChildren(bool)
(this=this@entry=0x555558d66160, spontaneous=spontaneous@entry=false)
at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:132
#15 0x00007ffff65ae226 in QWidgetPrivate::show_helper() (this=0x555558d66160) at kernel/qwidget.cpp:7794
#16 0x00007ffff65ae4f3 in QWidgetPrivate::show_recursive() (this=<optimized out>) at kernel/qwidget.cpp:7718
#17 0x00007ffff65ae67a in QWidgetPrivate::showChildren(bool)
(this=this@entry=0x555555de3330, spontaneous=spontaneous@entry=false)
at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:132
#18 0x00007ffff65ae226 in QWidgetPrivate::show_helper() (this=this@entry=0x555555de3330) at kernel/qwidget.cpp:7794
#19 0x00007ffff65ae85d in QWidgetPrivate::setVisible(bool) (this=0x555555de3330, visible=<optimized out>)
at kernel/qwidget.cpp:8137
#20 0x0000555555a676e6 in Core::initGUI(bool, QString const&, QUrl const&, QString const&)
(this=0x555555ed4090, inSandbox=<optimized out>, MltPath=..., Url=..., clipsToLoad=...)
at /usr/src/debug/kdenlive/kdenlive-22.12.3/src/core.cpp:228
#21 0x0000555555618b56 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffe498)
at /usr/src/debug/kdenlive/kdenlive-22.12.3/src/main.cpp:345
Edited by nourathar