Bug 2150231

Summary: qt6-qtmultimedia 6.4.1 built without audio backend leads to crash of mkvtoolnix
Product: [Fedora] Fedora Reporter: HBR <nepnep>
Component: qt6-qtmultimediaAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: alekcejk, bugzilla-redhat, dominik, jgrulich, kde-sig, rgnoble, wangxinkai2000
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qt6-qtmultimedia-6.4.1-3.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-09 01:31:34 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: 2148701, 2149046    

Description HBR 2022-12-02 08:31:06 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Build Identifier: 

Investigating mkvtoolnix crashing (right after launch) after QT had been updated to 6.4 on Fedora 37 lead to the discovery (by the creator of mkvtoolnix) that apparently qt6-qtmultimedia was built without any audio backend (leading to the crash).

Details in the following tickets:
https://bugzilla.redhat.com/show_bug.cgi?id=2148701
https://bugzilla.redhat.com/show_bug.cgi?id=2149046

So to make mkvtoolnix work again in Fedora a fix is needed in qt6-qtmultimedia (building it with the proper audio backend).

Reproducible: Always

Comment 1 Jan Grulich 2022-12-02 09:57:21 UTC
This is weird, because from the build log I see:

> Plugin:
>    GStreamer 1.0 ........................ yes

GStreamer is actually a separate plugin so there might be some issue in loading the plugin itself, but it's most likely not a build issue.

Comment 2 xwang 2022-12-03 17:18:00 UTC
In 6.4, the gstreamer and ffmpeg plugins have been split and moved to /usr/lib64/qt6/multimedia/ directory. However, Fedora puts these .so files to qt6-qtmultimedia-devel package. So the simple solution is to install the devel package.

I got the problem that stellarium-1.1.2 or 1.1.3 are crashed after compiled with qt6-qtmultimedia-6.4.1. After several hours' investigation, I realised that the plugin .so files are placed in the improper package.

Comment 3 nucleo 2022-12-03 18:24:48 UTC
(In reply to xwang from comment #2)
> In 6.4, the gstreamer and ffmpeg plugins have been split and moved to
> /usr/lib64/qt6/multimedia/ directory. However, Fedora puts these .so files
> to qt6-qtmultimedia-devel package. So the simple solution is to install the
> devel package.
> 
> I got the problem that stellarium-1.1.2 or 1.1.3 are crashed after compiled
> with qt6-qtmultimedia-6.4.1. After several hours' investigation, I realised
> that the plugin .so files are placed in the improper package.

See bug 2150372

Comment 4 Jan Grulich 2022-12-04 12:34:52 UTC
(In reply to xwang from comment #2)
> In 6.4, the gstreamer and ffmpeg plugins have been split and moved to
> /usr/lib64/qt6/multimedia/ directory. However, Fedora puts these .so files
> to qt6-qtmultimedia-devel package. So the simple solution is to install the
> devel package.
> 
> I got the problem that stellarium-1.1.2 or 1.1.3 are crashed after compiled
> with qt6-qtmultimedia-6.4.1. After several hours' investigation, I realised
> that the plugin .so files are placed in the improper package.

I will fix this tomorrow, this is obviously wrong and I didn't realize I'm moving plugins into the -devel subpackage. Thanks for finding this out.

Comment 5 Jan Grulich 2022-12-05 07:15:25 UTC
*** Bug 2148732 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2022-12-05 07:27:39 UTC
FEDORA-2022-1427cfdaf0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1427cfdaf0

Comment 7 Fedora Update System 2022-12-06 01:31:57 UTC
FEDORA-2022-1427cfdaf0 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-1427cfdaf0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1427cfdaf0

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

Comment 8 Fedora Update System 2022-12-09 01:31:34 UTC
FEDORA-2022-1427cfdaf0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.