Bug 335351 - Saving GPS correlation data lets Digikam hang in many cases
Summary: Saving GPS correlation data lets Digikam hang in many cases
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Correlator (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-26 06:35 UTC by Thomas Dreibholz
Modified: 2021-12-17 12:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2014-05-26 06:35:41 UTC
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 0x7f539278aac0 (LWP 31544))]

Thread 9 (Thread 0x7f536713b700 (LWP 31546)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f538cf98816 in wait (time=18446744073709551615, this=0x1bc74a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1bc73b0, mutex=mutex@entry=0x1bc73a8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x1c4e1f0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f538cf9832f in QThreadPrivate::start (arg=0x1c4e1f0) at thread/qthread_unix.cpp:349
#5  0x00007f5387439182 in start_thread (arg=0x7f536713b700) at pthread_create.c:312
#6  0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f536693a700 (LWP 31547)):
#0  g_mutex_get_impl (mutex=0x7f53580009a0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:122
#1  0x00007f5384ca2989 in g_mutex_lock (mutex=mutex@entry=0x7f53580009a0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:209
#2  0x00007f5384c60699 in g_main_context_prepare (context=context@entry=0x7f53580009a0, priority=priority@entry=0x7f53669399a8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3354
#3  0x00007f5384c60f03 in g_main_context_iterate (context=context@entry=0x7f53580009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#4  0x00007f5384c610ec in g_main_context_iteration (context=0x7f53580009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#5  0x00007f538d0c77be in QEventDispatcherGlib::processEvents (this=0x7f53580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f538d0990af in QEventLoop::processEvents (this=this@entry=0x7f5366939ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f538d0993a5 in QEventLoop::exec (this=this@entry=0x7f5366939ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f538cf95c5f in QThread::exec (this=this@entry=0x1b1a690) at thread/qthread.cpp:537
#9  0x00007f538d07a823 in QInotifyFileSystemWatcherEngine::run (this=0x1b1a690) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f538cf9832f in QThreadPrivate::start (arg=0x1b1a690) at thread/qthread_unix.cpp:349
#11 0x00007f5387439182 in start_thread (arg=0x7f536693a700) at pthread_create.c:312
#12 0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f5366139700 (LWP 31550)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f538cf98816 in wait (time=18446744073709551615, this=0x1ec0330) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1bd63d0, mutex=mutex@entry=0x1bd63c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f538fe1179a in Digikam::ParkingThread::run (this=0x1bd63b0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f538cf9832f in QThreadPrivate::start (arg=0x1bd63b0) at thread/qthread_unix.cpp:349
#5  0x00007f5387439182 in start_thread (arg=0x7f5366139700) at pthread_create.c:312
#6  0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f5357fff700 (LWP 31551)):
#0  g_source_iter_next (iter=iter@entry=0x7f5357ffe930, source=source@entry=0x7f5357ffe928) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:909
#1  0x00007f5384c6062b in g_main_context_prepare (context=context@entry=0x7f53500009a0, priority=priority@entry=0x7f5357ffe9a8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3330
#2  0x00007f5384c60f03 in g_main_context_iterate (context=context@entry=0x7f53500009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#3  0x00007f5384c610ec in g_main_context_iteration (context=0x7f53500009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f538d0c77be in QEventDispatcherGlib::processEvents (this=0x7f53500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f538d0990af in QEventLoop::processEvents (this=this@entry=0x7f5357ffeae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f538d0993a5 in QEventLoop::exec (this=this@entry=0x7f5357ffeae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f538cf95c5f in QThread::exec (this=this@entry=0x2331310) at thread/qthread.cpp:537
#8  0x00007f538d07a823 in QInotifyFileSystemWatcherEngine::run (this=0x2331310) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f538cf9832f in QThreadPrivate::start (arg=0x2331310) at thread/qthread_unix.cpp:349
#10 0x00007f5387439182 in start_thread (arg=0x7f5357fff700) at pthread_create.c:312
#11 0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f530465b700 (LWP 31595)):
#0  timerSourceCheckHelper (src=0x7f53180ee930) at kernel/qeventdispatcher_glib.cpp:154
#1  0x00007f5384c60a61 in g_main_context_check (context=context@entry=0x7f53180ffd50, max_priority=2147483647, fds=fds@entry=0x7f5318186970, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3575
#2  0x00007f5384c60f7b in g_main_context_iterate (context=context@entry=0x7f53180ffd50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3731
#3  0x00007f5384c610ec in g_main_context_iteration (context=0x7f53180ffd50, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f538d0c77be in QEventDispatcherGlib::processEvents (this=0x7f5318004ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f538d0990af in QEventLoop::processEvents (this=this@entry=0x7f530465aae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f538d0993a5 in QEventLoop::exec (this=this@entry=0x7f530465aae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f538cf95c5f in QThread::exec (this=this@entry=0x70bce40) at thread/qthread.cpp:537
#8  0x00007f538d07a823 in QInotifyFileSystemWatcherEngine::run (this=0x70bce40) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f538cf9832f in QThreadPrivate::start (arg=0x70bce40) at thread/qthread_unix.cpp:349
#10 0x00007f5387439182 in start_thread (arg=0x7f530465b700) at pthread_create.c:312
#11 0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f52fec38700 (LWP 31596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f537ff8281d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f537ff82859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5387439182 in start_thread (arg=0x7f52fec38700) at pthread_create.c:312
#4  0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f52be335700 (LWP 31597)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f537fcc320d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f537ffb1fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5387439182 in start_thread (arg=0x7f52be335700) at pthread_create.c:312
#4  0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f52bcf33700 (LWP 31619)):
#0  0x00007f538c1a9fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5384c60fe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5324004c00, timeout=3528, context=0x7f53240258f0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f53240258f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007f5384c610ec in g_main_context_iteration (context=0x7f53240258f0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f538d0c77be in QEventDispatcherGlib::processEvents (this=0x7f5324025810, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f538d0990af in QEventLoop::processEvents (this=this@entry=0x7f52bcf32b20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f538d0993a5 in QEventLoop::exec (this=this@entry=0x7f52bcf32b20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f538cf95c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007f538cf9832f in QThreadPrivate::start (arg=0x743e2e0) at thread/qthread_unix.cpp:349
#9  0x00007f5387439182 in start_thread (arg=0x7f52bcf33700) at pthread_create.c:312
#10 0x00007f538c1b730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f539278aac0 (LWP 31544)):
[KCrash Handler]
#6  0x00007f538c1a86bd in read () at ../sysdeps/unix/syscall-template.S:81
#7  0x00007f538fe1de69 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=0x1bc3fe0, socket=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/3rdparty/kinotify/kinotify.cpp:412
#9  0x00007f538fe1f49b in Digikam::KInotify::qt_static_metacall (_o=0x42, _id=28395360, _a=0x7fff28551000, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/kinotify.moc:113
#10 0x00007f538d0ae87a in QMetaObject::activate (sender=sender@entry=0x418dfa0, m=m@entry=0x7f538d3fea40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff28551000) at kernel/qobject.cpp:3539
#11 0x00007f538d0f92ae in QSocketNotifier::activated (this=this@entry=0x418dfa0, _t1=66) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#12 0x00007f538d0b764b in QSocketNotifier::event (this=0x418dfa0, e=0x7fff28551330) at kernel/qsocketnotifier.cpp:316
#13 0x00007f538da8ce2c in QApplicationPrivate::notify_helper (this=this@entry=0x1a50810, receiver=receiver@entry=0x418dfa0, e=e@entry=0x7fff28551330) at kernel/qapplication.cpp:4567
#14 0x00007f538da934a0 in QApplication::notify (this=this@entry=0x7fff28551a90, receiver=receiver@entry=0x418dfa0, e=e@entry=0x7fff28551330) at kernel/qapplication.cpp:4353
#15 0x00007f538e797d1a in KApplication::notify (this=0x7fff28551a90, receiver=0x418dfa0, event=0x7fff28551330) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f538d09a4dd in QCoreApplication::notifyInternal (this=0x7fff28551a90, receiver=0x418dfa0, event=event@entry=0x7fff28551330) at kernel/qcoreapplication.cpp:953
#17 0x00007f538d0c84a8 in sendEvent (event=0x7fff28551330, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 socketNotifierSourceDispatch (source=0x1a4a8b0) at kernel/qeventdispatcher_glib.cpp:117
#19 0x00007f5384c60e04 in g_main_dispatch (context=0x1a4d9c0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#20 g_main_context_dispatch (context=context@entry=0x1a4d9c0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#21 0x00007f5384c61048 in g_main_context_iterate (context=context@entry=0x1a4d9c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#22 0x00007f5384c610ec in g_main_context_iteration (context=0x1a4d9c0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#23 0x00007f538d0c77a1 in QEventDispatcherGlib::processEvents (this=0x197bf70, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#24 0x00007f538db2ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f538d0990af in QEventLoop::processEvents (this=this@entry=0x7fff28551570, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f538d0993a5 in QEventLoop::exec (this=this@entry=0x7fff28551570, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007f538d09eb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#28 0x00007f538da8b37c 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
Comment 1 caulier.gilles 2014-05-26 06:52:03 UTC

*** This bug has been marked as a duplicate of bug 335352 ***
Comment 2 caulier.gilles 2021-12-17 12:03:15 UTC
Fixed with #335352