Bug 319948

Summary: Crash after saving modified picture
Product: [Applications] digikam Reporter: Luc Sierens <luc>
Component: Database-ModelsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description Luc Sierens 2013-05-17 14:43:55 UTC
Application: digikam (3.0.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic i686
Distribution: Linux Mint 13 Maya

-- Information about the crash:
- What I was doing when the application crashed:
edited picture: free rotation, proportional cropping, color levels
selected next picture, saved without new version
digikam crash

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5e5a780 (LWP 2047))]

Thread 11 (Thread 0xb3950b40 (LWP 2066)):
#0  0x008ed416 in __kernel_vsyscall ()
#1  0x004e896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x059276ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06e89350 in wait (time=4294967295, this=0xa2a7640) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa2a75ac, mutex=0xa2a75a8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0821326e in Digikam::ScanController::run (this=0xa219b40) at /build/buildd/digikam-3.0.0/core/digikam/database/scancontroller.cpp:698
#6  0x06e88de0 in QThreadPrivate::start (arg=0xa219b40) at thread/qthread_unix.cpp:298
#7  0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 10 (Thread 0xb2fffb40 (LWP 2067)):
#0  0x008ed416 in __kernel_vsyscall ()
#1  0x0590948b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x027516ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02712bd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02713042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xb2600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x06f9c50d in QEventLoop::processEvents (this=0xb2fff200, flags=...) at kernel/qeventloop.cpp:149
#8  0x06f9c7a9 in QEventLoop::exec (this=0xb2fff200, flags=...) at kernel/qeventloop.cpp:204
#9  0x06e8594c in QThread::exec (this=0xa2a8000) at thread/qthread.cpp:501
#10 0x06f79b5d in QInotifyFileSystemWatcherEngine::run (this=0xa2a8000) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x06e88de0 in QThreadPrivate::start (arg=0xa2a8000) at thread/qthread_unix.cpp:298
#12 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 9 (Thread 0xb25ffb40 (LWP 2101)):
#0  0x008ed416 in __kernel_vsyscall ()
#1  0x004e896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x059276ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06e89350 in wait (time=4294967295, this=0xa327940) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa3de9d0, mutex=0xa3de9cc, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x06853f5c in Digikam::ParkingThread::run (this=0xa3de9c0) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:119
#6  0x06e88de0 in QThreadPrivate::start (arg=0xa3de9c0) at thread/qthread_unix.cpp:298
#7  0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0xa7d10b40 (LWP 2507)):
#0  0x05927aba in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x0590b678 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x02720a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x027130ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xb26352e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x06f9c50d in QEventLoop::processEvents (this=0xa7d101f8, flags=...) at kernel/qeventloop.cpp:149
#7  0x06f9c7a9 in QEventLoop::exec (this=0xa7d101f8, flags=...) at kernel/qeventloop.cpp:204
#8  0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xb99d498) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#9  0x06e7b39b in QThreadPoolThread::run (this=0xb2cee90) at concurrent/qthreadpool.cpp:107
#10 0x06e88de0 in QThreadPrivate::start (arg=0xb2cee90) at thread/qthread_unix.cpp:298
#11 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xac14db40 (LWP 3177)):
#0  0x004e6dc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x05927904 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x027523d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02712f85 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xacb5fc88, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x06f9c50d in QEventLoop::processEvents (this=0xac14d1f8, flags=...) at kernel/qeventloop.cpp:149
#7  0x06f9c7a9 in QEventLoop::exec (this=0xac14d1f8, flags=...) at kernel/qeventloop.cpp:204
#8  0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xb876a18) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#9  0x06e7b39b in QThreadPoolThread::run (this=0xb2cebf8) at concurrent/qthreadpool.cpp:107
#10 0x06e88de0 in QThreadPrivate::start (arg=0xb2cebf8) at thread/qthread_unix.cpp:298
#11 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xa9948b40 (LWP 3178)):
#0  0x06fd15ce in QTimerInfoList::timerWait (this=0xacb9d76c, tm=...) at kernel/qeventdispatcher_unix.cpp:475
#1  0x06fcfe23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa994806c) at kernel/qeventdispatcher_glib.cpp:136
#2  0x06fcfebd in timerSourcePrepare (source=0xacb9d738, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0x02712872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02712faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xacb1ffe0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x06f9c50d in QEventLoop::processEvents (this=0xa99481f8, flags=...) at kernel/qeventloop.cpp:149
#8  0x06f9c7a9 in QEventLoop::exec (this=0xa99481f8, flags=...) at kernel/qeventloop.cpp:204
#9  0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xc1fd788) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#10 0x06e7b39b in QThreadPoolThread::run (this=0xb2cf128) at concurrent/qthreadpool.cpp:107
#11 0x06e88de0 in QThreadPrivate::start (arg=0xb2cf128) at thread/qthread_unix.cpp:298
#12 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa2505b40 (LWP 3179)):
#0  0x059278d3 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0x027523d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x02712b85 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02713042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0x9a9f4d10, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x06f9c50d in QEventLoop::processEvents (this=0xa25051f8, flags=...) at kernel/qeventloop.cpp:149
#7  0x06f9c7a9 in QEventLoop::exec (this=0xa25051f8, flags=...) at kernel/qeventloop.cpp:204
#8  0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xb7362a0) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#9  0x06e7b39b in QThreadPoolThread::run (this=0xb2cf6e0) at concurrent/qthreadpool.cpp:107
#10 0x06e88de0 in QThreadPrivate::start (arg=0xb2cf6e0) at thread/qthread_unix.cpp:298
#11 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa2ea1b40 (LWP 3389)):
#0  0x059278ef in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0x027523d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0271287c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02712faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xa86229d8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x06f9c50d in QEventLoop::processEvents (this=0xa2ea11f8, flags=...) at kernel/qeventloop.cpp:149
#7  0x06f9c7a9 in QEventLoop::exec (this=0xa2ea11f8, flags=...) at kernel/qeventloop.cpp:204
#8  0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xa492020) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#9  0x06e7b39b in QThreadPoolThread::run (this=0xb2ccf70) at concurrent/qthreadpool.cpp:107
#10 0x06e88de0 in QThreadPrivate::start (arg=0xb2ccf70) at thread/qthread_unix.cpp:298
#11 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa0b4ab40 (LWP 3390)):
#0  0x00b25e70 in ___tls_get_addr () from /lib/ld-linux.so.2
#1  0x06e87d8f in get_thread_data () at thread/qthread_unix.cpp:174
#2  QThreadData::current () at thread/qthread_unix.cpp:200
#3  0x06fd0067 in postEventSourcePrepare (s=0x9a9db4b0, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:256
#4  0x06fd00c7 in postEventSourceCheck (source=0x9a9db4b0) at kernel/qeventdispatcher_glib.cpp:272
#5  0x02712b7b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x02713042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0xacb883f8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x06f9c50d in QEventLoop::processEvents (this=0xa0b4a1f8, flags=...) at kernel/qeventloop.cpp:149
#10 0x06f9c7a9 in QEventLoop::exec (this=0xa0b4a1f8, flags=...) at kernel/qeventloop.cpp:204
#11 0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xb5651b0) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#12 0x06e7b39b in QThreadPoolThread::run (this=0xb2d1888) at concurrent/qthreadpool.cpp:107
#13 0x06e88de0 in QThreadPrivate::start (arg=0xb2d1888) at thread/qthread_unix.cpp:298
#14 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0x9fb48b40 (LWP 3392)):
#0  0x008e1dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x06ee7315 in do_gettime (frac=0x9fb47f60, sec=0x9fb47f58) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x06fd1226 in QTimerInfoList::updateCurrentTime (this=0x9c3cc624) at kernel/qeventdispatcher_unix.cpp:343
#4  0x06fd157a in QTimerInfoList::timerWait (this=0x9c3cc624, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x06fcfe23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0x9fb4806c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x06fcfebd in timerSourcePrepare (source=0x9c3cc5f0, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02712872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02712faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x06fd08e7 in QEventDispatcherGlib::processEvents (this=0x9c38a9e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x06f9c50d in QEventLoop::processEvents (this=0x9fb481f8, flags=...) at kernel/qeventloop.cpp:149
#12 0x06f9c7a9 in QEventLoop::exec (this=0x9fb481f8, flags=...) at kernel/qeventloop.cpp:204
#13 0x068534fe in Digikam::WorkerObjectRunnable::run (this=0xbf54a58) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#14 0x06e7b39b in QThreadPoolThread::run (this=0xb2d15f0) at concurrent/qthreadpool.cpp:107
#15 0x06e88de0 in QThreadPrivate::start (arg=0xb2d15f0) at thread/qthread_unix.cpp:298
#16 0x004e4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x05919dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5e5a780 (LWP 2047)):
[KCrash Handler]
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0xb6c8798, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#8  0x03ff5343 in QSortFilterProxyModel::mapToSource (this=0xb6c8cc0, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#9  0x007958e3 in Digikam::ImageSortFilterModel::mapToSourceImageModel (this=0xb6c8cc0, index=...) at /build/buildd/digikam-3.0.0/core/libs/models/imagefiltermodel.cpp:127
#10 0x00795c2e in Digikam::ImageSortFilterModel::imageInfo (this=0xb6c8cc0, index=...) at /build/buildd/digikam-3.0.0/core/libs/models/imagefiltermodel.cpp:174
#11 0x080be914 in Digikam::ImageWindow::loadIndex (this=0xb7213c0, index=...) at /build/buildd/digikam-3.0.0/core/utilities/imageeditor/main/imagewindow.cpp:636
#12 0x080bec05 in Digikam::ImageWindow::slotForward (this=0xb7213c0) at /build/buildd/digikam-3.0.0/core/utilities/imageeditor/main/imagewindow.cpp:642
#13 0x06fb46b1 in QMetaObject::activate (sender=0xb9515a0, m=0x85ab158, local_signal_index=1, argv=0xbfb8f6c8) at kernel/qobject.cpp:3547
#14 0x039a89bd in QAction::triggered (this=0xb9515a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#15 0x039a8c5b in QAction::activate (this=0xb9515a0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#16 0x03eb5410 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#17 QToolButton::nextCheckState (this=0xb98a640) at widgets/qtoolbutton.cpp:1144
#18 0x03ddcc57 in QAbstractButtonPrivate::click (this=0xb98eb40) at widgets/qabstractbutton.cpp:530
#19 0x03ddcf56 in QAbstractButton::mouseReleaseEvent (this=0xb98a640, e=0xbfb8fdc4) at widgets/qabstractbutton.cpp:1123
#20 0x03eb54ad in QToolButton::mouseReleaseEvent (this=0xb98a640, e=0xbfb8fdc4) at widgets/qtoolbutton.cpp:718
#21 0x03a0a1ac in QWidget::event (this=0xb98a640, event=0xbfb8fdc4) at kernel/qwidget.cpp:8362
#22 0x03ddc1f9 in QAbstractButton::event (this=0xb98a640, e=0xbfb8fdc4) at widgets/qabstractbutton.cpp:1082
#23 0x03eb6bdc in QToolButton::event (this=0xb98a640, event=0xbfb8fdc4) at widgets/qtoolbutton.cpp:1160
#24 0x039afed4 in notify_helper (e=0xbfb8fdc4, receiver=0xb98a640, this=0xa0c7580) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0xa0c7580, receiver=0xb98a640, e=0xbfb8fdc4) at kernel/qapplication.cpp:4531
#26 0x039b6024 in QApplication::notify (this=0xa0c7580, receiver=0xb98a640, e=0xbfb8fdc4) at kernel/qapplication.cpp:4102
#27 0x05caee01 in KApplication::notify (this=0xbfb90698, receiver=0xb98a640, event=0xbfb8fdc4) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x06f9d97e in QCoreApplication::notifyInternal (this=0xbfb90698, receiver=0xb98a640, event=0xbfb8fdc4) at kernel/qcoreapplication.cpp:876
#29 0x039b0e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QApplicationPrivate::sendMouseEvent (receiver=0xb98a640, event=0xbfb8fdc4, alienWidget=0xb98a640, nativeWidget=0xb97ff10, buttonDown=0x4344cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#31 0x03a3d074 in QETWidget::translateMouseEvent (this=0xb97ff10, event=0xbfb9027c) at kernel/qapplication_x11.cpp:4617
#32 0x03a3bc0d in QApplication::x11ProcessEvent (this=0xbfb90698, event=0xbfb9027c) at kernel/qapplication_x11.cpp:3732
#33 0x03a68eac in x11EventSourceDispatch (s=0xa0c72c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x02712d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x02713125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x02713201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x06fd0887 in QEventDispatcherGlib::processEvents (this=0xa0c4698, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x03a68aaa in QGuiEventDispatcherGlib::processEvents (this=0xa0c4698, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x06f9c50d in QEventLoop::processEvents (this=0xbfb90574, flags=...) at kernel/qeventloop.cpp:149
#40 0x06f9c7a9 in QEventLoop::exec (this=0xbfb90574, flags=...) at kernel/qeventloop.cpp:204
#41 0x06fa1eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x039ada74 in QApplication::exec () at kernel/qapplication.cpp:3820
#43 0x080b91b1 in main (argc=70477016, argv=0xb6c8cc0) at /build/buildd/digikam-3.0.0/core/digikam/main/main.cpp:234

This bug may be a duplicate of or related to bug 285250.

Possible duplicates by query: bug 319745, bug 317670, bug 315709, bug 313500, bug 307398.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-05-17 17:56:04 UTC

*** This bug has been marked as a duplicate of bug 285250 ***
Comment 2 caulier.gilles 2021-08-26 11:33:19 UTC
Fixed with #285250