Bug 345944

Summary: Crash when saving
Product: [Applications] digikam Reporter: Heikki <heikki>
Component: Showfoto-SaveAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.8.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description Heikki 2015-04-07 08:48:47 UTC
Application: showfoto (4.8.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.3-1-default x86_64
Distribution: "openSUSE 20150405 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened a photo, which was used as a desktop wallpaper, rotated it and saved it. Told to overwrite the old version.

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

Thread 4 (Thread 0x7f73d6024700 (LWP 11864)):
#0  0x00007f73f0a5291f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f73f2b19066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f73f542fefa in  () at /usr/lib64/libdigikamcore.so.4.8.0
#3  0x00007f73f2b18b7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f73f0a4e484 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f73f1fbca4d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f73c31bb700 (LWP 11868)):
[KCrash Handler]
#5  0x00007f73f2b13b76 in QMutex::lock() () at /usr/lib64/libQtCore.so.4
#6  0x00007f73f542b72d in  () at /usr/lib64/libdigikamcore.so.4.8.0
#7  0x00007f73f5403076 in Digikam::LoadSaveThread::run() () at /usr/lib64/libdigikamcore.so.4.8.0
#8  0x00007f73f5431d3e in Digikam::DynamicThread::DynamicThreadPriv::run() () at /usr/lib64/libdigikamcore.so.4.8.0
#9  0x00007f73f2b0ca8e in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f73f2b18b7f in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f73f0a4e484 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f73f1fbca4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f73c29ba700 (LWP 11869)):
#0  0x00007f73f0a52cc8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f73f2b19044 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f73f2b0cb9a in  () at /usr/lib64/libQtCore.so.4
#3  0x00007f73f2b18b7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f73f0a4e484 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f73f1fbca4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f73f5a0a940 (LWP 11863)):
#0  0x00007f73f0a5291f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f73f2b19066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f73f54313a8 in Digikam::DynamicThread::wait(QMutexLocker&) () at /usr/lib64/libdigikamcore.so.4.8.0
#3  0x00007f73f5431424 in Digikam::DynamicThread::shutDown() () at /usr/lib64/libdigikamcore.so.4.8.0
#4  0x00007f73f54067e1 in Digikam::ManagedLoadSaveThread::shutDown() () at /usr/lib64/libdigikamcore.so.4.8.0
#5  0x00007f73f541f79f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.4.8.0
#6  0x00007f73f541f8d9 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.4.8.0
#7  0x00000000004566e8 in  ()
#8  0x00000000004567b9 in  ()
#9  0x00007f73f2c32518 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#10 0x00007f73f3677cfb in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#11 0x00007f73f3a2d3b3 in QMainWindow::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#12 0x00007f73f442c549 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libkdeui.so.5
#13 0x00007f73f362880c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#14 0x00007f73f362ed4d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#15 0x00007f73f4340cda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#16 0x00007f73f2c1a1ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#17 0x00007f73f2c1d4bd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#18 0x00007f73f2c4783e in  () at /usr/lib64/libQtCore.so.4
#19 0x00007f73ec308c74 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f73ec308ec8 in  () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f73ec308f6c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f73f2c46ffe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#23 0x00007f73f36c5706 in  () at /usr/lib64/libQtGui.so.4
#24 0x00007f73f2c18daf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#25 0x00007f73f2c190a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#26 0x00007f73f2c1e4f9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#27 0x0000000000424939 in  ()
#28 0x00007f73f1ef68c5 in __libc_start_main () at /lib64/libc.so.6
#29 0x0000000000425159 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2015-04-07 09:55:35 UTC
There is no digiKam source code in trace.

Please install debug package and run shwofoto in GDB as explained here :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 caulier.gilles 2015-06-25 09:02:17 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 3 caulier.gilles 2015-08-23 14:35:14 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 4 caulier.gilles 2016-07-15 20:49:38 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier