[Digikam-devel] [digikam] [Bug 335352] New: Saving GPS correlation data lets Digikam hang in many cases (KDE 4.13.1, Kubuntu 14.04).

Thomas Dreibholz dreibh at iem.uni-due.de
Mon May 26 07:37:08 BST 2014


https://bugs.kde.org/show_bug.cgi?id=335352

            Bug ID: 335352
           Summary: Saving GPS correlation data lets Digikam hang in many
                    cases (KDE 4.13.1, Kubuntu 14.04).
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: dreibh at iem.uni-due.de

Application: digikam (3.5.0)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Saving GPS correlation data lets Digikam hang in many cases (KDE 4.13.1,
Kubuntu 14.04). In order to create a stack trace, I killed the digikam process
with SIGSEGV. May be this helps debugging.

-- 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 0x7fe1e95f5ac0 (LWP 31398))]

Thread 14 (Thread 0x7fe1bdfa6700 (LWP 31400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe1e3e03816 in wait (time=18446744073709551615, this=0x2698e10) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2698d20,
mutex=mutex at entry=0x2698d18, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2698a90) at
/build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x2698a90) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe1bdfa6700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7fe1bd7a5700 (LWP 31401)):
#0  0x00007fe1e3014fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe1dbacbfe4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fe1b0003280, timeout=-1, context=0x7fe1b00009a0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context at entry=0x7fe1b00009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fe1dbacc0ec in g_main_context_iteration (context=0x7fe1b00009a0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fe1e3f327be in QEventDispatcherGlib::processEvents
(this=0x7fe1b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fe1e3f040af in QEventLoop::processEvents
(this=this at entry=0x7fe1bd7a4ae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe1e3f043a5 in QEventLoop::exec (this=this at entry=0x7fe1bd7a4ae0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe1e3e00c5f in QThread::exec (this=this at entry=0x2665d90) at
thread/qthread.cpp:537
#8  0x00007fe1e3ee5823 in QInotifyFileSystemWatcherEngine::run (this=0x2665d90)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x2665d90) at
thread/qthread_unix.cpp:349
#10 0x00007fe1de2a4182 in start_thread (arg=0x7fe1bd7a5700) at
pthread_create.c:312
#11 0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7fe1bcfa4700 (LWP 31403)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe1e3e03816 in wait (time=18446744073709551615, this=0x265d460) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2669320,
mutex=mutex at entry=0x2669318, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e6c7c79a in Digikam::ParkingThread::run (this=0x2669300) at
/build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x2669300) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe1bcfa4700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7fe1af5c8700 (LWP 31404)):
#0  0x00007fff94ffea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fe17e7f4700 (LWP 31426)):
#0  0x00007fe1cdb9a732 in releaseMemArray (N=8, p=0x7fe174c759c0) at
sqlite3.c:62172
#1  closeAllCursors (p=0x7fe174c7acc8) at sqlite3.c:62754
#2  sqlite3VdbeHalt (p=p at entry=0x7fe174c7acc8) at sqlite3.c:63250
#3  0x00007fe1cdbaa76a in sqlite3VdbeExec (p=p at entry=0x7fe174c7acc8) at
sqlite3.c:72921
#4  0x00007fe1cdbb3ed7 in sqlite3Step (p=0x7fe174c7acc8) at sqlite3.c:64828
#5  sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#6  0x00007fe1bc59f11c in QSQLiteResultPrivate::fetchNext
(this=this at entry=0x7fe17425a070, values=..., idx=idx at entry=0,
initialFetch=initialFetch at entry=true) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#7  0x00007fe1bc59fe48 in QSQLiteResult::exec (this=0x7fe174c635d0) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#8  0x00007fe1e9229b7d in QSqlQuery::exec (this=this at entry=0x7fe17e7f3578) at
kernel/qsqlquery.cpp:949
#9  0x00007fe1e6c35a26 in Digikam::DatabaseCoreBackend::exec (this=0x24c0df0,
query=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#10 0x00007fe1e6c35cee in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x24c0df0, query=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#11 0x00007fe1e6c36d95 in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x24c0df0, sql=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#12 0x00007fe1e6c36de9 in Digikam::DatabaseCoreBackend::execSql
(this=0x24c0df0, sql=..., boundValue1=..., boundValue2=..., boundValue3=...,
boundValue4=..., values=values at entry=0x0,
lastInsertId=lastInsertId at entry=0x7fe17e7f35e0) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#13 0x00007fe1e6c42c00 in Digikam::ThumbnailDB::insertThumbnail
(this=0x265c6a0, info=..., lastInsertId=lastInsertId at entry=0x7fe17e7f3760) at
/build/buildd/digikam-3.5.0/core/libs/database/core/thumbnaildb.cpp:260
#14 0x00007fe1e6c67248 in Digikam::ThumbnailCreator::storeInDatabase
(this=this at entry=0x2dc88c0, info=..., image=...) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:755
#15 0x00007fe1e6c692e9 in Digikam::ThumbnailCreator::load (this=0x2dc88c0,
path=..., rect=..., pregenerate=pregenerate at entry=false) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:267
#16 0x00007fe1e6c6a0e2 in Digikam::ThumbnailCreator::load (this=<optimized
out>, path=...) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:199
#17 0x00007fe1e6c78737 in Digikam::ThumbnailLoadingTask::execute
(this=0x8526120) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:172
#18 0x00007fe1e6c50a96 in Digikam::LoadSaveThread::run (this=0x2c96eb0) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136
#19 0x00007fe1e6c7e5de in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x2dca250) at
/build/buildd/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186
#20 0x00007fe1e3df6fee in QThreadPoolThread::run (this=0x419d5b0) at
concurrent/qthreadpool.cpp:108
#21 0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x419d5b0) at
thread/qthread_unix.cpp:349
#22 0x00007fe1de2a4182 in start_thread (arg=0x7fe17e7f4700) at
pthread_create.c:312
#23 0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7fe16b470700 (LWP 31448)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe1e3e037f4 in wait (time=30000, this=0x4b66b80) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x4eedcb0,
mutex=mutex at entry=0x2dfacb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e3df70fa in QThreadPoolThread::run (this=0x4eedca0) at
concurrent/qthreadpool.cpp:142
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x4eedca0) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe16b470700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7fe169d66700 (LWP 31453)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe1e3e037f4 in wait (time=30000, this=0x60ae9a0) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x5b20b40,
mutex=mutex at entry=0x2dfacb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e3df70fa in QThreadPoolThread::run (this=0x5b20b30) at
concurrent/qthreadpool.cpp:142
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x5b20b30) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe169d66700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fe15b9d2700 (LWP 31460)):
#0  0x00007fff94ffea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe151ec5700 (LWP 31461)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe1d6ded81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe1d6ded859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe1de2a4182 in start_thread (arg=0x7fe151ec5700) at
pthread_create.c:312
#4  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fe1116c2700 (LWP 31462)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe1d6b2e20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe1d6e1cfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe1de2a4182 in start_thread (arg=0x7fe1116c2700) at
pthread_create.c:312
#4  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fe110ac1700 (LWP 31481)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe1e3e037f4 in wait (time=30000, this=0x7fe194075390) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x7fe194075ca0,
mutex=mutex at entry=0x2dfacb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e3df70fa in QThreadPoolThread::run (this=0x7fe194075c90) at
concurrent/qthreadpool.cpp:142
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x7fe194075c90) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe110ac1700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fe10f2be700 (LWP 31482)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe1e3e037f4 in wait (time=30000, this=0x7fe194075b50) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x7fe194076210,
mutex=mutex at entry=0x2dfacb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e3df70fa in QThreadPoolThread::run (this=0x7fe194076200) at
concurrent/qthreadpool.cpp:142
#4  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x7fe194076200) at
thread/qthread_unix.cpp:349
#5  0x00007fe1de2a4182 in start_thread (arg=0x7fe10f2be700) at
pthread_create.c:312
#6  0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe1082b0700 (LWP 31483)):
#0  0x00007fe1e3014fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe1dbacbfe4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fe19c0156e0, timeout=8492, context=0x7fe19c0277c0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context at entry=0x7fe19c0277c0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fe1dbacc0ec in g_main_context_iteration (context=0x7fe19c0277c0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fe1e3f327be in QEventDispatcherGlib::processEvents
(this=0x7fe19c0273c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fe1e3f040af in QEventLoop::processEvents
(this=this at entry=0x7fe1082afb20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe1e3f043a5 in QEventLoop::exec (this=this at entry=0x7fe1082afb20,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe1e3e00c5f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:537
#8  0x00007fe1e3e0332f in QThreadPrivate::start (arg=0x7eaaae0) at
thread/qthread_unix.cpp:349
#9  0x00007fe1de2a4182 in start_thread (arg=0x7fe1082b0700) at
pthread_create.c:312
#10 0x00007fe1e302230d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe1e95f5ac0 (LWP 31398)):
[KCrash Handler]
#6  0x00007fe1e30136bd in read () at ../sysdeps/unix/syscall-template.S:81
#7  0x00007fe1e6c88e69 in read (__nbytes=16400, __buf=<optimized out>,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#8  Digikam::KInotify::slotEvent (this=0x2562870, socket=<optimized out>) at
/build/buildd/digikam-3.5.0/core/libs/3rdparty/kinotify/kinotify.cpp:412
#9  0x00007fe1e6c8a49b in Digikam::KInotify::qt_static_metacall (_o=0x49,
_id=40194000, _a=0x7fff94fcd940, _c=<optimized out>) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/kinotify.moc:113
#10 0x00007fe1e3f1987a in QMetaObject::activate (sender=sender at entry=0x2df72c0,
m=m at entry=0x7fe1e4269a40 <QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff94fcd940)
at kernel/qobject.cpp:3539
#11 0x00007fe1e3f642ae in QSocketNotifier::activated
(this=this at entry=0x2df72c0, _t1=73) at
.moc/release-shared/moc_qsocketnotifier.cpp:102
#12 0x00007fe1e3f2264b in QSocketNotifier::event (this=0x2df72c0,
e=0x7fff94fcdc70) at kernel/qsocketnotifier.cpp:316
#13 0x00007fe1e48f7e2c in QApplicationPrivate::notify_helper
(this=this at entry=0x24b1810, receiver=receiver at entry=0x2df72c0,
e=e at entry=0x7fff94fcdc70) at kernel/qapplication.cpp:4567
#14 0x00007fe1e48fe4a0 in QApplication::notify (this=this at entry=0x7fff94fce3d0,
receiver=receiver at entry=0x2df72c0, e=e at entry=0x7fff94fcdc70) at
kernel/qapplication.cpp:4353
#15 0x00007fe1e5602d1a in KApplication::notify (this=0x7fff94fce3d0,
receiver=0x2df72c0, event=0x7fff94fcdc70) at
../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fe1e3f054dd in QCoreApplication::notifyInternal
(this=0x7fff94fce3d0, receiver=0x2df72c0, event=event at entry=0x7fff94fcdc70) at
kernel/qcoreapplication.cpp:953
#17 0x00007fe1e3f334a8 in sendEvent (event=0x7fff94fcdc70, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 socketNotifierSourceDispatch (source=0x24ab8b0) at
kernel/qeventdispatcher_glib.cpp:117
#19 0x00007fe1dbacbe04 in g_main_dispatch (context=0x24ae9c0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#20 g_main_context_dispatch (context=context at entry=0x24ae9c0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#21 0x00007fe1dbacc048 in g_main_context_iterate
(context=context at entry=0x24ae9c0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#22 0x00007fe1dbacc0ec in g_main_context_iteration (context=0x24ae9c0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#23 0x00007fe1e3f327a1 in QEventDispatcherGlib::processEvents (this=0x23dcf70,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#24 0x00007fe1e4999bb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fe1e3f040af in QEventLoop::processEvents
(this=this at entry=0x7fff94fcdeb0, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fe1e3f043a5 in QEventLoop::exec (this=this at entry=0x7fff94fcdeb0,
flags=...) at kernel/qeventloop.cpp:204
#27 0x00007fe1e3f09b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#28 0x00007fe1e48f637c in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at
/build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list