Bug 2150231 - qt6-qtmultimedia 6.4.1 built without audio backend leads to crash of mkvtoolnix
Summary: qt6-qtmultimedia 6.4.1 built without audio backend leads to crash of mkvtoolnix
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt6-qtmultimedia
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Grulich
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2148701 2149046
TreeView+ depends on / blocked
 
Reported: 2022-12-02 08:31 UTC by HBR
Modified: 2022-12-09 01:31 UTC (History)
7 users (show)

Fixed In Version: qt6-qtmultimedia-6.4.1-3.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-09 01:31:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.