Bug 431563 - While closing digiKam it crashed.
Summary: While closing digiKam it crashed.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (other bugs)
Version First Reported In: 8.0.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-01-13 20:35 UTC by NooN
Modified: 2023-03-09 16:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NooN 2021-01-13 20:35:55 UTC
Application: digikam (7.1.0)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.10.0-1-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
After the search for faces finished I closed digikam with the button on the titlebar. then it crashed

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

[KCrash Handler]
#4  std::__atomic_base<QThread*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x79) at /usr/include/c++/10/bits/atomic_base.h:741
#5  std::atomic<QThread*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x79) at /usr/include/c++/10/atomic:523
#6  QAtomicOps<QThread*>::loadAcquire<QThread*>(std::atomic<QThread*> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#7  QBasicAtomicPointer<QThread>::loadAcquire() const (this=0x79) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#8  QObject::thread() const (this=this@entry=0x55eb2682dfb0) at kernel/qobject.cpp:1487
#9  0x00007f4fa4209c68 in Digikam::ParkingThread::moveToCurrentThread(QObject*) (parkedObject=0x55eb2682dfb0, this=0x55eb23275c00) at ./core/libs/threads/threadmanager.cpp:99
#10 Digikam::WorkerObjectRunnable::run() (this=0x55eb268492f0) at ./core/libs/threads/threadmanager.cpp:182
#11 0x00007f4fa29e8e72 in QThreadPoolThread::run() (this=0x7f4e940019d0) at thread/qthreadpool.cpp:100
#12 0x00007f4fa29e5b81 in QThreadPrivate::start(void*) (arg=0x7f4e940019d0) at thread/qthread_unix.cpp:329
#13 0x00007f4fa0d92ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f4fa2668def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4e9f7fe700 (LWP 2114) "Thread (pooled)"):
#1  0x00007f4fa29e5ea5 in QtLinuxFutex::_q_futex(int*, int, int, unsigned long long, int*, int) (val3=0, addr2=0x0, val2=0, val=3, op=0, addr=0x55eb23275c18) at thread/qfutex_p.h:116
#2  QtLinuxFutex::futexWait<QBasicAtomicPointer<QMutexData> >(QBasicAtomicPointer<QMutexData>&, QBasicAtomicPointer<QMutexData>::Type) (expectedValue=0x3, futex=...) at thread/qfutex_p.h:135
#3  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) at thread/qmutex_linux.cpp:142
#4  QBasicMutex::lockInternal() (this=0x55eb23275c18) at thread/qmutex_linux.cpp:159
#5  0x00007f4fa29e608a in QMutex::lock() (this=this@entry=0x55eb23275c18) at thread/qmutex.cpp:235
#6  0x00007f4fa29ebac9 in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55eb23275c20, mutex=mutex@entry=0x55eb23275c18, deadline=...) at thread/qwaitcondition_unix.cpp:227
#7  0x00007f4fa4209c60 in Digikam::ParkingThread::moveToCurrentThread(QObject*) (parkedObject=0x55eb268183f0, this=0x55eb23275c00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#8  Digikam::WorkerObjectRunnable::run() (this=0x7f4ea0007070) at ./core/libs/threads/threadmanager.cpp:182
#9  0x00007f4fa29e8e72 in QThreadPoolThread::run() (this=0x55eb268ed130) at thread/qthreadpool.cpp:100
#10 0x00007f4fa29e5b81 in QThreadPrivate::start(void*) (arg=0x55eb268ed130) at thread/qthread_unix.cpp:329
#11 0x00007f4fa0d92ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4fa2668def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4e9ffff700 (LWP 2106) "ThreadPoolSingl"):
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f4e9fffd3e8, cond=0x7f4e9fffd410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f4e9fffd410, mutex=0x7f4e9fffd3e8) at pthread_cond_wait.c:638
#3  0x00007f4f980e6168 in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007f4e9fffd2f0 in  ()
#5  0x00007f4e9fffd3e8 in  ()
#6  0x000055eb264b0d90 in  ()
#7  0x0000000000000000 in  ()

Thread 6 (Thread 0x7f4ebf7fe700 (LWP 2084) "MemoryInfra"):
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f4ebf7fc308, cond=0x7f4ebf7fc330) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f4ebf7fc330, mutex=0x7f4ebf7fc308) at pthread_cond_wait.c:638
#3  0x00007f4f980e6168 in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007f4ebf7fc210 in  ()
#5  0x00007f4ebf7fc308 in  ()
#6  0x00007f4eb0000c00 in  ()
#7  0x0000000000000000 in  ()

