Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2242641

Summary: kdenlive crashes everytime on launch
Product: [Fedora] Fedora Reporter: Łukasz Posadowski <mail>
Component: qadwaitadecorationsAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: awilliam, jgrulich, kde-sig, lruzicka, ngompa13, rdieter, sergio, thunderbirdtr
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: qadwaitadecorations-0.1.2-5.fc39 qadwaitadecorations-0.1.2-5.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-17 06:35:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2143447    

Description Łukasz Posadowski 2023-10-07 15:32:05 UTC
Hi.

Kdenlive kdenlive-23.08.1-1.fc39.x86_64 crashes every time on launch. It was fine after upgrade to Fedora 39 for awhile, but not anymore.

I rebuilded kdenlive source package locally and it is working fine. I think it's only needs rebuilding for some reason.

thanks

Reproducible: Always

Steps to Reproduce:
1. Launch kdenlive
2. it crashes
3.
Actual Results:  
$ kdenlive
QSocketNotifier: Can only be used with threads started with QThread
profilePath from appDir/../share:  "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  ""
meltPath from profilePath/../../../bin:  "/usr/bin/melt-7"
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
unsupported effect in group "frei0r.alpha0ps" : "/usr/share/kdenlive/effect-templates/secondary_color_correction.xml"

(kdenlive:15895): Gtk-WARNING **: 16:51:22.460: Theme parsing error: <data>:1:0: Expected a valid selector
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.freedesktop.Xwayland.desktop"
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QWidget::setMinimumSize: (effect_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (transition_list/QDockWidget) Negative sizes (0,-1) are not possible
Segmentation fault (core dumped)

Comment 1 Sergio Basto 2023-10-12 12:13:56 UTC
whta MLT version do you use ? and wayland or xorg ?

Comment 2 Łukasz Posadowski 2023-10-12 13:34:43 UTC
I am on Gnome, Wayland and Nouveau:
libwayland-client-1.22.0-2.fc39.x86_64
libwayland-server-1.22.0-2.fc39.x86_64
libwayland-egl-1.22.0-2.fc39.x86_64
libwayland-cursor-1.22.0-2.fc39.x86_64
qt6-qtwayland-6.5.2-3.fc39.x86_64
qt5-qtwayland-5.15.10-4.fc39.x86_64

xorg-x11-drv-nouveau-1.0.17-6.fc39.x86_64

mlt-7.20.0-1.fc39.x86_64
mlt-devel-7.20.0-1.fc39.x86_64

02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX250] (rev a1)

Comment 3 Sergio Basto 2023-10-13 11:17:22 UTC
Ok, I bet is wayland problem , but just in case let's check MLT, can you test kenlive with MLT-7.18.0-2, https://koji.fedoraproject.org/koji/buildinfo?buildID=2270055 ?  i.e before update movit and vid.stab1.1.1-1.fc39 (https://bodhi.fedoraproject.org/updates/FEDORA-2023-285301e27d)

Comment 4 Łukasz Posadowski 2023-10-13 12:09:27 UTC
I can.

$ rpm -qa | grep 'mlt'
mlt-7.18.0-2.fc39.x86_64
mlt-devel-7.18.0-2.fc39.x86_64

$ kdenlive
QSocketNotifier: Can only be used with threads started with QThread
profilePath from KdenliveSetting::mltPath:  "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  ""
meltPath from profilePath/../../../bin:  "/usr/bin/melt-7"
Empty metadata for  "audiochannels"
Empty metadata for  "audioconvert"
Empty metadata for  "audioseam"
Empty metadata for  "imageconvert"
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
unsupported effect in group "frei0r.alpha0ps" : "/usr/share/kdenlive/effect-templates/secondary_color_correction.xml"

