Bug 276999

Summary: Crash on saving changing EXIF settings
Product: [Applications] digikam Reporter: Torbjörn K. <torbjoern.k>
Component: Metadata-ExifAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, JimShip
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:
Attachments: GDB log of changing metadata settings

Description Torbjörn K. 2011-07-03 12:24:33 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.6.90 (4.7 RC1) "release 2"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

After making changes to the EXIF settings and applying them, digikam crashes.

(e.g. acitvating or deactivating resetting the image rotation)


Digikam compiled from git master.

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fc577d95860 (LWP 31566))]

Thread 7 (Thread 0x7fc558c80700 (LWP 31567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc570d9977b in wait (this=<value optimized out>, mutex=0xd67008, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd67008, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005b5da0 in Digikam::ScanController::run (this=0xd66cd0) at /kde/kdesrc/git/extragear/graphics/digikam/digikam/database/scancontroller.cpp:618
#4  0x00007fc570d99095 in QThreadPrivate::start (arg=0xd66cd0) at thread/qthread_unix.cpp:320
#5  0x00007fc570b08a3f in start_thread (arg=0x7fc558c80700) at pthread_create.c:297
#6  0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc55847f700 (LWP 31568)):
#0  operator!= (s=0xd2b480, timeout=0x7fc55847eb4c) at ../../src/corelib/thread/qbasicatomic.h:75
#1  postEventSourcePrepare (s=0xd2b480, timeout=0x7fc55847eb4c) at kernel/qeventdispatcher_glib.cpp:265
#2  0x00007fc569081087 in g_main_context_prepare (context=0xd567e0, priority=0x7fc55847ebbc) at gmain.c:2761
#3  0x00007fc569081fa9 in g_main_context_iterate (context=0xd567e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3071
#4  0x00007fc569082650 in g_main_context_iteration (context=0xd567e0, may_block=1) at gmain.c:3154
#5  0x00007fc570ead286 in QEventDispatcherGlib::processEvents (this=0xd2be60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fc570e818d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc570e81ae5 in QEventLoop::exec (this=0x7fc55847ece0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fc570d967a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007fc570e63008 in QInotifyFileSystemWatcherEngine::run (this=0xd29b40) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fc570d99095 in QThreadPrivate::start (arg=0xd29b40) at thread/qthread_unix.cpp:320
#11 0x00007fc570b08a3f in start_thread (arg=0x7fc55847f700) at pthread_create.c:297
#12 0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc557c7e700 (LWP 31571)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc570d9977b in wait (this=<value optimized out>, mutex=0xda73f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xda73f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc5748969e7 in Digikam::ParkingThread::run (this=0xda73e0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threads/threadmanager.cpp:119
#4  0x00007fc570d99095 in QThreadPrivate::start (arg=0xda73e0) at thread/qthread_unix.cpp:320
#5  0x00007fc570b08a3f in start_thread (arg=0x7fc557c7e700) at pthread_create.c:297
#6  0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc540d6f700 (LWP 32226)):
#0  0x00007fc56ef740ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc56ef1e573 in _IO_file_xsgetn (fp=0x1eb6610, data=<value optimized out>, n=4096) at fileops.c:1457
#2  0x00007fc56ef1269a in _IO_fread (buf=<value optimized out>, size=1, count=4096, fp=0x1eb6610) at iofread.c:44
#3  0x00007fc56e5ef354 in ?? () from /usr/lib64/libjpeg.so.62
#4  0x00007fc56e5f18be in jpeg_fill_bit_buffer () from /usr/lib64/libjpeg.so.62
#5  0x00007fc56e5f2e0f in ?? () from /usr/lib64/libjpeg.so.62
#6  0x00007fc56e5efb67 in ?? () from /usr/lib64/libjpeg.so.62
#7  0x00007fc56e5f3afe in ?? () from /usr/lib64/libjpeg.so.62
#8  0x00007fc56e5ed872 in jpeg_read_scanlines () from /usr/lib64/libjpeg.so.62
#9  0x00007fc5746dd86b in Digikam::JPEGLoader::load (this=0x7fc540d6dde0, filePath=<value optimized out>, observer=0x49d7bd0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/dimg/loaders/jpegloader.cpp:422
#10 0x00007fc5746bb0d1 in Digikam::DImg::load (this=0x7fc540d6e440, filePath=..., loadFlagsInt=13, observer=0x49d7bd0, rawDecodingSettings=<value optimized out>) at /kde/kdesrc/git/extragear/graphics/digikam/libs/dimg/dimg.cpp:423
#11 0x00007fc5746bc314 in Digikam::DImg::load (this=0x7fc540d6e440, filePath=..., loadMetadata=<value optimized out>, loadICCData=<value optimized out>, loadUniqueHash=<value optimized out>, loadImageHistory=<value optimized out>, observer=0x49d7bd0, rawDecodingSettings=...) at /kde/kdesrc/git/extragear/graphics/digikam/libs/dimg/dimg.cpp:397
#12 0x00007fc57487337c in Digikam::ThumbnailCreator::loadWithDImg (this=0xe770d0, path=..., profile=0x7fc540d6e700) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:558
#13 0x00007fc574873783 in Digikam::ThumbnailCreator::createThumbnail (this=0xe770d0, info=<value optimized out>, detailRect=<value optimized out>, isFace=false) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:473
#14 0x00007fc574874433 in Digikam::ThumbnailCreator::load (this=0xe770d0, path=..., rect=..., pregenerate=true) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:257
#15 0x00007fc5748757ce in Digikam::ThumbnailCreator::pregenerate (this=<value optimized out>, path=<value optimized out>) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:180
#16 0x00007fc574884980 in Digikam::ThumbnailLoadingTask::execute (this=0x49d7bc0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/thumbnailtask.cpp:79
#17 0x00007fc5748579e6 in Digikam::LoadSaveThread::run (this=0xddb2d0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threadimageio/loadsavethread.cpp:118
#18 0x00007fc574897ffe in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xde40f0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threads/dynamicthread.cpp:328
#19 0x00007fc570d8dea8 in QThreadPoolThread::run (this=0x3d02de0) at concurrent/qthreadpool.cpp:106
#20 0x00007fc570d99095 in QThreadPrivate::start (arg=0x3d02de0) at thread/qthread_unix.cpp:320
#21 0x00007fc570b08a3f in start_thread (arg=0x7fc540d6f700) at pthread_create.c:297
#22 0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc541574700 (LWP 32241)):
#0  0x00007fc570b0c67e in __pthread_mutex_unlock_usercnt (mutex=0x3fe8be8, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007fc56908107a in g_main_context_prepare (context=0x3fe8be0, priority=0x7fc541573b8c) at gmain.c:2759
#2  0x00007fc569081fa9 in g_main_context_iterate (context=0x3fe8be0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3071
#3  0x00007fc569082650 in g_main_context_iteration (context=0x3fe8be0, may_block=1) at gmain.c:3154
#4  0x00007fc570ead286 in QEventDispatcherGlib::processEvents (this=0x4ae5d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc570e818d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc570e81ae5 in QEventLoop::exec (this=0x7fc541573cc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc57489603e in Digikam::WorkerObjectRunnable::run (this=0x43faba0) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threads/threadmanager.cpp:196
#8  0x00007fc570d8dea8 in QThreadPoolThread::run (this=0x404fcc0) at concurrent/qthreadpool.cpp:106
#9  0x00007fc570d99095 in QThreadPrivate::start (arg=0x404fcc0) at thread/qthread_unix.cpp:320
#10 0x00007fc570b08a3f in start_thread (arg=0x7fc541574700) at pthread_create.c:297
#11 0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc548611700 (LWP 32242)):
#0  0x00007fc570b0c67e in __pthread_mutex_unlock_usercnt (mutex=0x4fee708, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007fc5690814e5 in g_main_context_query (context=0x4fee700, max_priority=<value optimized out>, timeout=0x7fc548610b88, fds=<value optimized out>, n_fds=1) at gmain.c:2870
#2  0x00007fc56908201b in g_main_context_iterate (context=0x4fee700, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3073
#3  0x00007fc569082650 in g_main_context_iteration (context=0x4fee700, may_block=1) at gmain.c:3154
#4  0x00007fc570ead286 in QEventDispatcherGlib::processEvents (this=0x4e16be0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc570e818d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc570e81ae5 in QEventLoop::exec (this=0x7fc548610cc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc57489603e in Digikam::WorkerObjectRunnable::run (this=0x4858e70) at /kde/kdesrc/git/extragear/graphics/digikam/libs/threads/threadmanager.cpp:196
#8  0x00007fc570d8dea8 in QThreadPoolThread::run (this=0x2039980) at concurrent/qthreadpool.cpp:106
#9  0x00007fc570d99095 in QThreadPrivate::start (arg=0x2039980) at thread/qthread_unix.cpp:320
#10 0x00007fc570b08a3f in start_thread (arg=0x7fc548611700) at pthread_create.c:297
#11 0x00007fc56ef8167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc577d95860 (LWP 31566)):
[KCrash Handler]
#6  0x00000000005aa5a2 in fontMetrics (this=<value optimized out>) at /usr/include/QtGui/qwidget.h:971
#7  updateHeight (this=<value optimized out>) at /kde/kdesrc/git/extragear/graphics/digikam/digikam/album/albumtreeview.cpp:113
#8  Digikam::AbstractAlbumTreeView::albumSettingsChanged (this=<value optimized out>) at /kde/kdesrc/git/extragear/graphics/digikam/digikam/album/albumtreeview.cpp:1019
#9  0x00000000005ae118 in Digikam::AbstractAlbumTreeView::qt_metacall (this=0x42cb5d0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff2bc170d0) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/albumtreeview.moc:126
#10 0x00000000005ae190 in Digikam::AbstractCountingAlbumTreeView::qt_metacall (this=0x42cb5d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2bc170d0) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/albumtreeview.moc:205
#11 0x00000000005ae410 in qt_metacall (this=0x42cb5d0, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/albumtreeview.moc:264
#12 Digikam::TagTreeView::qt_metacall (this=0x42cb5d0, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/albumtreeview.moc:402
#13 0x00007fc570e96a5f in QMetaObject::activate (sender=0xd1d580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00000000004cbc88 in Digikam::Setup::slotOkClicked (this=0x450aee0) at /kde/kdesrc/git/extragear/graphics/digikam/utilities/setup/setup.cpp:473
#15 0x00000000004cbef0 in Digikam::Setup::qt_metacall (this=0x450aee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/setup.moc:72
#16 0x00007fc570e96a5f in QMetaObject::activate (sender=0x450aee0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007fc571822278 in KDialog::slotButtonClicked (this=0x450aee0, button=4) at /usr/src/debug/kdelibs-4.6.90/kdeui/dialogs/kdialog.cpp:883
#18 0x00007fc571822662 in KDialog::qt_metacall (this=0x450aee0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff2bc17480) at /usr/src/debug/kdelibs-4.6.90/build/kdeui/kdialog.moc:190
#19 0x00007fc5718f7700 in KPageDialog::qt_metacall (this=0x450aee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2bc17480) at /usr/src/debug/kdelibs-4.6.90/build/kdeui/kpagedialog.moc:70
#20 0x00000000004cbed8 in Digikam::Setup::qt_metacall (this=0x450aee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/setup.moc:67
#21 0x00007fc570e96a5f in QMetaObject::activate (sender=0x3c93180, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2bc17480) at kernel/qobject.cpp:3278
#22 0x00007fc570e9b43e in QSignalMapper::mapped (this=<value optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#23 0x00007fc570e9b665 in QSignalMapper::map (this=0x3c93180, sender=0x4411db0) at kernel/qsignalmapper.cpp:266
#24 0x00007fc570e9bd20 in QSignalMapper::qt_metacall (this=0x3c93180, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff2bc175f0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#25 0x00007fc570e96a5f in QMetaObject::activate (sender=0x4411db0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2bc175f0) at kernel/qobject.cpp:3278
#26 0x00007fc5704225a2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#27 0x00007fc570168f1b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#28 0x00007fc57016a4db in QAbstractButtonPrivate::click (this=0x4aaea80) at widgets/qabstractbutton.cpp:539
#29 0x00007fc57016a74c in QAbstractButton::mouseReleaseEvent (this=0x4411db0, e=0x7fff2bc17f70) at widgets/qabstractbutton.cpp:1121
#30 0x00007fc56fe06c5c in QWidget::event (this=0x4411db0, event=0x7fff2bc17f70) at kernel/qwidget.cpp:8259
#31 0x00007fc56fdb5144 in QApplicationPrivate::notify_helper (this=0xb4cb10, receiver=0x4411db0, e=0x7fff2bc17f70) at kernel/qapplication.cpp:4462
#32 0x00007fc56fdbdf7c in QApplication::notify (this=<value optimized out>, receiver=0x4411db0, e=0x7fff2bc17f70) at kernel/qapplication.cpp:4023
#33 0x00007fc5718c8656 in KApplication::notify (this=0x7fff2bc1a870, receiver=0x4411db0, event=0x7fff2bc17f70) at /usr/src/debug/kdelibs-4.6.90/kdeui/kernel/kapplication.cpp:311
#34 0x00007fc570e8247c in QCoreApplication::notifyInternal (this=0x7fff2bc1a870, receiver=0x4411db0, event=0x7fff2bc17f70) at kernel/qcoreapplication.cpp:731
#35 0x00007fc56fdb6155 in sendEvent (receiver=0x4411db0, event=0x7fff2bc17f70, alienWidget=0x4411db0, nativeWidget=0x450aee0, buttonDown=0x7fc570887198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x4411db0, event=0x7fff2bc17f70, alienWidget=0x4411db0, nativeWidget=0x450aee0, buttonDown=0x7fc570887198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#37 0x00007fc56fe34b48 in QETWidget::translateMouseEvent (this=0x450aee0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#38 0x00007fc56fe33209 in QApplication::x11ProcessEvent (this=0x7fff2bc1a870, event=0x7fff2bc188d0) at kernel/qapplication_x11.cpp:3587
#39 0x00007fc56fe5af12 in x11EventSourceDispatch (s=0xb51e60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007fc569081bd3 in g_main_dispatch (context=0xb50960) at gmain.c:2440
#41 g_main_context_dispatch (context=0xb50960) at gmain.c:3013
#42 0x00007fc5690823b0 in g_main_context_iterate (context=0xb50960, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#43 0x00007fc569082650 in g_main_context_iteration (context=0xb50960, may_block=1) at gmain.c:3154
#44 0x00007fc570ead22f in QEventDispatcherGlib::processEvents (this=0xb173a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007fc56fe5abae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007fc570e818d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fc570e81ae5 in QEventLoop::exec (this=0x7fff2bc18bf0, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007fc57026852e in QDialog::exec (this=0x450aee0) at dialogs/qdialog.cpp:552
#49 0x00000000004cefc0 in Digikam::Setup::exec (parent=0xd0c9e0, page=Digikam::Setup::LastPageUsed) at /kde/kdesrc/git/extragear/graphics/digikam/utilities/setup/setup.cpp:414
#50 0x000000000056db9f in Digikam::DigikamApp::qt_metacall (this=0xd0c9e0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fff2bc18da0) at /kde/kdebuild/kde/extragear/graphics/digikam/digikam/digikamapp.moc:222
#51 0x00007fc570e96a5f in QMetaObject::activate (sender=0x1b4e760, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2bc18da0) at kernel/qobject.cpp:3278
#52 0x00007fc56fdaedb2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#53 0x00007fc56fdaefaa in QAction::activate (this=0x1b4e760, event=<value optimized out>) at kernel/qaction.cpp:1257
#54 0x00007fc5701e6023 in QMenuPrivate::activateCausedStack (this=0x1e48610, causedStack=..., action=0x1b4e760, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#55 0x00007fc5701ec03a in QMenuPrivate::activateAction (this=0x1e48610, action=0x1b4e760, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#56 0x00007fc571989aed in KMenu::mouseReleaseEvent (this=0x1ce3ea0, e=<value optimized out>) at /usr/src/debug/kdelibs-4.6.90/kdeui/widgets/kmenu.cpp:458
#57 0x00007fc56fe06c5c in QWidget::event (this=0x1ce3ea0, event=0x7fff2bc19a20) at kernel/qwidget.cpp:8259
#58 0x00007fc5701ed22b in QMenu::event (this=0x1ce3ea0, e=0x7fff2bc19a20) at widgets/qmenu.cpp:2415
#59 0x00007fc56fdb5144 in QApplicationPrivate::notify_helper (this=0xb4cb10, receiver=0x1ce3ea0, e=0x7fff2bc19a20) at kernel/qapplication.cpp:4462
#60 0x00007fc56fdbdf7c in QApplication::notify (this=<value optimized out>, receiver=0x1ce3ea0, e=0x7fff2bc19a20) at kernel/qapplication.cpp:4023
#61 0x00007fc5718c8656 in KApplication::notify (this=0x7fff2bc1a870, receiver=0x1ce3ea0, event=0x7fff2bc19a20) at /usr/src/debug/kdelibs-4.6.90/kdeui/kernel/kapplication.cpp:311
#62 0x00007fc570e8247c in QCoreApplication::notifyInternal (this=0x7fff2bc1a870, receiver=0x1ce3ea0, event=0x7fff2bc19a20) at kernel/qcoreapplication.cpp:731
#63 0x00007fc56fdb6155 in sendEvent (receiver=0x1ce3ea0, event=0x7fff2bc19a20, alienWidget=0x0, nativeWidget=0x1ce3ea0, buttonDown=0x7fc570887198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#64 QApplicationPrivate::sendMouseEvent (receiver=0x1ce3ea0, event=0x7fff2bc19a20, alienWidget=0x0, nativeWidget=0x1ce3ea0, buttonDown=0x7fc570887198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#65 0x00007fc56fe34d94 in QETWidget::translateMouseEvent (this=0x1ce3ea0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#66 0x00007fc56fe33209 in QApplication::x11ProcessEvent (this=0x7fff2bc1a870, event=0x7fff2bc1a380) at kernel/qapplication_x11.cpp:3587
#67 0x00007fc56fe5af12 in x11EventSourceDispatch (s=0xb51e60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#68 0x00007fc569081bd3 in g_main_dispatch (context=0xb50960) at gmain.c:2440
#69 g_main_context_dispatch (context=0xb50960) at gmain.c:3013
#70 0x00007fc5690823b0 in g_main_context_iterate (context=0xb50960, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#71 0x00007fc569082650 in g_main_context_iteration (context=0xb50960, may_block=1) at gmain.c:3154
#72 0x00007fc570ead22f in QEventDispatcherGlib::processEvents (this=0xb173a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x00007fc56fe5abae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007fc570e818d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007fc570e81ae5 in QEventLoop::exec (this=0x7fff2bc1a6a0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00007fc570e85f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#77 0x00000000006847e5 in main (argc=11806976, argv=0x7fff00000000) at /kde/kdesrc/git/extragear/graphics/digikam/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2011-07-03 13:09:47 UTC
Strange. It crash about font management in Qt4 when Album Tree view is updated...

Gilles Caulier
Comment 2 Torbjörn K. 2011-07-03 13:18:24 UTC
Created attachment 61574 [details]
GDB log of changing metadata settings

I tried reproducing this bug while having digikam launched from within GDB. Unfortunately, just making some changes to the metadata EXIF-settings does not trigger this bug. The crash occurs there (I experienced it the second time) but is not caused there.

However, I attached the GDB log for launching digikam, opening the settings window, switching to metadata settings, activating, applying, reopening the settings window and deactivating this setting again and closing digikam.

While reading the log I discovered some warnings/errors in the markup of text messages. I'll try exploring those.
Comment 3 caulier.gilles 2011-07-03 13:26:34 UTC
Sound like the thumbnail database is broken :

digikam(958)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "" 
Error messages: "Anweisung kann nicht ausgeführt werden" "database disk image is malformed" 11 2 QSqlError(-1, "", "") 
Bound values:  ()
digikam(958)/digikam (core) Digikam::DatabaseCoreBackend::execDBAction: Error while executing DBAction [ "CreateThumbnailsDB" ] Statement [ "CREATE TABLE Thumbnails
                            (id INTEGER PRIMARY KEY,
                            type INTEGER,
                            modificationDate DATETIME,
                            orientationHint INTEGER,
                            data BLOB)" ]
Gilles Caulier
Comment 4 Marcel Wiesweg 2011-07-11 15:51:03 UTC
Probably connected with the broken database you discovered in the other bugreport?
Comment 5 caulier.gilles 2011-11-03 12:42:27 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 6 caulier.gilles 2011-11-15 09:58:31 UTC
*** Bug 286641 has been marked as a duplicate of this bug. ***
Comment 7 caulier.gilles 2011-12-12 20:09:51 UTC
Torbjörn,

This entry still valid with 2.4 release ?

Gilles Caulier
Comment 8 caulier.gilles 2015-06-27 13:42:59 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 9 Jim Shipman 2015-06-27 15:39:14 UTC
I have not seen this crash in version LibExiv2 2.4 (digikam 4.10.0).