Thread 5 (Thread 0x7f4ebffff700 (LWP 2074) "CacheThread_Blo"):
#1  0x00007f4f8b458e9f in evutil_snprintf () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#2  0x00007f4f8b45c3bc in event_logv_ () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#3  0x00007f4f8b45c545 in event_warn () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#4  0x00007f4f8b45dfcc in  () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#5  0x00007f4f8b454035 in event_base_loop () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#6  0x00007f4f980f4297 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#7  0x00007f4f98094948 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x00007f4f9806f5cc in base::RunLoop::Run() [clone .part.0] () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x00007f4f980ae983 in base::Thread::ThreadMain() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x00007f4f980eb4fa in base::(anonymous namespace)::ThreadFunc(void*) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#11 0x00007f4fa0d92ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4fa2668def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4ef0fd3700 (LWP 2072) "ThreadPoolSingl"):
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f4ef0fd13e8, cond=0x7f4ef0fd1410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f4ef0fd1410, mutex=0x7f4ef0fd13e8) at pthread_cond_wait.c:638
#3  0x00007f4f980e6168 in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007f4ef0fd12f0 in  ()
#5  0x00007f4ef0fd13e8 in  ()
#6  0x00007f4f200555e0 in  ()
#7  0x0000000000000000 in  ()

Thread 3 (Thread 0x7f4f38da1700 (LWP 2037) "QThread"):
#1  0x00007f4fa29e5ea5 in QtLinuxFutex::_q_futex(int*, int, int, unsigned long long, int*, int) (val3=0, addr2=0x0, val2=0, val=3, op=0, addr=0x55eb23275c18) at thread/qfutex_p.h:116
#2  QtLinuxFutex::futexWait<QBasicAtomicPointer<QMutexData> >(QBasicAtomicPointer<QMutexData>&, QBasicAtomicPointer<QMutexData>::Type) (expectedValue=0x3, futex=...) at thread/qfutex_p.h:135
#3  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) at thread/qmutex_linux.cpp:142
#4  QBasicMutex::lockInternal() (this=0x55eb23275c18) at thread/qmutex_linux.cpp:159
#5  0x00007f4fa29e608a in QMutex::lock() (this=this@entry=0x55eb23275c18) at thread/qmutex.cpp:235
#6  0x00007f4fa29ebac9 in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55eb23275c20, mutex=mutex@entry=0x55eb23275c18, deadline=...) at thread/qwaitcondition_unix.cpp:227
#7  0x00007f4fa420a274 in Digikam::ParkingThread::run() (this=0x55eb23275c00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#8  0x00007f4fa29e5b81 in QThreadPrivate::start(void*) (arg=0x55eb23275c00) at thread/qthread_unix.cpp:329
#9  0x00007f4fa0d92ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4fa2668def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4f72b45700 (LWP 2030) "QDBusConnection"):
#1  0x00007f4f94aaaf9f in g_main_context_acquire () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f94aabe35 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f94aac09f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4fa2c1e49b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f54000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4fa2bc58eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f72b43510, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f4fa29e4a3e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4fa1302a27 in QDBusConnectionManager::run() (this=0x7f4fa136fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f4fa29e5b81 in QThreadPrivate::start(void*) (arg=0x7f4fa136fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f4fa0d92ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4fa2668def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4f81d57040 (LWP 2022) "digikam"):
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55eb23412990, cond=0x55eb234129b8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55eb234129b8, mutex=0x55eb23412990) at pthread_cond_wait.c:638
#3  0x00007f4fa29ebafb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x55eb23412990) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55eb233e9458, mutex=mutex@entry=0x55eb233e9438, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4fa29e5869 in QThread::wait(QDeadlineTimer) (this=this@entry=0x55eb23275c00, deadline=...) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#6  0x00007f4fa4209f70 in Digikam::ParkingThread::~ParkingThread() (this=0x55eb23275c00, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#7  Digikam::ParkingThread::~ParkingThread() (this=0x55eb23275c00, __in_chrg=<optimized out>) at ./core/libs/threads/threadmanager.cpp:61
#8  0x00007f4fa2bf0b3e in QObjectPrivate::deleteChildren() (this=0x55eb23412930) at kernel/qobject.cpp:2104
#9  0x00007f4fa2bfb714 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#10 0x00007f4fa4209759 in Digikam::ThreadManagerCreator::~ThreadManagerCreator() (this=<optimized out>, __in_chrg=<optimized out>) at ./core/libs/threads/threadmanager.cpp:246
#11 Digikam::(anonymous namespace)::Q_QGS_creator::Holder::~Holder() (this=<optimized out>, __in_chrg=<optimized out>) at ./core/libs/threads/threadmanager.cpp:253
#12 0x00007f4fa25a94d7 in __run_exit_handlers (status=0, listp=0x7f4fa2729718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#13 0x00007f4fa25a967a in __GI_exit (status=<optimized out>) at exit.c:139
#14 0x00007f4fa2591d11 in __libc_start_main (main=0x55eb21e5bf10 <main(int, char**)>, argc=1, argv=0x7ffd43d76f78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd43d76f68) at ../csu/libc-start.c:342
#15 0x000055eb21e5dbca in _start () at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:123
[Inferior 1 (process 2022) detached]

Reported using DrKonqi
Comment 1 Maik Qualmann 2021-02-06 21:06:10 UTC
Please try the current AppImage from digiKam-7.2.0-RC to see whether the problem can still be reproduced.

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

Maik
Comment 2 caulier.gilles 2021-03-30 06:53:34 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 3 caulier.gilles 2021-12-15 05:13:02 UTC
Noon, 

Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2022-01-08 11:20:40 UTC
Noon,

We need a fresh feedback for this file, else we will close it as well.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2022-01-13 11:26:45 UTC
No feedback. not reproducible with 7.5.0. Closed