Bug 345106

Summary: Crash while 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-03-13 08:27:32 UTC
Application: showfoto (4.8.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.1-1-default x86_64
Distribution: "openSUSE 20150311 (Tumbleweed) (x86_64)"

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

I opened a png photo with showphoto, resized the photo, clicked close. When asked, whether to overwrite the existing file I replied yes. A crash. The photo was resized.

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

Thread 4 (Thread 0x7f7cedbee700 (LWP 2808)):
#0  0x00007f7d07d3094f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f7d09df6066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f7d0c70cefa in  () at /usr/lib64/libdigikamcore.so.4.8.0
#3  0x00007f7d09df5b7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f7d07d2c4b4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f7d0929aa4d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7ce7fff700 (LWP 5526)):
[KCrash Handler]
#5  0x00007f7d09df0b76 in QMutex::lock() () at /usr/lib64/libQtCore.so.4
#6  0x00007f7d0c70872d in  () at /usr/lib64/libdigikamcore.so.4.8.0
#7  0x00007f7d0c6e0076 in Digikam::LoadSaveThread::run() () at /usr/lib64/libdigikamcore.so.4.8.0
#8  0x00007f7d0c70ed3e in Digikam::DynamicThread::DynamicThreadPriv::run() () at /usr/lib64/libdigikamcore.so.4.8.0
#9  0x00007f7d09de9a8e in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f7d09df5b7f in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f7d07d2c4b4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f7d0929aa4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7ce5fef700 (LWP 5528)):
#0  0x00007f7d07d30cf8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f7d09df6044 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f7d09de9b9a in  () at /usr/lib64/libQtCore.so.4
#3  0x00007f7d09df5b7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f7d07d2c4b4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f7d0929aa4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7d0cc96880 (LWP 2807)):
#0  0x00007f7d07d3094f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f7d09df6066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f7d0c70e3a8 in Digikam::DynamicThread::wait(QMutexLocker&) () at /usr/lib64/libdigikamcore.so.4.8.0
#3  0x00007f7d0c70e424 in Digikam::DynamicThread::shutDown() () at /usr/lib64/libdigikamcore.so.4.8.0
#4  0x00007f7d0c6e37e1 in Digikam::ManagedLoadSaveThread::shutDown() () at /usr/lib64/libdigikamcore.so.4.8.0
#5  0x00007f7d0c6fc79f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.4.8.0
#6  0x00007f7d0c6fc8d9 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () at /usr/lib64/libdigikamcore.so.4.8.0
#7  0x00000000004566e8 in  ()
#8  0x00000000004567b9 in  ()
#9  0x00007f7d09f0f518 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#10 0x00007f7d0a954cfb in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#11 0x00007f7d0ad0a3b3 in QMainWindow::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#12 0x00007f7d0b709549 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libkdeui.so.5
#13 0x00007f7d0a90580c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#14 0x00007f7d0a90bd4d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#15 0x00007f7d0b61dcda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#16 0x00007f7d09ef71ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#17 0x00007f7d09efa4bd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#18 0x00007f7d09f2483e in  () at /usr/lib64/libQtCore.so.4
#19 0x00007f7d035e7a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f7d035e7c48 in  () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f7d035e7cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f7d09f23ffe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#23 0x00007f7d0a9a2706 in  () at /usr/lib64/libQtGui.so.4
#24 0x00007f7d09ef5daf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#25 0x00007f7d09ef60a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#26 0x00007f7d09efb4f9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#27 0x0000000000424939 in  ()
#28 0x00007f7d091d48c5 in __libc_start_main () at /lib64/libc.so.6
#29 0x0000000000425159 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2015-03-13 09:51:49 UTC
There is no source code in your backtrace. Install digiKam debug package and run Showfoto into GDB as explained here :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 caulier.gilles 2015-06-25 09:02:18 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:34:48 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-07 11:01:55 UTC
This problem is not reproducible with last 5.0.0
I close this file now. Re-open it if necessary.
Gilles Caulier