Bug 406171 - Digikam crashed on exit
Summary: Digikam crashed on exit
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Engine (other bugs)
Version First Reported In: 6.0.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-04-03 06:19 UTC by undying.k
Modified: 2019-04-06 11:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description undying.k 2019-04-03 06:19:05 UTC
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
Comment 1 caulier.gilles 2019-04-03 06:46:05 UTC
Even if the backtrace do not point the problem in QtWebkit, i see a lots of secondary threads located in QtWebkit.

This components become not maintained step by step and QtWebEngine need to be used instead.

We provide Linux AppImage bundle using QtWebkit and we migrate progressively to QtWebEngine. QtWebkit compiled in the bundle need special options to work properly.

Please test with 6.1.0 pre release bundle to see if the problem is reproducible. File is here :

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

Gilles Caulier
Comment 2 undying.k 2019-04-06 09:51:44 UTC
Well, appimage is not works on my system.

./digikam-6.1.0-git-20190404T203330-qtwebkit-x86-64.appimage
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Note: to integrate this bundle to your desktop, use AppImageLauncher.
libudev.so.0
-- Preloading shared libs: :/tmp/.mount_digikauiX9H6/usr/lib64/libudev.so.0
digikam: error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: No such file or directory

ldd ./digikam-6.1.0-git-20190404T203330-qtwebkit-x86-64.appimage
  not a dynamic executable
Comment 3 caulier.gilles 2019-04-06 10:10:57 UTC
Hi,

yes, this library is removed from the AppImage bundle following the tip from AppImage team which release the linuxdeployqt tool (even if we do not use this program to build the bundle)

https://cgit.kde.org/digikam.git/tree/project/bundles/appimage/04-build-appimage.sh#n299

I can comment the line in script to enable the lib in the bundle, but i want to know more info before :

- Did you try the digiKam 6.0.0 appimage bundle before ? In this one the shared libs removed from the bundle was limited compared to the 6.1.0.

- I'm surprized that your system do not have libkeyutils.so.1. Can you confirm ? Can you install the library and try again with 6.1.0 bundle ?

Gilles Caulier
Comment 4 undying.k 2019-04-06 10:30:28 UTC
> Did you try the digiKam 6.0.0 appimage bundle before ? In this one the shared libs removed from the bundle was limited compared to the 6.1.0.

No. I'm on Gentoo so using ebuilds from portage.

> I'm surprized that your system do not have libkeyutils.so.1. Can you confirm? Can you install the library and try again with 6.1.0 bundle?

After installing sys-apps/keyutils-1.6 the appimage is started as expected. But if user must install additional libraries to run appimage then meaning of appimage is lost because dependencies are not resolved by appimage and still lays on user.
Comment 5 undying.k 2019-04-06 10:37:25 UTC
Have tried to reproduce the error on 6.0.1 version and it seems to work without crashing.
Comment 6 caulier.gilles 2019-04-06 11:51:35 UTC
Git commit 8b86f0b93b6bd9db6d0782b704a4b8185320b466 by Gilles Caulier.
Committed on 06/04/2019 at 11:49.
Pushed by cgilles into branch 'master'.

Do not remove libkeyutils.so.1 while building AppImage bundle (required under Gentoo Linux)
FIXED-IN: 6.1.0

M  +2    -1    NEWS
M  +2    -1    project/bundles/appimage/04-build-appimage.sh

https://commits.kde.org/digikam/8b86f0b93b6bd9db6d0782b704a4b8185320b466