https://bugs.kde.org/show_bug.cgi?id=406171

            Bug ID: 406171
           Summary: Digikam crashed on exit
           Product: digikam
           Version: 6.0.0
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: undyin...@gmail.com
  Target Milestone: ---

Application: digikam (6.0.0)
 (Compiled from sources)
Qt Version: 5.12.2
Frameworks Version: 5.56.0
Operating System: Linux 5.0.0-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Digikam was opened for import from microSD but no import was performed. 
Application was closed in normal way but message about crash had appeared.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x562a70b45e00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
[Current thread is 1 (Thread 0x7f251fa498c0 (LWP 29884))]

Thread 11 (Thread 0x7f24b0a02700 (LWP 29917)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24c190f058) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24c190f008,
cond=0x7f24c190f030) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f24c190f030, mutex=0x7f24c190f008) at
pthread_cond_wait.c:655
#3  0x00007f252b6f085c in __gthread_cond_wait (__mutex=<optimized out>,
__cond=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007f2528d9270f in WTF::ParkingLot::parkConditionally(void const*,
std::function<bool ()>, std::function<void ()>,
std::chrono::time_point<std::chrono::_V2::steady_clock,
std::chrono::duration<long, std::ratio<1l, 1000000000l> > >) () from
/usr/lib64/libQt5WebKit.so.5
#6  0x00007f2528d90f32 in
WTF::ParallelHelperPool::waitForClientWithTask(WTF::Locker<WTF::LockBase>
const&) () from /usr/lib64/libQt5WebKit.so.5
#7  0x00007f2528d91006 in WTF::ParallelHelperPool::helperThreadBody() () from
/usr/lib64/libQt5WebKit.so.5
#8  0x00007f2528d94e98 in WTF::threadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#9  0x00007f2528db8b5a in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#10 0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f24b1203700 (LWP 29916)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24c1910058) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24c1910008,
cond=0x7f24c1910030) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f24c1910030, mutex=0x7f24c1910008) at
pthread_cond_wait.c:655
#3  0x00007f252b6f085c in __gthread_cond_wait (__mutex=<optimized out>,
__cond=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007f2528d9270f in WTF::ParkingLot::parkConditionally(void const*,
std::function<bool ()>, std::function<void ()>,
std::chrono::time_point<std::chrono::_V2::steady_clock,
std::chrono::duration<long, std::ratio<1l, 1000000000l> > >) () from
/usr/lib64/libQt5WebKit.so.5
#6  0x00007f2528d90f32 in
WTF::ParallelHelperPool::waitForClientWithTask(WTF::Locker<WTF::LockBase>
const&) () from /usr/lib64/libQt5WebKit.so.5
#7  0x00007f2528d91006 in WTF::ParallelHelperPool::helperThreadBody() () from
/usr/lib64/libQt5WebKit.so.5
#8  0x00007f2528d94e98 in WTF::threadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#9  0x00007f2528db8b5a in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#10 0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f24b3fff700 (LWP 29915)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24c28264b8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24c2826468,
cond=0x7f24c2826490) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f24c2826490, mutex=0x7f24c2826468) at
pthread_cond_wait.c:655
#3  0x00007f252b6f085c in __gthread_cond_wait (__mutex=<optimized out>,
__cond=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007f2528d9270f in WTF::ParkingLot::parkConditionally(void const*,
std::function<bool ()>, std::function<void ()>,
std::chrono::time_point<std::chrono::_V2::steady_clock,
std::chrono::duration<long, std::ratio<1l, 1000000000l> > >) () from
/usr/lib64/libQt5WebKit.so.5
#6  0x00007f2528d90f32 in
WTF::ParallelHelperPool::waitForClientWithTask(WTF::Locker<WTF::LockBase>
const&) () from /usr/lib64/libQt5WebKit.so.5
#7  0x00007f2528d91006 in WTF::ParallelHelperPool::helperThreadBody() () from
/usr/lib64/libQt5WebKit.so.5
#8  0x00007f2528d94e98 in WTF::threadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#9  0x00007f2528db8b5a in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#10 0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f24b2ffd700 (LWP 29904)):
[KCrash Handler]
#6  0x00007f252bae4747 in QMutex::lock() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f252b8e979e in Digikam::CoreDbAccess::CoreDbAccess() () from
/usr/lib64/libdigikamdatabase.so.6.0.0
#8  0x00007f252b89d44e in Digikam::CollectionManager::locationForPath(QString
const&) () from /usr/lib64/libdigikamdatabase.so.6.0.0
#9  0x00007f252b91450f in Digikam::ItemInfo::fromLocalFile(QString const&) ()
from /usr/lib64/libdigikamdatabase.so.6.0.0
#10 0x00007f252b8dec01 in
Digikam::DatabaseLoadSaveFileInfoProvider::orientationHint(QString const&) ()
from /usr/lib64/libdigikamdatabase.so.6.0.0
#11 0x00007f252d20c40e in Digikam::LoadSaveThread::exifOrientation(QString
const&, Digikam::DMetadata const&, bool, bool) () from
/usr/lib64/libdigikamcore.so.6.0.0
#12 0x00007f252d1fbeb7 in
Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect
const&) const () from /usr/lib64/libdigikamcore.so.6.0.0
#13 0x00007f252d1fe2e7 in
Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect
const&, bool) const () from /usr/lib64/libdigikamcore.so.6.0.0
#14 0x00007f252d1feba4 in
Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&) const ()
from /usr/lib64/libdigikamcore.so.6.0.0
#15 0x00007f252d20afb5 in Digikam::ThumbnailLoadingTask::execute() () from
/usr/lib64/libdigikamcore.so.6.0.0
#16 0x00007f252d20cd7d in Digikam::LoadSaveThread::run() () from
/usr/lib64/libdigikamcore.so.6.0.0
#17 0x00007f252d22c64e in Digikam::DynamicThread::Private::run() () from
/usr/lib64/libdigikamcore.so.6.0.0
#18 0x00007f252bae7611 in QThreadPoolThread::run() () from
/usr/lib64/libQt5Core.so.5
#19 0x00007f252bae42d2 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#20 0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#21 0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f24c27ff700 (LWP 29898)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24c29bec98) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24c29bec48,
cond=0x7f24c29bec70) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f24c29bec70, mutex=0x7f24c29bec48) at
pthread_cond_wait.c:655
#3  0x00007f252b6f085c in __gthread_cond_wait (__mutex=<optimized out>,
__cond=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007f2528d9270f in WTF::ParkingLot::parkConditionally(void const*,
std::function<bool ()>, std::function<void ()>,
std::chrono::time_point<std::chrono::_V2::steady_clock,
std::chrono::duration<long, std::ratio<1l, 1000000000l> > >) () from
/usr/lib64/libQt5WebKit.so.5
#6  0x00007f252874e5c1 in JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*)
() from /usr/lib64/libQt5WebKit.so.5
#7  0x00007f2528d94e98 in WTF::threadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#8  0x00007f2528db8b5a in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#9  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2515a18700 (LWP 29895)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x562a70010f30) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562a70010ee0,
cond=0x562a70010f08) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562a70010f08, mutex=0x562a70010ee0) at
pthread_cond_wait.c:655
#3  0x00007f252bae9a93 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007f252bae9b19 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f252d22b3b9 in Digikam::ParkingThread::run() () from
/usr/lib64/libdigikamcore.so.6.0.0
#6  0x00007f252bae42d2 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#7  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#8  0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f25177fe700 (LWP 29894)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x562a701b7bb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562a701b7b68,
cond=0x562a701b7b90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562a701b7b90, mutex=0x562a701b7b68) at
pthread_cond_wait.c:655
#3  0x00007f2515fc8b13 in util_queue_thread_func () from
/usr/lib64/dri/i965_dri.so
#4  0x00007f2515fc8867 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#5  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f251d26a700 (LWP 29889)):
#0  0x00007f252b523f43 in __GI___poll (fds=0x7f251001b3c0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f25253567e6 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f252535690c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f252bcc18cb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007f252bc6fc1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f252bae30b6 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f2527957565 in QDBusConnectionManager::run() () from
/usr/lib64/libQt5DBus.so.5
#7  0x00007f252bae42d2 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#9  0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f251df29700 (LWP 29888)):
#0  0x00007f252b523f43 in __GI___poll (fds=0x7f251df28be8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2523fb3cf7 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2523fb591a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f251ea99f98 in QXcbEventQueue::run() () from
/usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f252bae42d2 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f251fa45700 (LWP 29887)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f252ad5be90
<bmalloc::PerProcess<bmalloc::Heap>::s_memory+3120>) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562a6fde30e0,
cond=0x7f252ad5be68 <bmalloc::PerProcess<bmalloc::Heap>::s_memory+3080>) at
pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f252ad5be68
<bmalloc::PerProcess<bmalloc::Heap>::s_memory+3080>, mutex=0x562a6fde30e0) at
pthread_cond_wait.c:655
#3  0x00007f252b6f085c in __gthread_cond_wait (__mutex=<optimized out>,
__cond=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007f252a207e82 in bmalloc::AsyncTask<bmalloc::Heap, void
(bmalloc::Heap::*)()>::threadRunLoop() () from /usr/lib64/libQt5WebKit.so.5
#6  0x00007f252a207f99 in bmalloc::AsyncTask<bmalloc::Heap, void
(bmalloc::Heap::*)()>::threadEntryPoint(bmalloc::AsyncTask<bmalloc::Heap, void
(bmalloc::Heap::*)()>*) () from /usr/lib64/libQt5WebKit.so.5
#7  0x00007f252b6f677e in std::execute_native_thread_routine
(__p=0x562a6fde3110) at
/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/libstdc++-v3/src/c++11/thread.cc:80
#8  0x00007f25273e7433 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#9  0x00007f252b53028f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f251fa498c0 (LWP 29884)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x562a70b45e00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562a70b45db0,
cond=0x562a70b45dd8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562a70b45dd8, mutex=0x562a70b45db0) at
pthread_cond_wait.c:655
#3  0x00007f252bae9a93 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007f252bae9b19 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f252d22ca64 in Digikam::DynamicThread::wait(QMutexLocker&) () from
/usr/lib64/libdigikamcore.so.6.0.0
#6  0x00007f252d22cad5 in Digikam::DynamicThread::shutDown() () from
/usr/lib64/libdigikamcore.so.6.0.0
#7  0x00007f252d1f3298 in Digikam::ManagedLoadSaveThread::shutDown() () from
/usr/lib64/libdigikamcore.so.6.0.0
#8  0x00007f252d2009ff in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread()
() from /usr/lib64/libdigikamcore.so.6.0.0
#9  0x00007f252d200b29 in Digikam::(anonymous
namespace)::Q_QGS_defaultObject::innerFunction()::Holder::~Holder() () from
/usr/lib64/libdigikamcore.so.6.0.0
#10 0x00007f252b465198 in __run_exit_handlers (status=1, listp=0x7f252b5f2718
<__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#11 0x00007f252b4652da in __GI_exit (status=<optimized out>) at exit.c:139
#12 0x00007f252080e14a in ?? () from /usr/lib64/libICE.so.6
#13 0x00007f2520814174 in IceFlush () from /usr/lib64/libICE.so.6
#14 0x00007f25207feb68 in SmcCloseConnection () from /usr/lib64/libSM.so.6
#15 0x00007f251eab0623 in QXcbSessionManager::~QXcbSessionManager() () from
/usr/lib64/libQt5XcbQpa.so.5
#16 0x00007f251eab0659 in QXcbSessionManager::~QXcbSessionManager() () from
/usr/lib64/libQt5XcbQpa.so.5
#17 0x00007f252c01faed in QSessionManagerPrivate::~QSessionManagerPrivate() ()
from /usr/lib64/libQt5Gui.so.5
#18 0x00007f252c01fb09 in QSessionManagerPrivate::~QSessionManagerPrivate() ()
from /usr/lib64/libQt5Gui.so.5
#19 0x00007f252bc9faeb in QObject::~QObject() () from
/usr/lib64/libQt5Core.so.5
#20 0x00007f252c01fbf9 in QSessionManager::~QSessionManager() () from
/usr/lib64/libQt5Gui.so.5
#21 0x00007f252c023e7b in QGuiApplication::~QGuiApplication() () from
/usr/lib64/libQt5Gui.so.5
#22 0x00007f252c58af24 in QApplication::~QApplication() () from
/usr/lib64/libQt5Widgets.so.5
#23 0x0000562a6f8980dd in main ()
[Inferior 1 (process 29884) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to