Bug 471199

Summary: digiKam 8.0.0 crash in QtAV::Widgets::registerRenderers() on startup
Product: [Applications] digikam Reporter: Kenneth Soerensen <knnthsrnsn>
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: anon1112000-mailbox, caulier.gilles, knnthsrnsn, metzpinguin, nucleo
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 8.3.0
Sentry Crash Report:
Attachments: backtrace

Description Kenneth Soerensen 2023-06-18 17:17:44 UTC
From Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2212377

Digikam crashes before splash screen is shown.
Observed on Fedora 36 and Fedora 38.
Digikam 7.10.0-1 is working.

ABRT ccpp crash data is attached in Red Hat Bugzilla.

Fedora ABRT Analytics: https://retrace.fedoraproject.org/faf/reports/692868/

Reproducible: Always

Steps to Reproduce:
1. Start digiKam
Actual Results:  
Crash

Expected Results:  
Normal startup
Comment 1 Maik Qualmann 2023-06-18 20:11:53 UTC
The problem has never been reported before. We definitely need a backtrace.

Maik
Comment 2 nucleo 2023-06-18 20:41:42 UTC
Created attachment 159768 [details]
backtrace

I have never seen this crash but I tried to create backtrace from ABRT data.
Comment 3 caulier.gilles 2023-10-11 04:54:54 UTC
nucleo,

What's about this file using current 8.2.0 AppImage Linux bundle ? It's
reproducible ?

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 4 Maik Qualmann 2023-10-11 17:50:19 UTC
*** Bug 475478 has been marked as a duplicate of this bug. ***
Comment 5 Kenneth Soerensen 2023-11-19 15:18:05 UTC
The issue persists with digikam-8.1.0-3.fc39.x86_64 but is not present with https://flathub.org/apps/org.kde.digikam, version 8.1.0. I have not tested with AppImage.
Comment 6 caulier.gilles 2024-01-26 12:47:31 UTC
Git commit 79ac8d6e9cb90c8d9b456405051ec0937f8485fe by Gilles Caulier.
Committed on 26/01/2024 at 13:44.
Pushed by cgilles into branch 'master'.

Preview and Slideshow of video is now rendered with Qt6::Multimedia and Qt5::QtAVPlayer.
Older and unmaintained QtAV framework code used in digiKam core is fully removed.
Both Qt6::Multimedia and Qt5::QtAVPlayer are based and compatible to FFMpeg API 5 and later.
Related: bug 468572, bug 382582, bug 435660, bug 478314, bug 445422, bug 448681, bug 477031, bug 478613
FIXED-IN: 8.3.0

M  +12   -9    NEWS

https://invent.kde.org/graphics/digikam/-/commit/79ac8d6e9cb90c8d9b456405051ec0937f8485fe