Bug 306163 - digikam crash
Summary: digikam crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 2.6.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-02 16:11 UTC by Ralf Schoofs
Modified: 2016-07-10 13:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Schoofs 2012-09-02 16:11:00 UTC
Application: digikam (2.6.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I started adding alot of image files (psd too) into the database
- Custom settings of the application:
reading ora- and psd-files

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f2cc0229700 (LWP 14808)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2cdcd2658b in wait (time=18446744073709551615, this=0x134c680) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x134b548, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d66b0 in ?? ()
#4  0x00007f2cdcd2607b in QThreadPrivate::start (arg=0x1353930) at thread/qthread_unix.cpp:307
#5  0x00007f2cd7866e9a in start_thread (arg=0x7f2cc0229700) at pthread_create.c:308
#6  0x00007f2cdbf524bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2cbfa28700 (LWP 14809)):
#0  0x00007f2cd786a05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f2cb0000a60) at pthread_mutex_unlock.c:290
#2  0x00007f2cd54ef5d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cd54b383b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2cd54b3f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2cd54b4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2cdce549e6 in QEventDispatcherGlib::processEvents (this=0x7f2cb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f2cdce23f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f2cdce24177 in QEventLoop::exec (this=0x7f2cbfa27b50, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f2cdcd23057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f2cdce03c2f in QInotifyFileSystemWatcherEngine::run (this=0x130b8e0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f2cdcd2607b in QThreadPrivate::start (arg=0x130b8e0) at thread/qthread_unix.cpp:307
#12 0x00007f2cd7866e9a in start_thread (arg=0x7f2cbfa28700) at pthread_create.c:308
#13 0x00007f2cdbf524bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2cbf227700 (LWP 14811)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2cdcd2658b in wait (time=18446744073709551615, this=0x1bacaf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1ae8018, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2ce0142e31 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007f2cdcd2607b in QThreadPrivate::start (arg=0x1ae8000) at thread/qthread_unix.cpp:307
#5  0x00007f2cd7866e9a in start_thread (arg=0x7f2cbf227700) at pthread_create.c:308
#6  0x00007f2cdbf524bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2cbd148700 (LWP 14813)):
#0  0x00007f2cd54ef325 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2cd54ef5c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cd54b31f8 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cd54b3f04 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2cd54b4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2cdce549e6 in QEventDispatcherGlib::processEvents (this=0x7f2cac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2cdce23f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2cdce24177 in QEventLoop::exec (this=0x7f2cbd147b50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2cdcd23057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f2cdce03c2f in QInotifyFileSystemWatcherEngine::run (this=0x1cd6a20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f2cdcd2607b in QThreadPrivate::start (arg=0x1cd6a20) at thread/qthread_unix.cpp:307
#11 0x00007f2cd7866e9a in start_thread (arg=0x7f2cbd148700) at pthread_create.c:308
#12 0x00007f2cdbf524bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2ce2aeca00 (LWP 14807)):
[KCrash Handler]
#6  __pthread_create_2_1 (newthread=0x1ae7368, attr=0x7fffc040e670, start_routine=0x7f2cdcd25fa0 <QThreadPrivate::start(void*)>, arg=0x1ab8110) at pthread_create.c:452
#7  0x00007f2cdcd2587e in QThread::start (this=0x1ab8110, priority=<optimized out>) at thread/qthread_unix.cpp:609
#8  0x00007f2cdcd19da0 in tryStart (task=0x311dee0, this=0x1bac9a0) at concurrent/qthreadpool.cpp:203
#9  QThreadPoolPrivate::tryStart (this=0x1bac9a0, task=0x311dee0) at concurrent/qthreadpool.cpp:174
#10 0x00007f2cdcd19fd3 in QThreadPool::start (this=<optimized out>, runnable=0x311dee0, priority=0) at concurrent/qthreadpool.cpp:474
#11 0x00007f2ce0144a8c in Digikam::DynamicThread::start(QMutexLocker&) () from /usr/lib/libdigikamcore.so.2
#12 0x00007f2ce01052ec in Digikam::ManagedLoadSaveThread::loadThumbnail(Digikam::LoadingDescription const&) () from /usr/lib/libdigikamcore.so.2
#13 0x00007f2ce0129350 in Digikam::ThumbnailLoadThread::find(QString const&, int, QPixmap*, bool, QRect const&) () from /usr/lib/libdigikamcore.so.2
#14 0x00007f2ce0129553 in Digikam::ThumbnailLoadThread::find(QString const&, int) () from /usr/lib/libdigikamcore.so.2
#15 0x00000000006f63f5 in ?? ()
#16 0x00000000006fb219 in ?? ()
#17 0x00007f2cdce3ea06 in QObject::event (this=0x40904f0, e=<optimized out>) at kernel/qobject.cpp:1195
#18 0x00007f2cdd86f9eb in QWidget::event (this=0x40904f0, event=0x8147350) at kernel/qwidget.cpp:8830
#19 0x00007f2cdd81f7b4 in notify_helper (e=0x8147350, receiver=0x40904f0, this=0x1221f20) at kernel/qapplication.cpp:4556
#20 QApplicationPrivate::notify_helper (this=0x1221f20, receiver=0x40904f0, e=0x8147350) at kernel/qapplication.cpp:4528
#21 0x00007f2cdd824583 in QApplication::notify (this=0x7fffc0413330, receiver=0x40904f0, e=0x8147350) at kernel/qapplication.cpp:4417
#22 0x00007f2cde55a456 in KApplication::notify (this=0x7fffc0413330, receiver=0x40904f0, event=0x8147350) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f2cdce253ec in QCoreApplication::notifyInternal (this=0x7fffc0413330, receiver=0x40904f0, event=0x8147350) at kernel/qcoreapplication.cpp:915
#24 0x00007f2cdce291ca in sendEvent (event=0x8147350, receiver=0x40904f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11bc280) at kernel/qcoreapplication.cpp:1539
#26 0x00007f2cdce54553 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007f2cd54b3d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2cd54b40a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2cd54b4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2cdce5497f in QEventDispatcherGlib::processEvents (this=0x11bdb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f2cdd8c7cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f2cdce23f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f2cdce24177 in QEventLoop::exec (this=0x12ead10, flags=...) at kernel/qeventloop.cpp:204
#35 0x00000000005d2fcb in ?? ()
#36 0x0000000000516334 in ?? ()
#37 0x00000000004ca83f in ?? ()
#38 0x00000000004d509e in ?? ()
#39 0x00007f2cde4b05b4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#40 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#41 0x00007f2cdce39841 in QMetaObject::activate (sender=0x4205d90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc04100a0) at kernel/qobject.cpp:3547
#42 0x00007f2cdce410fe in QSignalMapper::mapped (this=<optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#43 0x00007f2cdce4169b in QSignalMapper::map (this=0x4205d90, sender=0x6ba0ae0) at kernel/qsignalmapper.cpp:266
#44 0x00007f2cdce39841 in QMetaObject::activate (sender=0x6ba0ae0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc0410230) at kernel/qobject.cpp:3547
#45 0x00007f2cddeb00c2 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#46 0x00007f2cddbedcae in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#47 0x00007f2cddbeefeb in QAbstractButtonPrivate::click (this=0x703ead0) at widgets/qabstractbutton.cpp:541
#48 0x00007f2cddbef25c in QAbstractButton::mouseReleaseEvent (this=0x6ba0ae0, e=0x7fffc0410b00) at widgets/qabstractbutton.cpp:1123
#49 0x00007f2cdd86ffb4 in QWidget::event (this=0x6ba0ae0, event=0x7fffc0410b00) at kernel/qwidget.cpp:8371
#50 0x00007f2cdd81f7b4 in notify_helper (e=0x7fffc0410b00, receiver=0x6ba0ae0, this=0x1221f20) at kernel/qapplication.cpp:4556
#51 QApplicationPrivate::notify_helper (this=0x1221f20, receiver=0x6ba0ae0, e=0x7fffc0410b00) at kernel/qapplication.cpp:4528
#52 0x00007f2cdd824f2f in QApplication::notify (this=<optimized out>, receiver=0x6ba0ae0, e=0x7fffc0410b00) at kernel/qapplication.cpp:4099
#53 0x00007f2cde55a456 in KApplication::notify (this=0x7fffc0413330, receiver=0x6ba0ae0, event=0x7fffc0410b00) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00007f2cdce253ec in QCoreApplication::notifyInternal (this=0x7fffc0413330, receiver=0x6ba0ae0, event=0x7fffc0410b00) at kernel/qcoreapplication.cpp:915
#55 0x00007f2cdd820782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=0x6ba0ae0, event=0x7fffc0410b00, alienWidget=0x6ba0ae0, nativeWidget=0x72c5ab0, buttonDown=0x6ba0ae0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#57 0x00007f2cdd89fb15 in QETWidget::translateMouseEvent (this=0x72c5ab0, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#58 0x00007f2cdd89eace in QApplication::x11ProcessEvent (this=0x7fffc0413330, event=0x7fffc04113d0) at kernel/qapplication_x11.cpp:3732
#59 0x00007f2cdd8c8052 in x11EventSourceDispatch (s=0x121e060, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007f2cd54b3d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f2cd54b40a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f2cd54b4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f2cdce5497f in QEventDispatcherGlib::processEvents (this=0x11bdb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00007f2cdd8c7cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007f2cdce23f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007f2cdce24177 in QEventLoop::exec (this=0x7fffc0411770, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007f2cddcefc16 in QDialog::exec (this=0x49f66c0) at dialogs/qdialog.cpp:554
#68 0x00000000004d5610 in ?? ()
#69 0x000000000058c8aa in ?? ()
#70 0x00007f2cdce39841 in QMetaObject::activate (sender=0x4257750, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc0411970) at kernel/qobject.cpp:3547
#71 0x00007f2cdd819072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#72 0x00007f2cdd81925f in QAction::activate (this=0x4257750, event=<optimized out>) at kernel/qaction.cpp:1257
#73 0x00007f2cddc6b3c9 in QMenuPrivate::activateCausedStack (this=0x1978fa0, causedStack=..., action=0x4257750, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#74 0x00007f2cddc71522 in QMenuPrivate::activateAction (this=0x1978fa0, action=0x4257750, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#75 0x00007f2cde61b1e0 in KMenu::mouseReleaseEvent (this=0x19771b0, e=0x7fffc0412540) at ../../kdeui/widgets/kmenu.cpp:464
#76 0x00007f2cdd86ffb4 in QWidget::event (this=0x19771b0, event=0x7fffc0412540) at kernel/qwidget.cpp:8371
#77 0x00007f2cddc72abb in QMenu::event (this=0x19771b0, e=0x7fffc0412540) at widgets/qmenu.cpp:2469
#78 0x00007f2cdd81f7b4 in notify_helper (e=0x7fffc0412540, receiver=0x19771b0, this=0x1221f20) at kernel/qapplication.cpp:4556
#79 QApplicationPrivate::notify_helper (this=0x1221f20, receiver=0x19771b0, e=0x7fffc0412540) at kernel/qapplication.cpp:4528
#80 0x00007f2cdd824f2f in QApplication::notify (this=<optimized out>, receiver=0x19771b0, e=0x7fffc0412540) at kernel/qapplication.cpp:4099
#81 0x00007f2cde55a456 in KApplication::notify (this=0x7fffc0413330, receiver=0x19771b0, event=0x7fffc0412540) at ../../kdeui/kernel/kapplication.cpp:311
#82 0x00007f2cdce253ec in QCoreApplication::notifyInternal (this=0x7fffc0413330, receiver=0x19771b0, event=0x7fffc0412540) at kernel/qcoreapplication.cpp:915
#83 0x00007f2cdd820782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#84 QApplicationPrivate::sendMouseEvent (receiver=0x19771b0, event=0x7fffc0412540, alienWidget=0x0, nativeWidget=0x19771b0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#85 0x00007f2cdd8a01e1 in QETWidget::translateMouseEvent (this=0x19771b0, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#86 0x00007f2cdd89eace in QApplication::x11ProcessEvent (this=0x7fffc0413330, event=0x7fffc0412e10) at kernel/qapplication_x11.cpp:3732
#87 0x00007f2cdd8c8052 in x11EventSourceDispatch (s=0x121e060, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#88 0x00007f2cd54b3d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007f2cd54b40a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007f2cd54b4164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#91 0x00007f2cdce5497f in QEventDispatcherGlib::processEvents (this=0x11bdb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#92 0x00007f2cdd8c7cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#93 0x00007f2cdce23f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#94 0x00007f2cdce24177 in QEventLoop::exec (this=0x7fffc04131b0, flags=...) at kernel/qeventloop.cpp:204
#95 0x00007f2cdce294c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#96 0x000000000048e44b in ?? ()
#97 0x00007f2cdbe8176d in __libc_start_main (main=0x48d360, argc=5, ubp_av=0x7fffc0413b58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc0413b48) at libc-start.c:226
#98 0x000000000048fc25 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-09-02 17:58:01 UTC
There is no vibile code from digiKam to hack in your trace. Please install digiKam debug package and try to give us a better GDB trace to investiguate.

Gilles Caulier
Comment 2 caulier.gilles 2015-06-27 13:46:33 UTC
New digiKam 4.11.0 is available :

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

Can you reproduce the problem with this release ?

Gilles caulier
Comment 3 caulier.gilles 2015-08-21 07:05:52 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-10 13:24:54 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier