Bug 470551 - digiKam crashes when playing video in preview after the fourth or fifth time.
Summary: digiKam crashes when playing video in preview after the fourth or fifth time.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 8.0.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-06-02 11:06 UTC by Narendiran
Modified: 2023-10-18 09:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Narendiran 2023-06-02 11:06:59 UTC
Application: digikam (8.0.0)

Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.3.5-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
digiKam crashes when playing video in preview after the fourth or fifth time.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Bus error

[KCrash Handler]
#4  0x00007f3835e90704 in avcodec_close () at /usr/lib/libavcodec.so.60
#5  0x00007f38364221ae in avcodec_free_context () at /usr/lib/libavcodec.so.60
#6  0x00007f383d7658ca in QtAV::AVDecoder::setCodecContext(void*) (this=this@entry=0x557f56a614d0, codecCtx=codecCtx@entry=0x0) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/AVDecoder.cpp:305
#7  0x00007f383d7659be in QtAV::AVDecoder::~AVDecoder() (this=0x557f56a614d0, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/AVDecoder.cpp:87
#8  0x00007f383d7662ec in QtAV::VideoDecoder::~VideoDecoder() (this=0x557f56a614d0, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/video/VideoDecoder.h:58
#9  QtAV::VideoDecoderFFmpegBase::~VideoDecoderFFmpegBase() (this=0x557f56a614d0, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.h:30
#10 QtAV::VideoDecoderFFmpeg::~VideoDecoderFFmpeg() (this=0x557f56a614d0, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/video/VideoDecoderFFmpeg.cpp:40
#11 QtAV::VideoDecoderFFmpeg::~VideoDecoderFFmpeg() (this=0x557f56a614d0, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/codec/video/VideoDecoderFFmpeg.cpp:40
#12 0x00007f383d7138b4 in QtAV::AVPlayerCore::Private::setupVideoThread(QtAV::AVPlayerCore*) (this=0x557f56ebda10, player=0x557f56ebd990) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/ffmpeg/AVPlayerCore_p.cpp:1016
#13 0x00007f383d70120b in QtAV::AVPlayerCore::playInternal() (this=0x557f56ebd990) at /usr/src/debug/digikam/digikam-8.0.0/core/libs/video/qtav/ffmpeg/AVPlayerCore.cpp:1765
#14 0x00007f383bad01a3 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f383bac2834 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f383c77893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f383ba9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f383ba9fa7b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f383bae6088 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007f382ad10981 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007f382ad6db39 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007f382ad0e032 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007f383bae9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f383ba99824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f383ba9acc3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x0000557f51f42168 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam/digikam-8.0.0/core/app/main/main.cpp:463
[Inferior 1 (process 16327) detached]

The reporter indicates this bug may be a duplicate of or related to bug 468480, bug 464319, bug 464187.

Reported using DrKonqi
Comment 1 Maik Qualmann 2023-06-02 11:10:52 UTC

*** This bug has been marked as a duplicate of bug 468480 ***
Comment 2 caulier.gilles 2023-10-18 09:52:15 UTC
Fixed with 468480