Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.2
-
None
-
Kde neon:
Compiler: x86_64-linux-gnu-g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-47-generic (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 7.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7693
System Version: 4.0
Fedora 40 (VM):
Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 5 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 2.7 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2Kde neon: Compiler: x86_64-linux-gnu-g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Operating System: KDE neon 6.2 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.8.0-47-generic (64-bit) Graphics Platform: X11 Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor Memory: 7.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2 Manufacturer: MSI Product Name: MS-7693 System Version: 4.0 Fedora 40 (VM): Operating System: Fedora Linux 40 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 5 × AMD FX(tm)-8350 Eight-Core Processor Memory: 2.7 GiB of RAM Graphics Processor: llvmpipe Manufacturer: innotek GmbH Product Name: VirtualBox System Version: 1.2
-
-
d32526ee0 (dev), 421f12c2a (6.9), af572c93c (6.8), 7f2ccc97d (tqtc/lts-6.5)
-
Multimedia wk 51-2, Multimedia wk 5-6
Description
Tested on Fedora 40 and Kde Neon.
Sometimes the program crashes when changing media files when the previous one has just started playing.
This does not seem to happen when "audioOutput" is not set or when using a flatpak build or one of the kits (Qt 6.7 as in Neon/Fedora) in QtCreator (not System).
Steps:
Prerequisite for the example program:
In Main.qml you need to write the path to some video file.
1) Start the program (If you use QtCreator, don't use any kit besides "System")
2) Repeatedly press one of the shortcut keys ('A', 'D', 'Left', 'Right') to change the source until it crashes.
After a while the program should crash.
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `appQtMultimediaBug'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007dea7200ad47 in std::default_delete<QFFmpegResampler>::operator() (__ptr=0x7dea10007e70, this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:93 93 operator()(_Tp* __ptr) const [Current thread is 1 (Thread 0x7dea5cc006c0 (LWP 42816))]
To make it crash more frequently I recommend varying the speed at which the shortcut is activated.
Faster != more crashes: It seems to have something to do with the audio and it crashes when changing the file at the right time.
Sometimes it takes almost a minute, other times it happens after a few seconds (Varying the speed is important).
Note:This also happens with "Video{}"
I created a small application to reproduce the crash. There are also videos to clarify how it happens.
Related application: https://invent.kde.org/danagost/Kiview/-/merge_requests/15
> Qt 6.7 (kit for qtcreator) is installed with qt opensource installer or ?
It was installed with "Qt Maintenance Tool" , the program that gets installed when you use this installer(open source version): https://www.qt.io/download-qt-installer
The Qt kits I have tried are Desktop Qt 6.7.3 and Desktop Qt 6.6.3.
the crash occurs on Fedora 40 and kde Neon (system Qt), but other distributions may also be affected.
I couldn't get it to crash using a flatpak build or the libraries that are downloaded from Qt Maintenance Tool.
That doesn't mean it can't crash with those libraries, maybe I was just unlucky even though I tried many times.
Also keep in mind that I couldn't get it to crash unless I set the “audioOutput”.
Note: There is an installation script (install.sh) in the project folder in case you want to install it.
New test with QT 6.8.1
pulseaudio --version:
pulseaudio 16.1
pipewire --version:
pipewire
Compiled with libpipewire 1.2.6
Linked with libpipewire 1.2.6
the backend is ffmpeg.