(kdenlive:38403): Gtk-WARNING **: 13:49:53.464: Theme parsing error: <data>:1:0: Expected a valid selector
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.freedesktop.Xwayland.desktop"
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QWidget::setMinimumSize: (effect_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (transition_list/QDockWidget) Negative sizes (0,-1) are not possible
Segmentation fault (core dumped)

I went back to my build and it is working fine.
I noticed, that Kdenlive from Flatpak (and also ffmpeg provided by it) is segfaulting, too.

I'll check that Wayland theory tomorrow. Maybe it will run fine on X session.

thank You

Comment 5 Sergio Basto 2023-10-13 12:19:37 UTC
> I went back to my build and it is working fine.

what do you mean ?

Comment 6 Łukasz Posadowski 2023-10-13 12:37:10 UTC
Like I wrote on a bug report, I rebuilded kdenlive source package locally and it is working fine. It is still working fine.

Comment 7 Sergio Basto 2023-10-13 15:45:43 UTC
you rebuild locally with what of MLT package  ?  please try with mlt-7.20.0-1.fc39.x86_64

Comment 8 Łukasz Posadowski 2023-10-13 18:45:14 UTC
(In reply to Sergio Basto from comment #7)
> you rebuild locally with what of MLT package  ?  please try with
> mlt-7.20.0-1.fc39.x86_64

Thanks, You helped me to track the problem. I rebuilded two Kdenlive versions from the Fedora repo, using mlt-7.20.0-1.fc39.x86_64 and its corresponding devel package:
- kdenlive-23.08 is segfaulting everytime on start,
- kdenlive-23.04 is working fine.

Something had to change between 04 and 08, witch my hardware/software configuration does not like. It also totally explains why version 08 from flathub is also crashing. So I will continue with Kdenlive project here - https://bugs.kde.org/show_bug.cgi?id=475578 .

Thank You for helping me.

Comment 9 Łukasz Posadowski 2023-10-15 15:22:49 UTC
I'm having this bug also in Fedora 40 in virtualbox with kdenlive-23.08.2-2.fc40.x86_64 package. It's easy enough to replicate, so if anyone have time to check it, Your welcome.

Comment 10 Fedora Update System 2023-10-15 18:37:51 UTC
FEDORA-2023-69e9a0f475 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-69e9a0f475

Comment 11 Fedora Update System 2023-10-15 18:37:52 UTC
FEDORA-2023-7374f4962d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7374f4962d

Comment 12 Fedora Update System 2023-10-16 01:38:24 UTC
FEDORA-2023-69e9a0f475 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-69e9a0f475`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-69e9a0f475

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-10-16 01:45:01 UTC
FEDORA-2023-7374f4962d has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7374f4962d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7374f4962d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Blocker Bugs Application 2023-10-16 06:15:57 UTC
Proposed as a Freeze Exception for 39-final by Fedora user jgrulich using the blocker tracking app because:

 QAdwaitaDecorations is causing an instant crash for certain applications. This can be easily reproduced with Kdenlive or Marble. 

Update with fix: https://bodhi.fedoraproject.org/updates/FEDORA-2023-69e9a0f475

Comment 15 Lukas Ruzicka 2023-10-16 09:10:33 UTC
I cannot even install Kdenlive to test this. On a fully updated system will updates-testing enabled, I am getting.

[lruzicka@platypus isos]$ sudo dnf5 install kdenlive
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7()(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt-7.so.7()(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_0.8.8)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_0.9.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_0.9.2)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_0.9.4)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_0.9.8)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.10.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.14.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.18.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.22.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.4.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.6.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_6.8.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLTPP_7.0.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLT_7.12.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt++-7.so.7(MLT_7.14.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt-7.so.7(MLT_0.8.8)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires libmlt-7.so.7(MLT_6.22.0)(64bit), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.x86_64 requires mlt(x86-64) >= 7.12.0-4, but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7, but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt-7.so.7, but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_0.8.8), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_0.9.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_0.9.2), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_0.9.4), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_0.9.8), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.10.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.14.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.18.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.22.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.4.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.6.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_6.8.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLTPP_7.0.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLT_7.12.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt++-7.so.7(MLT_7.14.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt-7.so.7(MLT_0.8.8), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires libmlt-7.so.7(MLT_6.22.0), but none of the providers can be installed
  - package kdenlive-23.08.1-1.fc39.i686 requires mlt(x86-32) >= 7.12.0-4, but none of the providers can be installed
  - package mlt-7.18.0-3.fc39.x86_64 requires libopencv_video.so.408()(64bit), but none of the providers can be installed
  - package mlt-7.18.0-3.fc39.i686 requires libopencv_tracking.so.408, but none of the providers can be installed
  - cannot install both opencv-core-4.8.0-1.fc39.x86_64 and opencv-core-4.8.1-1.fc39.x86_64
  - installed package opencv-core-4.8.1-1.fc39.x86_64 obsoletes opencv-core < 4.8.0-2 provided by opencv-core-4.8.0-1.fc39.x86_64
  - package opencv-contrib-4.8.0-1.fc39.i686 requires libClp.so.1, but none of the providers can be installed
  - package opencv-highgui-4.8.1-1.fc39.x86_64 requires opencv-core(x86-64) = 4.8.1-1.fc39, but none of the providers can be installed
  - package coin-or-Clp-1.17.6-13.fc39.i686 requires libCbc.so.3, but none of the providers can be installed
  - problem with installed package 
  - nothing provides libasl.so.3 needed by coin-or-Cbc-2.10.5-13.fc39.i686

Comment 16 Lukas Ruzicka 2023-10-16 09:16:21 UTC
I apologise. I did not have updates-testing enabled after all, after enabling it, I was able to install Kdenlive and the fix.
The application does not crash upon start-up any more.

Comment 17 Łukasz Posadowski 2023-10-16 16:14:45 UTC
I can confirm. Kdenlive works after updating qadwaitadecorations to:
qadwaitadecorations-qt6-0.1.2-5.fc39.x86_64
qadwaitadecorations-qt5-0.1.2-5.fc39.x86_64

Thank You.

Comment 18 Adam Williamson 2023-10-17 01:09:06 UTC
Discussed at 2023-10-16 FE review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2023-10-16/f39-blocker-review.2023-10-16-16.00.html . Accepted as an FE since this potentially affects any Qt app on Workstation, and you could plausibly trigger it by installing Qt apps while running live or before first update.

Comment 19 Fedora Update System 2023-10-17 06:35:33 UTC
FEDORA-2023-69e9a0f475 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-10-24 01:21:43 UTC
FEDORA-2023-7374f4962d has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.