Application: kdenlive (20.12.0) Qt Version: 5.15.2 Frameworks Version: 5.77.0 Operating System: Linux 5.10.0-4.3-liquorix-amd64 x86_64 Windowing system: X11 Distribution: Debian GNU/Linux bullseye/sid -- Information about the crash: - What I was doing when the application crashed: I clicked on a clip inside the Project Bin. This clip had multiple (2) audio tracks, all of them were disabled via Clip Properties on the previous run of Kdenlive. I did not test this with clips from other sources than recording with OBS studio (default config). This is a link to an example clip triggering this behaviour: https://cloud.stary.pc.pl/index.php/s/CfSsNt5CTaHQk2c I also tested this with the official AppImage (https://download.kde.org/stable/kdenlive/20.12/linux/kdenlive-20.12.0-x86_64.appimage) and it doesn't work either. The crash can be reproduced every time. -- Backtrace: Application: Kdenlive (kdenlive), signal: Segmentation fault [KCrash Handler] #4 0x00007fe884a520f0 in QString::operator=(QString const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x000056169b57f3ed in MonitorProxy::setAudioStream(QString const&) (this=0x56169e0c9400, name=<optimized out>) at ./src/monitor/monitorproxy.cpp:350 #6 0x000056169b56edfa in Monitor::slotOpenClip(std::shared_ptr<ProjectClip> const&, int, int) (this=0x56169d486840, controller=std::shared_ptr<class ProjectClip> (use count 8, weak count 2) = {...}, in=-1, out=-1) at ./src/monitor/monitor.cpp:1529 #7 0x000056169b3c4758 in operator() (out=<optimized out>, in=<optimized out>, clip=std::shared_ptr<class ProjectClip> (use count 8, weak count 2) = {...}, __closure=<optimized out>) at ./src/bin/bin.cpp:1669 #8 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void, Bin::setMonitor(Monitor*)::<lambda(std::shared_ptr<ProjectClip>, int, int)> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146 #9 QtPrivate::Functor<Bin::setMonitor(Monitor*)::<lambda(std::shared_ptr<ProjectClip>, int, int)>, 3>::call<QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256 #10 QtPrivate::QFunctorSlotObject<Bin::setMonitor(Monitor*)::<lambda(std::shared_ptr<ProjectClip>, int, int)>, 3, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443 #11 0x00007fe884be8506 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x000056169b2f6f94 in Bin::openClip(std::shared_ptr<ProjectClip>, int, int) (this=this@entry=0x56169cdc3a80, _t1=std::shared_ptr<class ProjectClip> (use count 8, weak count 2) = {...}, _t2=<optimized out>, _t2@entry=-1, _t3=<optimized out>, _t3@entry=-1) at ./obj-x86_64-linux-gnu/src/kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp:1553 #13 0x000056169b3d17cf in Bin::openProducer(std::shared_ptr<ProjectClip>) (controller=Python Exception <class 'gdb.error'> value has been optimized out: , this=0x56169cdc3a80) at ./src/bin/bin.cpp:2665 #14 Bin::setCurrent(std::shared_ptr<AbstractProjectItem> const&) (this=0x56169cdc3a80, item=<optimized out>) at ./src/bin/bin.cpp:4091 #15 0x000056169b3da01a in Bin::selectProxyModel(QModelIndex const&) (this=0x56169cdc3a80, id=<optimized out>) at ./src/bin/bin.cpp:1942 #16 0x00007fe884be8506 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x000056169b2f77f2 in ProjectSortProxyModel::selectModel(QModelIndex const&) (this=this@entry=0x56169f577640, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/kdenliveLib_autogen/NNRPYQ7WAA/moc_projectsortproxymodel.cpp:203 #18 0x000056169b43be19 in ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&) (this=0x56169f577640, current=<optimized out>, previous=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:117 #19 0x00007fe884be8506 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007fe884b5ce60 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007fe884b65a2e in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007fe885f6f664 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007fe885f6fd6e in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007fe885effe89 in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x000056169b3dc181 in MyTreeView::mousePressEvent(QMouseEvent*) (this=0x5616a0eeca50, event=0x7ffe47d7b1b0) at ./src/bin/bin.cpp:588 #26 0x00007fe885ce5f9e in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007fe885d8e41e in QFrame::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007fe884bb1c93 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x00007fe885ca614e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007fe885cad04b in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #31 0x00007fe884bb1f2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #32 0x00007fe885cac076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #33 0x00007fe885cfe001 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #34 0x00007fe885d0132e in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #35 0x00007fe885ca615f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #36 0x00007fe884bb1f2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007fe8855be553 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5 #38 0x00007fe88559464c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5 #39 0x00007fe88011a7da in () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #40 0x00007fe8830f6d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007fe8830f6fe8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007fe8830f709f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #43 0x00007fe884c0947f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007fe884bb08eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x00007fe884bb8b60 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5 #46 0x000056169b2e70ad in main(int, char**) (argc=<optimized out>, argv=0x7ffe47d7b8a8) at ./src/main.cpp:263 [Inferior 1 (process 85552) detached]
I tested with your clip and disabled both audio tracks. Click on the clip in the project bin afterwards: No crash. Please try with the current Kdenlive AppImage version 20.21.1 to see if there are any packaging issues https://download.kde.org/stable/kdenlive/20.12/linux/ If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.
(In reply to emohr from comment #1) > I tested with your clip and disabled both audio tracks. Click on the clip in > the project bin afterwards: No crash. > > Please try with the current Kdenlive AppImage version 20.21.1 to see if > there are any packaging issues > https://download.kde.org/stable/kdenlive/20.12/linux/ > > If the problem/issue doesn't occur when using the AppImage, then it's your > configuration or packaging. I mentioned that I checked with the official AppImage: > I also tested this with the official AppImage (https://download.kde.org/stable/kdenlive/20.12/linux/kdenlive-20.12.0-x86_64.appimage) and it doesn't work either. Otherwise I would have reported it to Debian. You need to save the project and restart Kdenlive, then open it and click on the clip. I mentioned that too (maybe not explicitly, sorry): > [...] on the previous run of Kdenlive.
However, it seems that it is resolved in the next version (20.12.1), both in Debian and officially (I just checked). The bug was kind of obvious to notice, so no surprise here.
Thank you for the feedback and contribution. Glad to hear it works with 20.12.1.