Bug 478663 - kdenlive always crashes at startup with one profile
Summary: kdenlive always crashes at startup with one profile
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (other bugs)
Version First Reported In: 23.08.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-17 20:08 UTC by Christophe PEREZ
Modified: 2024-10-01 19:31 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2023-12-17 20:08:23 UTC
Crashes at every launch on my personal profile.
Doesn't crash on a fresh profile, but  I don't want to reset my profile at all.
Already tried to remove all kdenlive config files, unsuccessfully.
Compared kdenlive config between both profiles, unsuccessfully.
I've had this bug for over a year, maybe 2, or more. Every time I hope the new version will fix it, but that's never the case.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Gentoo X11 OpenRC 
Operating System: Linux 6.1.57-gentoo x86_64
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 Christophe PEREZ 2023-12-17 20:09:41 UTC
-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f93be4ca7b6 in QOpenGLContext::functions() const () at /usr/lib64/libQt5Gui.so.5
#5  0x0000561e1904546e in  ()
#6  0x00007f93bde374e1 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f93bf7bf193 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f93bf84dc77 in QQuickRenderControl::render() () at /usr/lib64/libQt5Quick.so.5
#9  0x00007f93bfac9476 in  () at /usr/lib64/libQt5QuickWidgets.so.5
#10 0x00007f93bfacd4a9 in QQuickWidget::event(QEvent*) () at /usr/lib64/libQt5QuickWidgets.so.5
#11 0x00007f93bf00fe7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f93bde05728 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f93bf06a626 in  () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f93bf06a656 in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f93bf06a656 in  () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f93bf06a656 in  () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f93bf06a656 in  () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f93bf06a71e in  () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f93bde375f0 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007f93be48ed1f in QWindow::screenChanged(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#21 0x00007f93be48f6d3 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#22 0x00007f93bf0442e5 in QWidgetPrivate::create() () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f93bf04463b in QWidget::create(unsigned long long, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f93bf0469bb in QWidget::winId() const () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f93c05921c1 in  () at /usr/lib64/libKF5XmlGui.so.5
#26 0x00007f93c05963a1 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#27 0x00007f93c05d89f7 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#28 0x00007f93bf00fe7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f93bde05728 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f93bf04ddf2 in QWidget::ensurePolished() const () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f93bf02f540 in QLayout::totalMinimumSize() const () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007f93bf03094e in QLayout::activate() () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f93bf16e845 in  () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007f93bf1365e1 in  () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f93bf13f146 in  () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f93bf142ca2 in  () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007f93bf16c605 in  () at /usr/lib64/libQt5Widgets.so.5
#38 0x0000561e19300590 in  ()
#39 0x0000561e192c4d51 in  ()
#40 0x0000561e18d0f172 in  ()
#41 0x00007f93bd6939ca in  () at /lib64/libc.so.6
#42 0x00007f93bd693a85 in __libc_start_main () at /lib64/libc.so.6
#43 0x0000561e18d10b41 in  ()
[Inferior 1 (process 14227) detached]
Comment 2 Andreas Sturmlechner 2023-12-19 11:41:43 UTC
Please add debug symbols to that backtrace. https://wiki.gentoo.org/wiki/Debugging#Installing_debugging_information_for_packages
Comment 3 Christophe PEREZ 2023-12-22 21:15:27 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Please add debug symbols to that backtrace.
> https://wiki.gentoo.org/wiki/
> Debugging#Installing_debugging_information_for_packages

I know absolutely nothing about debugging, and I admit that it doesn't interest me that much.
Despite everything, I recompiled kdenlive with the instructions given, but for the rest, you have to tell me what you need.

