Bug 302178 - digiKam crashed while adding collection
Summary: digiKam crashed while adding collection
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 09:56 UTC by Boris Kukushkin
Modified: 2017-07-26 16:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Kukushkin 2012-06-19 09:56:03 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic-pae i686
Distribution: Ubuntu 12.04 LTS

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

I was importing a big collection of files (all types of them: jpeg, nef, cr2). The import had already taken quite some time, maybe 10 minutes or something like that.Suddenly the application crashed.

-- 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 0xaee6b8c0 (LWP 6899))]

Thread 7 (Thread 0xac819b40 (LWP 6900)):
#0  0xb76e1424 in __kernel_vsyscall ()
#1  0xb34ae96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb476b3dc in __pthread_cond_wait (cond=0xa3d9190, mutex=0xa3d9178) at forward.c:139
#3  0xb4a30350 in wait (time=4294967295, this=0xa3d9178) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa404604, mutex=0xa404600, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820346e in ?? ()
#6  0xb4a2fde0 in QThreadPrivate::start (arg=0xa3e20c0) at thread/qthread_unix.cpp:298
#7  0xb34aad4c in start_thread (arg=0xac819b40) at pthread_create.c:308
#8  0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xabeffb40 (LWP 6901)):
#0  0xb34a9480 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb34accbf in __pthread_mutex_lock (mutex=0xab500550) at pthread_mutex_lock.c:47
#2  0xb476b5f4 in pthread_mutex_lock (mutex=0xab500550) at forward.c:182
#3  0xb31423d0 in g_mutex_lock (mutex=0xab5004e0) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#4  0xb3102f85 in g_main_context_iterate (context=0xab5004e0, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3113
#5  0xb3103201 in g_main_context_iteration (context=0xab5004e0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0xb4b778e7 in QEventDispatcherGlib::processEvents (this=0xab500468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4b4350d in QEventLoop::processEvents (this=0xabeff0c0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4b437a9 in QEventLoop::exec (this=0xabeff0c0, flags=...) at kernel/qeventloop.cpp:204
#9  0xb4a2c94c in QThread::exec (this=0xa3d4390) at thread/qthread.cpp:501
#10 0xb4b20b5d in QInotifyFileSystemWatcherEngine::run (this=0xa3d4390) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb4a2fde0 in QThreadPrivate::start (arg=0xa3d4390) at thread/qthread_unix.cpp:298
#12 0xb34aad4c in start_thread (arg=0xabeffb40) at pthread_create.c:308
#13 0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xab4ffb40 (LWP 6904)):
#0  0xb76e1424 in __kernel_vsyscall ()
#1  0xb34ae96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb476b3dc in __pthread_cond_wait (cond=0xa5b6160, mutex=0xa5b6148) at forward.c:139
#3  0xb4a30350 in wait (time=4294967295, this=0xa5b6148) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa5b5f88, mutex=0xa5b5f84, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69dfb2c in ?? () from /usr/lib/libdigikamcore.so.2
#6  0xb4a2fde0 in QThreadPrivate::start (arg=0xa5b5f78) at thread/qthread_unix.cpp:298
#7  0xb34aad4c in start_thread (arg=0xab4ffb40) at pthread_create.c:308
#8  0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaa959b40 (LWP 6905)):
#0  0xb76e1424 in __kernel_vsyscall ()
#1  0xb474f380 in __GI___poll (fds=0xa7c35e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb3110a7b in g_poll (fds=0xa7c35e8, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.32.3/./glib/gpoll.c:132
#3  0xb31030ae in g_main_context_poll (n_fds=1, fds=0xa7c35e8, timeout=<optimized out>, context=0xa7c2a38, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#4  g_main_context_iterate (dispatch=1, block=-1290728880, context=0xa7c2a38, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0xa7c2a38, block=-1290728880, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0xb3103201 in g_main_context_iteration (context=0xa7c2a38, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#7  0xb4b778e7 in QEventDispatcherGlib::processEvents (this=0xa7c2478, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0xb4b4350d in QEventLoop::processEvents (this=0xaa9590c0, flags=...) at kernel/qeventloop.cpp:149
#9  0xb4b437a9 in QEventLoop::exec (this=0xaa9590c0, flags=...) at kernel/qeventloop.cpp:204
#10 0xb4a2c94c in QThread::exec (this=0xa79fe58) at thread/qthread.cpp:501
#11 0xb4b20b5d in QInotifyFileSystemWatcherEngine::run (this=0xa79fe58) at io/qfilesystemwatcher_inotify.cpp:248
#12 0xb4a2fde0 in QThreadPrivate::start (arg=0xa79fe58) at thread/qthread_unix.cpp:298
#13 0xb34aad4c in start_thread (arg=0xaa959b40) at pthread_create.c:308
#14 0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0x9e3cdb40 (LWP 8002)):
#0  0xaf279b70 in pthread_mutex_lock@plt () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#1  0xaf285e3b in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#2  0xaf27e430 in sqlite3_mutex_enter () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#3  0xaf287566 in sqlite3_free () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#4  0xaf288248 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#5  0xaf2894ad in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#6  0xaf2dd3d5 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#7  0xaf2e5845 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#8  0xaf2e87d7 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#9  0xaf2ecbac in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#10 0xaf2ecde1 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#11 0xaf2ecf1b in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#12 0xac01136f in QSQLiteResult::prepare (this=0x8637d750, query=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:330
#13 0xb76a48da in QSqlResult::savePrepare (this=0x8637d750, query=...) at kernel/qsqlresult.cpp:600
#14 0xb7696ae2 in QSqlQuery::prepare (this=0x9e3ccaf4, query=...) at kernel/qsqlquery.cpp:930
#15 0xb69829f8 in Digikam::SqlQuery::prepare(QString const&) () from /usr/lib/libdigikamcore.so.2
#16 0xb696ade5 in Digikam::DatabaseCoreBackend::prepareQuery(QString const&) () from /usr/lib/libdigikamcore.so.2
#17 0xb696ca76 in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.2
#18 0xb696d32e in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/libdigikamcore.so.2
#19 0xb6979b11 in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/libdigikamcore.so.2
#20 0xb69b4685 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/libdigikamcore.so.2
#21 0xb69ba511 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.2
#22 0xb69bb022 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/libdigikamcore.so.2
#23 0xb69c9e11 in ?? () from /usr/lib/libdigikamcore.so.2
#24 0xb6997938 in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.2
#25 0xb69e1d7e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.2
#26 0xb4a2239b in QThreadPoolThread::run (this=0xa801700) at concurrent/qthreadpool.cpp:107
#27 0xb4a2fde0 in QThreadPrivate::start (arg=0xa801700) at thread/qthread_unix.cpp:298
#28 0xb34aad4c in start_thread (arg=0x9e3cdb40) at pthread_create.c:308
#29 0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x9cfffb40 (LWP 8003)):
#0  0xb3625ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3625c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36244d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34aad4c in start_thread (arg=0x9cfffb40) at pthread_create.c:308
#4  0xb475dace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xaee6b8c0 (LWP 6899)):
[KCrash Handler]
#7  0x002f0072 in ?? ()
#8  0x0821668d in ?? ()
#9  0xb4b5b6b1 in QMetaObject::activate (sender=0xa404380, m=0x842c7cc, local_signal_index=18, argv=0xbf9e09b8) at kernel/qobject.cpp:3547
#10 0x081ccbb7 in ?? ()
#11 0x081dfeee in ?? ()
#12 0xb4b5b6b1 in QMetaObject::activate (sender=0xee609f0, m=0xb616a2cc, local_signal_index=0, argv=0xbf9e0b84) at kernel/qobject.cpp:3547
#13 0xb5f8eded in KIO::TransferJob::data (this=0xee609f0, _t1=0xee609f0, _t2=...) at ./jobclasses.moc:447
#14 0xb5f8ee58 in KIO::TransferJob::slotData (this=0xee609f0, _data=...) at ../../kio/kio/job.cpp:981
#15 0xb5f919ff in qt_static_metacall (_a=0xbf9e0cf8, _id=8, _o=0xee609f0, _c=<optimized out>) at ./jobclasses.moc:389
#16 KIO::TransferJob::qt_static_metacall (_o=0xee609f0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf9e0cf8) at ./jobclasses.moc:375
#17 0xb4b5b6b1 in QMetaObject::activate (sender=0xb6b9848, m=0xb616c480, local_signal_index=0, argv=0xbf9e0cf8) at kernel/qobject.cpp:3547
#18 0xb6048d65 in KIO::SlaveInterface::data (this=0xb6b9848, _t1=...) at ./slaveinterface.moc:160
#19 0xb604c7bf in KIO::SlaveInterface::dispatch (this=0xb6b9848, _cmd=100, rawdata=...) at ../../kio/kio/slaveinterface.cpp:160
#20 0xb60484fa in KIO::SlaveInterface::dispatch (this=0xb6b9848) at ../../kio/kio/slaveinterface.cpp:88
#21 0xb6039b98 in KIO::Slave::gotInput (this=0xb6b9848) at ../../kio/kio/slave.cpp:344
#22 0xb603a200 in KIO::Slave::qt_static_metacall (_o=0xb6b9848, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9e0f80) at ./slave.moc:57
#23 0xb4b5b6b1 in QMetaObject::activate (sender=0xcf74258, m=0xb6169110, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#24 0xb5f54eb5 in KIO::Connection::readyRead (this=0xcf74258) at ./connection.moc:106
#25 0xb5f5572a in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#26 KIO::ConnectionPrivate::dequeue (this=0xcae9c40) at ../../kio/kio/connection.cpp:71
#27 0xb4b56c01 in QMetaCallEvent::placeMetaCall (this=0xe9be6e8, object=0xcf74258) at kernel/qobject.cpp:525
#28 0xb4b5fc7b in QObject::event (this=0xcf74258, e=0xe9be6e8) at kernel/qobject.cpp:1195
#29 0xb50aced4 in notify_helper (e=0xe9be6e8, receiver=0xcf74258, this=0xa30ce88) at kernel/qapplication.cpp:4559
#30 QApplicationPrivate::notify_helper (this=0xa30ce88, receiver=0xcf74258, e=0xe9be6e8) at kernel/qapplication.cpp:4531
#31 0xb50b230d in QApplication::notify (this=0xe9be6e8, receiver=0xcf74258, e=0xe9be6e8) at kernel/qapplication.cpp:4288
#32 0xb5c31b61 in KApplication::notify (this=0xbf9e1880, receiver=0xcf74258, event=0xe9be6e8) at ../../kdeui/kernel/kapplication.cpp:311
#33 0xb4b4497e in QCoreApplication::notifyInternal (this=0xbf9e1880, receiver=0xcf74258, event=0xe9be6e8) at kernel/qcoreapplication.cpp:876
#34 0xb4b48ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa2c6378) at kernel/qcoreapplication.cpp:1500
#36 0xb4b48e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#37 0xb4b77494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=0xa30e280) at kernel/qeventdispatcher_glib.cpp:279
#39 0xb3102d86 in g_main_dispatch (context=0xa30c1e0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#40 g_main_context_dispatch (context=0xa30c1e0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#41 0xb3103125 in g_main_context_iterate (dispatch=1, block=-1290728880, context=0xa30c1e0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#42 g_main_context_iterate (context=0xa30c1e0, block=-1290728880, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#43 0xb3103201 in g_main_context_iteration (context=0xa30c1e0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#44 0xb4b77887 in QEventDispatcherGlib::processEvents (this=0xa2c7108, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0xb5165aaa in QGuiEventDispatcherGlib::processEvents (this=0xa2c7108, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb4b4350d in QEventLoop::processEvents (this=0xbf9e1764, flags=...) at kernel/qeventloop.cpp:149
#47 0xb4b437a9 in QEventLoop::exec (this=0xbf9e1764, flags=...) at kernel/qeventloop.cpp:204
#48 0xb4b48eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#49 0xb50aaa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#50 0x080b69e4 in ?? ()
#51 0xb468c4d3 in __libc_start_main (main=0x80b5840, argc=5, ubp_av=0xbf9e1b14, init=0x84008d0 <__libc_csu_init>, fini=0x8400940 <__libc_csu_fini>, rtld_fini=0xb76f1270 <_dl_fini>, stack_end=0xbf9e1b0c) at libc-start.c:226
#52 0x080b8351 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-19 10:06:06 UTC
The KCrash Handler report that problem is i KDE KIO slave. there is no digiKam source code relevant. It sound like a binary compatibility broken with KDELibs.

Try to update to last 2.6.0 and try again

Gilles Caulier
Comment 2 shopping 2014-07-19 04:52:21 UTC
first time adding collection from network drive - crashed at 95%.
network drive holds 150000 pictures.
Comment 3 caulier.gilles 2015-06-27 13:44:34 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 4 caulier.gilles 2015-08-22 06:35:30 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 5 caulier.gilles 2016-07-02 15:36:28 UTC
With 5.0.0, the crash is not reproducible anymore.

I close this file now. Don't hesitate to re-open if necessary.

Gilles Caulier