Bug 391014 - Crashes on close
Summary: Crashes on close
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Core (show other bugs)
Version: 5.8.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-24 17:18 UTC by Bill
Modified: 2019-12-14 15:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill 2018-02-24 17:18:28 UTC
Application: showfoto (5.8.0)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.114-42-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
- What I was doing when the application crashed: Hit the close butten on the window bar and got a crash message.

-- Backtrace:
Application: Showfoto (showfoto), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1596e099c0 (LWP 3861))]

Thread 12 (Thread 0x7f153a013700 (LWP 3874)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a8ab in QWaitCondition::wait(QReadWriteLock*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f158e7b544b in QtAV::BlockingQueue<QRunnable*, QQueue>::take() () at /usr/lib64/libQtAV.so.1
#3  0x00007f158e8250cb in QtAV::ExtractThread::run() () at /usr/lib64/libQtAV.so.1
#4  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f153a814700 (LWP 3873)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a8ab in QWaitCondition::wait(QReadWriteLock*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f158e7b544b in QtAV::BlockingQueue<QRunnable*, QQueue>::take() () at /usr/lib64/libQtAV.so.1
#3  0x00007f158e8250cb in QtAV::ExtractThread::run() () at /usr/lib64/libQtAV.so.1
#4  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f153b015700 (LWP 3872)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a8ab in QWaitCondition::wait(QReadWriteLock*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f158e7b544b in QtAV::BlockingQueue<QRunnable*, QQueue>::take() () at /usr/lib64/libQtAV.so.1
#3  0x00007f158e8250cb in QtAV::ExtractThread::run() () at /usr/lib64/libQtAV.so.1
#4  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f153b816700 (LWP 3871)):
[KCrash Handler]
#6  0x00007f1593382445 in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f159605323f in  () at /usr/lib64/libdigikamcore.so.5.8.0
#8  0x00007f159602bcaa in Digikam::LoadSaveThread::run() () at /usr/lib64/libdigikamcore.so.5.8.0
#9  0x00007f1596069f1e in Digikam::DynamicThread::DynamicThreadPriv::run() () at /usr/lib64/libdigikamcore.so.5.8.0
#10 0x00007f159338685e in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f1548eb9700 (LWP 3870)):
#0  0x00007f159253f4a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a5e8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f15933869e0 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f1549724700 (LWP 3869)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a8ab in QWaitCondition::wait(QReadWriteLock*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f158e7b544b in QtAV::BlockingQueue<QRunnable*, QQueue>::take() () at /usr/lib64/libQtAV.so.1
#3  0x00007f158e8250cb in QtAV::ExtractThread::run() () at /usr/lib64/libQtAV.so.1
#4  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f154a0f3700 (LWP 3868)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a8ab in QWaitCondition::wait(QReadWriteLock*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f158e7b544b in QtAV::BlockingQueue<QRunnable*, QQueue>::take() () at /usr/lib64/libQtAV.so.1
#3  0x00007f158e8250cb in QtAV::ExtractThread::run() () at /usr/lib64/libQtAV.so.1
#4  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f154a8f4700 (LWP 3866)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a69b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f15960689a9 in  () at /usr/lib64/libdigikamcore.so.5.8.0
#3  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f15536ff700 (LWP 3865)):
#0  0x00007f1592a7930d in poll () at /lib64/libc.so.6
#1  0x00007f1588f96314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1588f9642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f159359c1ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1593549bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1593384f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1594bcf295 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f1593389a29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1560b73700 (LWP 3863)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f157a28f7ab in  () at /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f1561374700 (LWP 3862)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f157a28f7ab in  () at /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f159253a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f1592a81e8d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1596e099c0 (LWP 3861)):
#0  0x00007f159253f0ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f159338a69b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f159606a408 in Digikam::DynamicThread::wait(QMutexLocker&) () at /usr/lib64/libdigikamcore.so.5.8.0
#3  0x00007f159606a468 in Digikam::DynamicThread::shutDown() () at /usr/lib64/libdigikamcore.so.5.8.0
#4  0x00007f159602f871 in Digikam::ManagedLoadSaveThread::shutDown() () at /usr/lib64/libdigikamcore.so.5.8.0
#5  0x00007f159604963f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.5.8.0
#6  0x00007f1596049739 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.5.8.0
#7  0x000000000045e9ac in  ()
#8  0x000000000045ea39 in  ()
#9  0x00007f1593576e70 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f159428de9b in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f159439f75b in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f159539b097 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#13 0x00007f15953d7c85 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#14 0x00007f159424c28c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f15942508ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f159354bbe5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f159354d9ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f159359cb03 in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007f1588f96134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f1588f96388 in  () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f1588f9642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f159359c18c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f1593549bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f1593551ae6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#25 0x000000000043348a in  ()
#26 0x00007f15929b5725 in __libc_start_main () at /lib64/libc.so.6
#27 0x0000000000433e69 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2018-02-26 13:23:41 UTC
Problem is reproducible with digiKam appimage linux bundle 5.9.0 pre-release ?

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

To run showfoto, look bundle option on CLI :

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

Gilles Caulier
Comment 2 caulier.gilles 2018-08-17 21:27:18 UTC
Can you reproduce the dysfunction using digiKam 6.0.0 pre-release bundle available here :

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

Gilles Caulier
Comment 3 caulier.gilles 2018-12-31 11:51:33 UTC
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/
Comment 4 caulier.gilles 2019-03-07 05:21:16 UTC
Good news,

After 2 weeks of works, the pre-release 6.1.0 bundles are now reconstructed from scratch with:

- All OpenCV options for CUDA, OPenMP, and OPenCL disabled to prevent crashes
in face management.
- A large upgrade of Qt5 from 5.9.7 to 5.11.3.
- An upgrade to KF5 5.55.
- An upgrade to Ffmpeg 3.3.9
- The fontconfig/freetype integration in the bundle to reduce system
dependencies

Files can be downloaded here :

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

Please test and report.

Gilles Caulier
Comment 5 Maik Qualmann 2019-12-14 15:46:42 UTC
This crash was now been fixed. Before we go in the QMutex, we check whether the loading has been canceled because digiKam / showFoto is terminated.

Maik