Bug 486088 - Crash while viewing video
Summary: Crash while viewing video
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 8.3.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-04-24 18:47 UTC by gessel
Modified: 2024-04-24 19:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gessel 2024-04-24 18:47:51 UTC
Application: digikam (8.3.0)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.98.0
Operating System: Linux 6.5.0-28-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.4 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was using the integrated video player and moving from video to video.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault

[KCrash Handler]
#4  0x000079ef50ace4bb in QReadWriteLock::lockForRead() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x000079ef53b4373c in  () at /lib/x86_64-linux-gnu/libQt5Sql.so.5
#6  0x000079ef53b498f5 in QSqlDatabase::database(QString const&, bool) () at /lib/x86_64-linux-gnu/libQt5Sql.so.5
#7  0x000079ef52b93a17 in Digikam::DbEngineThreadData::closeDatabase() (this=0x79ef20011ff0) at /home/gessel/projects/digikam/core/libs/database/engine/dbenginebackend.cpp:87
#8  0x000079ef52b9398c in Digikam::DbEngineThreadData::~DbEngineThreadData() (this=0x79ef20011ff0, __in_chrg=<optimized out>) at /home/gessel/projects/digikam/core/libs/database/engine/dbenginebackend.cpp:79
#9  0x000079ef52b9d01e in qThreadStorage_deleteData<Digikam::DbEngineThreadData>(void*, Digikam::DbEngineThreadData**) (d=0x79ef20011ff0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qthreadstorage.h:92
#10 0x000079ef52b9c87f in QThreadStorage<Digikam::DbEngineThreadData*>::deleteData(void*) (x=0x79ef20011ff0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qthreadstorage.h:135
#11 0x000079ef50ad23df in QThreadStorageData::finish(void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x000079ef50acc391 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x000079ef50accca9 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x000079ef50294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x000079ef50326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x79ef30e84640 (LWP 1626323) "QXcbEventQueue"):
#1  0x000079ef401267e2 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x000079ef4012822c in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x000079ef30ef7d08 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x000079ef50accca1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x000079ef50294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x000079ef50326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x79ef31e3fa80 (LWP 1626314) "digikam"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x639abe988ff0) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x639abe988ff0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x000079ef50293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x639abe988fa0, cond=0x639abe988fc8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x639abe988fc8, mutex=0x639abe988fa0) at ./nptl/pthread_cond_wait.c:627
#5  0x000079ef50ad2ceb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x000079ef50acc969 in QThread::wait(QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x000079ef53eeeda5 in Digikam::ScanController::shutDown() (this=0x79ef546886c0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>) at /home/gessel/projects/digikam/core/libs/database/utils/scan/scancontroller_stop.cpp:123
#8  0x000079ef53ee6bcc in Digikam::ScanController::~ScanController() (this=0x79ef546886c0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>, __in_chrg=<optimized out>) at /home/gessel/projects/digikam/core/libs/database/utils/scan/scancontroller.cpp:111
#9  0x000079ef53ee9136 in Digikam::ScanControllerCreator::~ScanControllerCreator() (this=0x79ef546886c0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>, __in_chrg=<optimized out>) at /home/gessel/projects/digikam/core/libs/database/utils/scan/scancontroller_p.h:168
#10 0x000079ef53ee6448 in Holder::~Holder() (this=0x79ef546886c0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>, __in_chrg=<optimized out>) at /home/gessel/projects/digikam/core/libs/database/utils/scan/scancontroller.cpp:41
#11 0x000079ef50245495 in __run_exit_handlers (status=1, listp=0x79ef5041a838 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113
#12 0x000079ef50245610 in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:143
#13 0x000079ef491b8170 in  () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#14 0x7fffffffffffffff in  ()
#15 0x0000000000000000 in  ()
[Inferior 1 (process 1626314) detached]

Possible duplicates by query: bug 479156, bug 447765, bug 412113, bug 401377, bug 382364.

Reported using DrKonqi
Comment 1 caulier.gilles 2024-04-24 19:01:00 UTC
Please try the last AppImage Linux bundle based on Qt6. It use Qt::Multimedia with ffmpeg.

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

Gilles Caulier
Comment 2 Maik Qualmann 2024-04-24 19:05:29 UTC
Crash is fixed with Bug 484818 and Bug 484815 in the QtAVPlayer with Qt5 Vesion.

Maik