$ gdb kdenlive
GNU gdb (Gentoo 13.2 vanilla) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kdenlive...
Reading symbols from /usr/lib/debug//usr/bin/kdenlive.debug...
(gdb) run
Starting program: /usr/bin/kdenlive 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff078a6c0 (LWP 30598)]
[New Thread 0x7fffeff896c0 (LWP 30599)]
Could not detect package type, probably default? App dir is "/usr/bin"
kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
profilePath from appDir/../share:  "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  ""
meltPath from profilePath/../../../bin:  "/usr/bin/melt-7"
[New Thread 0x7fffda4436c0 (LWP 30608)]
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.bigsh0t_eq_mask"
plugin not available: "frei0r.bigsh0t_eq_to_rect"
plugin not available: "frei0r.bigsh0t_eq_to_stereo"
plugin not available: "frei0r.bigsh0t_hemi_to_eq"
plugin not available: "frei0r.bigsh0t_rect_to_eq"
plugin not available: "frei0r.bigsh0t_stabilize_360"
plugin not available: "frei0r.bigsh0t_transform_360"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa.9354877"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "timewarp"
plugin not available: "opencv.tracker"
plugin not available: "vidstab"
plugin not available: "frei0r.sleid0r_push-down"
plugin not available: "frei0r.sleid0r_push-left"
plugin not available: "frei0r.sleid0r_push-right"
plugin not available: "frei0r.sleid0r_push-up"
plugin not available: "frei0r.sleid0r_slide-down"
plugin not available: "frei0r.sleid0r_slide-left"
plugin not available: "frei0r.sleid0r_slide-up"
plugin not available: "frei0r.sleid0r_slide-right"
plugin not available: "frei0r.sleid0r_wipe-barn-door-h"
plugin not available: "frei0r.sleid0r_wipe-barn-door-v"
plugin not available: "frei0r.sleid0r_wipe-circle"
plugin not available: "frei0r.sleid0r_wipe-down"
plugin not available: "frei0r.sleid0r_wipe-left"
plugin not available: "frei0r.sleid0r_wipe-rect"
plugin not available: "frei0r.sleid0r_wipe-right"
plugin not available: "frei0r.sleid0r_wipe-up"
plugin not available: "region"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
[New Thread 0x7fffd98ed6c0 (LWP 30619)]
[New Thread 0x7fffd3e1e6c0 (LWP 30620)]
QQmlEngine::setContextForObject(): Object already has a QQmlContext
[New Thread 0x7fffd2bc76c0 (LWP 30621)]
[New Thread 0x7fffd23b66c0 (LWP 30622)]
QQmlEngine::setContextForObject(): Object already has a QQmlContext
[New Thread 0x7fffd0eb36c0 (LWP 30623)]
[New Thread 0x7fffbffff6c0 (LWP 30624)]
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
[New Thread 0x7fffbf1fc6c0 (LWP 30625)]

Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x00007ffff5b7a7b6 in QOpenGLContext::functions() const () from /usr/lib64/libQt5Gui.so.5
(gdb)
Comment 4 Christophe PEREZ 2023-12-22 21:17:48 UTC
Application: Kdenlive (kdenlive), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fada22ed7b6 in QOpenGLContext::functions() const () at /usr/lib64/libQt5Gui.so.5
#5  0x00005621b97af46e in GLWidget::paintGL() (this=0x5621bd8af280) at /var/tmp/portage/kde-apps/kdenlive-23.08.3/work/kdenlive-23.08.3/src/monitor/glwidget.cpp:587
#6  0x00007fada1c5a4e1 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fada35e2193 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007fada3670c77 in QQuickRenderControl::render() () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fada38ec476 in  () at /usr/lib64/libQt5QuickWidgets.so.5
#10 0x00007fada38f04a9 in QQuickWidget::event(QEvent*) () at /usr/lib64/libQt5QuickWidgets.so.5
#11 0x00007fada2e32e7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007fada1c28728 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007fada2e8d626 in  () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007fada2e8d656 in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007fada2e8d656 in  () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007fada2e8d656 in  () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007fada2e8d656 in  () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fada2e8d71e in  () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007fada1c5a5f0 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007fada22b1d1f in QWindow::screenChanged(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#21 0x00007fada22b26d3 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#22 0x00007fada2e672e5 in QWidgetPrivate::create() () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007fada2e6763b in QWidget::create(unsigned long long, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fada2e699bb in QWidget::winId() const () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fada43b51c1 in  () at /usr/lib64/libKF5XmlGui.so.5
#26 0x00007fada43b93a1 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#27 0x00007fada43fb9f7 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#28 0x00007fada2e32e7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007fada1c28728 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fada2e70df2 in QWidget::ensurePolished() const () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007fada2e52540 in QLayout::totalMinimumSize() const () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007fada2e5394e in QLayout::activate() () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007fada2f91845 in  () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007fada2f595e1 in  () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007fada2f62146 in  () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007fada2f65ca2 in  () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007fada2f8f605 in  () at /usr/lib64/libQt5Widgets.so.5
#38 0x00005621b9a6a590 in MainWindow::init(QString const&) (this=<optimized out>, mltPath=...) at /var/tmp/portage/kde-apps/kdenlive-23.08.3/work/kdenlive-23.08.3/src/mainwindow.cpp:499
#39 0x00005621b9a2ed51 in Core::initGUI(bool, QString const&, QUrl const&, QString const&) (this=this@entry=0x5621bb8863a0, inSandbox=inSandbox@entry=false, MltPath=..., Url=..., clipsToLoad=...) at /var/tmp/portage/kde-apps/kdenlive-23.08.3/work/kdenlive-23.08.3/src/core.cpp:180
#40 0x00005621b9479172 in main(int, char**) (argc=<optimized out>, argv=0x7ffc103d0648) at /var/tmp/portage/kde-apps/kdenlive-23.08.3/work/kdenlive-23.08.3/src/main.cpp:351
[Inferior 1 (process 5373) detached]
Comment 5 diekuhrannte@web.de 2024-02-18 18:15:09 UTC
Hello Christophe PEREZ,
can you please report whether the problem still exists? Or can we close the bug report?
Comment 6 Christophe PEREZ 2024-02-18 19:48:03 UTC
Not solved at the moment with:
Linux 6.6.13-gentoo
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12-r2
kdenlive: 23.08.4
Comment 7 David 2024-04-14 05:27:33 UTC
Just tried the 24.02.1-x86_amd64 appimage here. On Debian Bookworm under the XFCE desktop. Other KDE apps work fine under XFCE, for comparison.

