Bug 330534 - Just crashed when updating database
Summary: Just crashed when updating database
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-29 12:10 UTC by Steve
Modified: 2016-07-09 15:55 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 Steve 2014-01-29 12:10:21 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed: I just set the app to re-build its database, duplicates, fingerprints etc. etc. for changed files.

-- 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 0x7f2e6fedeac0 (LWP 31977))]

Thread 10 (Thread 0x7f2e4b0a6700 (LWP 31981)):
#0  0x00007f2e69842f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2e528ac198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e4b0a6700) at pthread_create.c:311
#3  0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f2e40a57700 (LWP 31982)):
#0  0x00007f2e698416bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2e4f6efe61 in ?? () from /usr/lib/nvidia-319-updates/tls/libnvidia-tls.so.319.60
#2  0x00007f2e621ad6b0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e6216e20c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2e6216e67b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2e6216eb4a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2e53c0cba6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f2e62193135 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e40a57700) at pthread_create.c:311
#9  0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f2e38ea2700 (LWP 31983)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2e6a631406 in wait (time=18446744073709551615, this=0x2c23630) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2c23538, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5c4e in ?? ()
#4  0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x2c232d0) at thread/qthread_unix.cpp:338
#5  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e38ea2700) at pthread_create.c:311
#6  0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f2e33fff700 (LWP 31984)):
#0  0x00007f2e69842f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2e6216e6e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e6216e7ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e6a75da76 in QEventDispatcherGlib::processEvents (this=0x7f2e2c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2e6a72f5ef in QEventLoop::processEvents (this=this@entry=0x7f2e33ffea70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e6a72f8e5 in QEventLoop::exec (this=this@entry=0x7f2e33ffea70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2e6a62e88f in QThread::exec (this=this@entry=0x2c25e30) at thread/qthread.cpp:542
#7  0x00007f2e6a710d13 in QInotifyFileSystemWatcherEngine::run (this=0x2c25e30) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x2c25e30) at thread/qthread_unix.cpp:338
#9  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e33fff700) at pthread_create.c:311
#10 0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f2e337fe700 (LWP 31998)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2e6a631406 in wait (time=18446744073709551615, this=0x2e92a40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d063d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2e6d4ac16a in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#4  0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x2d063c0) at thread/qthread_unix.cpp:338
#5  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e337fe700) at pthread_create.c:311
#6  0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f2e3263a700 (LWP 32000)):
#0  0x00007f2e69842f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2e6216e6e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e6216e7ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e6a75da76 in QEventDispatcherGlib::processEvents (this=0x7f2e280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2e6a72f5ef in QEventLoop::processEvents (this=this@entry=0x7f2e32639a70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e6a72f8e5 in QEventLoop::exec (this=this@entry=0x7f2e32639a70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2e6a62e88f in QThread::exec (this=this@entry=0x31b7450) at thread/qthread.cpp:542
#7  0x00007f2e6a710d13 in QInotifyFileSystemWatcherEngine::run (this=0x31b7450) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x31b7450) at thread/qthread_unix.cpp:338
#9  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e3263a700) at pthread_create.c:311
#10 0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f2e163f8700 (LWP 4137)):
#0  0x00007f2e62140420 in pthread_mutex_lock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2e621ae3e1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e6216dd99 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e6216e603 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2e6216e7ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2e6a75da76 in QEventDispatcherGlib::processEvents (this=0x7f2da018d2a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2e6a72f5ef in QEventLoop::processEvents (this=this@entry=0x7f2e163f7a40, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2e6a72f8e5 in QEventLoop::exec (this=0x7f2e163f7a40, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2e6d4ab813 in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#9  0x00007f2e6a6247ae in QThreadPoolThread::run (this=0x4487550) at concurrent/qthreadpool.cpp:107
#10 0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x4487550) at thread/qthread_unix.cpp:338
#11 0x00007f2e64b9bf6e in start_thread (arg=0x7f2e163f8700) at pthread_create.c:311
#12 0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f2e128f0700 (LWP 5256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2e6a631406 in wait (time=18446744073709551615, this=0x18995c30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17396a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2e6d8fd5b1 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.22
#4  0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x1802c3b0) at thread/qthread_unix.cpp:338
#5  0x00007f2e64b9bf6e in start_thread (arg=0x7f2e128f0700) at pthread_create.c:311
#6  0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f2e120ef700 (LWP 5257)):
#0  _int_free (av=0x7f2da8000020, p=0x7f2da8b11260, have_lock=0) at malloc.c:3837
#1  0x00007f2e65f5bc06 in Exiv2::XmpNsInfo::operator==(Exiv2::XmpNsInfo::Prefix const&) const () from /usr/lib/libexiv2.so.12
#2  0x00007f2e65f5bd07 in Exiv2::XmpProperties::lookupNsRegistry(Exiv2::XmpNsInfo::Prefix const&) () from /usr/lib/libexiv2.so.12
#3  0x00007f2e65f5c981 in Exiv2::XmpProperties::nsInfo(std::string const&) () from /usr/lib/libexiv2.so.12
#4  0x00007f2e65f5cae0 in Exiv2::XmpProperties::ns(std::string const&) () from /usr/lib/libexiv2.so.12
#5  0x00007f2e65f5d36b in Exiv2::XmpKey::Impl::decomposeKey(std::string const&) () from /usr/lib/libexiv2.so.12
#6  0x00007f2e65f5d735 in Exiv2::XmpKey::XmpKey(std::string const&) () from /usr/lib/libexiv2.so.12
#7  0x00007f2e6dbee028 in KExiv2Iface::KExiv2::setImageDateTime(QDateTime const&, bool, bool) const () from /usr/lib/libkexiv2.so.11
#8  0x0000000000617293 in ?? ()
#9  0x000000000061a67f in ?? ()
#10 0x0000000000517181 in ?? ()
#11 0x00007f2e6e55bcb2 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00007f2e6e55be6e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#13 0x00007f2e6e55d90b in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x00007f2e6e55b6bb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0x00007f2e6a630f2f in QThreadPrivate::start (arg=0x7f2dc8025be0) at thread/qthread_unix.cpp:338
#16 0x00007f2e64b9bf6e in start_thread (arg=0x7f2e120ef700) at pthread_create.c:311
#17 0x00007f2e6984f9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f2e6fedeac0 (LWP 31977)):
[KCrash Handler]
#5  0x0000000000673596 in ?? ()
#6  0x00007f2e6a748dce in QObject::event (this=0x38a40b0, e=<optimized out>) at kernel/qobject.cpp:1194
#7  0x00007f2e6b121dfc in QApplicationPrivate::notify_helper (this=this@entry=0x2853750, receiver=receiver@entry=0x38a40b0, e=e@entry=0x7f2e34044a50) at kernel/qapplication.cpp:4567
#8  0x00007f2e6b128470 in QApplication::notify (this=0x7fff13b43410, receiver=0x38a40b0, e=0x7f2e34044a50) at kernel/qapplication.cpp:4353
#9  0x00007f2e6be2ba6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007f2e6a7308bd in QCoreApplication::notifyInternal (this=0x7fff13b43410, receiver=receiver@entry=0x38a40b0, event=event@entry=0x7f2e34044a50) at kernel/qcoreapplication.cpp:946
#11 0x00007f2e6a733e1f in sendEvent (event=0x7f2e34044a50, receiver=0x38a40b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#12 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x27c0850) at kernel/qcoreapplication.cpp:1570
#13 0x00007f2e6a7342c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#14 0x00007f2e6a75e073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=0x2852cd0) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007f2e6216e3f6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f2e6216e748 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f2e6216e7ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f2e6a75da55 in QEventDispatcherGlib::processEvents (this=0x2788d70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f2e6b1c39d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f2e6a72f5ef in QEventLoop::processEvents (this=this@entry=0x7fff13b42ef0, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f2e6a72f8e5 in QEventLoop::exec (this=this@entry=0x7fff13b42ef0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f2e6a734e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#24 0x0000000000491ef3 in ?? ()
#25 0x00007f2e69776de5 in __libc_start_main (main=0x490ca0, argc=5, ubp_av=0x7fff13b43608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff13b435f8) at libc-start.c:260
#26 0x00000000004944ef in _start ()

Possible duplicates by query: bug 330494, bug 330342, bug 330323, bug 330302, bug 330295.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-01-29 12:16:42 UTC
It crash in Qt and no digiKam code is relevant. I suspect a binary compatibility broken due to wrong packaging.

Please check your system or get a better and relevant backtrace...

Gilles Caulier
Comment 2 caulier.gilles 2015-06-25 13:13:14 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

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

Can you reproduce the problem with this release ?
Comment 3 caulier.gilles 2015-08-20 06:52:27 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.

Gilles Caulier
Comment 4 caulier.gilles 2016-07-09 15:55:04 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