Kdenlive just hangs. It displays the title/logo screen, the rest of the Kdenlive window is drawn behind it, then it hangs. The title/logo screen never goes away and the window behind it never responds to anything.

If I close the window, it will eventually terminate. Trying again gives me the message that Kdenlive crashed the last time it was run and offers me an option to reset the config files. I do that, but it still hangs.

I get this when started from the commandline:
Loaded icon theme: "breeze"
Loaded icon theme: "breeze-dark"
kf.notifications: Failed to play sound with canberra: No such driver
 = = = =
GOT Deleted file:  "/home/david/.config/kdenlive-appimagerc"
QPaintDevice: Cannot destroy paint device that is being painted

And the same hang.

I don't think this issue is fixed.
Comment 8 David 2024-04-14 05:29:02 UTC
Addition: When it hangs, using SIGTERM will not kill it. Only SIGKILL works.
Comment 9 TraceyC 2024-08-23 20:00:21 UTC
Another user had an identical backtrace in Bug 475173

**Their system info**

Application: kdenlive (23.08.3)
 (Compiled from sources)
Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.1.67-gentoo x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.10 [KCrashBackend]
Comment 10 farid 2024-09-14 14:18:40 UTC
Hey folks, just so you know, we are dropping Qt5 support soon.
Comment 11 Christophe PEREZ 2024-10-01 19:31:10 UTC
Solved with Plasma 6 migration and kdenlive 24.05.2