Bug 191397

Summary: digikam geolocation selection crash
Product: [Applications] digikam Reporter: reiner.lenz
Component: Maintenance-ThumbsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description reiner.lenz 2009-05-02 23:15:07 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Compiled From Sources

Application: digiKam (digikam), signal SIGABRT
[Current thread is 0 (LWP 5707)]

Thread 14 (Thread 0xb2b22b90 (LWP 5710)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0x988f4d8, mutex=0x988f4d4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0x0833f167 in Digikam::ScanController::run (this=0x988e750) at /home/reiner/digikam-svn/graphics/digikam/digikam/scancontroller.cpp:443
#5  0xb64ac96e in QThreadPrivate::start (arg=0x988e750) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xb20dcb90 (LWP 5714)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0x98fd528, mutex=0x98fd524, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0x98fd518) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0x98fd518) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xb184fb90 (LWP 5716)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0x99bfec8, mutex=0x99bfec4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0x99bfeb8) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0x99bfeb8) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xaf853b90 (LWP 5717)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb5650412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5752344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf9bfae3 in ?? () from /usr/lib/libxine.so.1

Thread 10 (Thread 0xaebb8b90 (LWP 5718)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb573b7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xaf9e97d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 9 (Thread 0xae3b7b90 (LWP 5720)):
#0  0xb564a210 in __i686.get_pc_thunk.bx () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb564d9ce in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57524b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4ef19fc in IA__g_main_context_prepare (context=0x9f0ac60, priority=0xae3b71e8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2136
#4  0xb4ef1dda in g_main_context_iterate (context=0x9f0ac60, block=1, dispatch=1, self=0x9f0bc50) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2428
#5  0xb4ef2268 in IA__g_main_context_iteration (context=0x9f0ac60, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#6  0xb65cc457 in QEventDispatcherGlib::processEvents (this=0x9aac4e0, flags={i = -1371835800}) at kernel/qeventdispatcher_glib.cpp:325
#7  0xb659f06a in QEventLoop::processEvents (this=0xae3b72e0, flags={i = -1371835736}) at kernel/qeventloop.cpp:149
#8  0xb659f4aa in QEventLoop::exec (this=0xae3b72e0, flags={i = -1371835672}) at kernel/qeventloop.cpp:200
#9  0xb64a9639 in QThread::exec (this=0x9f0a828) at thread/qthread.cpp:481
#10 0xafa0d20a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#11 0xb64ac96e in QThreadPrivate::start (arg=0x9f0a828) at thread/qthread_unix.cpp:189
#12 0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa9ba4b90 (LWP 5726)):
#0  0xb564d9c1 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb57524b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xadbb0b4f in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0xb22254dc in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xadb9fb90 (LWP 5727)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf9d0d8e in ?? () from /usr/lib/libxine.so.1
#4  0x00000001 in ?? ()

Thread 6 (Thread 0xad1ffb90 (LWP 5728)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0xa035210, mutex=0xa03520c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0xa035200) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0xa035200) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa8c39b90 (LWP 5975)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0x965c1b8, mutex=0x965c1b4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0x965c1a8) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0x965c1a8) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa5effb90 (LWP 6005)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0xa741350, mutex=0xa74134c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0xa741340) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0xa741340) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa54ffb90 (LWP 6006)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0xa79ee60, mutex=0xa79ee5c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0xa79ee50) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0xa79ee50) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa4cfeb90 (LWP 6294)):
#0  0xb809a430 in __kernel_vsyscall ()
#1  0xb56500e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb57522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64ad9b2 in QWaitCondition::wait (this=0xa5ddd98, mutex=0xa5ddd94, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb72c7b69 in Digikam::LoadSaveThread::run (this=0xa5ddd88) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#5  0xb64ac96e in QThreadPrivate::start (arg=0xa5ddd88) at thread/qthread_unix.cpp:189
#6  0xb564c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb574349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4bd1700 (LWP 5707)):
[KCrash Handler]
#6  0xb809a430 in __kernel_vsyscall ()
#7  0xb568a6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb568c098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb64a4595 in qt_message_output (msgType=QtFatalMsg, buf=0xad99d88 "ASSERT: \"!isEmpty()\" in file /usr/include/qt4/QtCore/qlist.h, line 252") at global/qglobal.cpp:2006
#10 0xb64a4681 in qFatal (msg=0xb65f3318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb64a4775 in qt_assert (assertion=0x83a84d4 "!isEmpty()", file=0x83a84b4 "/usr/include/qt4/QtCore/qlist.h", line=252) at global/qglobal.cpp:1777
#12 0x081a12e9 in QList<QString>::first (this=0xac09390) at /usr/include/qt4/QtCore/qlist.h:252
#13 0x081a10e7 in Digikam::BatchThumbsGenerator::slotGotThumbnail (this=0xaa5a0e8, desc=@0xa7d3c3f8, pix=@0xbffb7f00)
    at /home/reiner/digikam-svn/graphics/digikam/utilities/batch/batchthumbsgenerator.cpp:145
#14 0x081a1238 in Digikam::BatchThumbsGenerator::qt_metacall (this=0xaa5a0e8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffb7eb8)
    at /home/reiner/digikam-svn/build/digikam/digikam/batchthumbsgenerator.moc:77
#15 0xb65b6ca8 in QMetaObject::activate (sender=0xa035200, from_signal_index=19, to_signal_index=19, argv=0xbffb7eb8) at kernel/qobject.cpp:3069
#16 0xb65b7932 in QMetaObject::activate (sender=0xa035200, m=0xb7472fbc, local_signal_index=0, argv=0xbffb7eb8) at kernel/qobject.cpp:3143
#17 0xb72e063b in Digikam::ThumbnailLoadThread::signalThumbnailLoaded (this=0xa035200, _t1=@0xa7d3c3f8, _t2=@0xbffb7f00) at /home/reiner/digikam-svn/build/digikam/digikam/thumbnailloadthread.moc:100
#18 0xb72e0c27 in Digikam::ThumbnailLoadThread::slotThumbnailLoaded (this=0xa035200, description=@0xa7d3c3f8, thumb=@0xa7d3c4b4)
    at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/thumbnailloadthread.cpp:376
#19 0xb72e0d3e in Digikam::ThumbnailLoadThread::slotThumbnailsAvailable (this=0xa035200) at /home/reiner/digikam-svn/graphics/digikam/libs/threadimageio/thumbnailloadthread.cpp:347
#20 0xb72e1106 in Digikam::ThumbnailLoadThread::qt_metacall (this=0xa035200, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xad2c6a18)
    at /home/reiner/digikam-svn/build/digikam/digikam/thumbnailloadthread.moc:84
#21 0xb65af8fb in QMetaCallEvent::placeMetaCall (this=0xad2b3380, object=0xa035200) at kernel/qobject.cpp:489
#22 0xb65b13a0 in QObject::event (this=0xa035200, e=0xad2b3380) at kernel/qobject.cpp:1118
#23 0xb5a45f2c in QApplicationPrivate::notify_helper (this=0x9622190, receiver=0xa035200, e=0xad2b3380) at kernel/qapplication.cpp:4084
#24 0xb5a4e22e in QApplication::notify (this=0xbffb8770, receiver=0xa035200, e=0xad2b3380) at kernel/qapplication.cpp:3631
#25 0xb6b4594d in KApplication::notify (this=0xbffb8770, receiver=0xa035200, event=0xad2b3380) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#26 0xb65a0a3b in QCoreApplication::notifyInternal (this=0xbffb8770, receiver=0xa035200, event=0xad2b3380) at kernel/qcoreapplication.cpp:602
#27 0xb65a1695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9606d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 0xb65a188d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#29 0xb65cc7ef in postEventSourceDispatch (s=0x9624ec0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0xb4eeeb88 in IA__g_main_context_dispatch (context=0x9624490) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#31 0xb4ef20eb in g_main_context_iterate (context=0x9624490, block=1, dispatch=1, self=0x96223c8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#32 0xb4ef2268 in IA__g_main_context_iteration (context=0x9624490, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#33 0xb65cc438 in QEventDispatcherGlib::processEvents (this=0x960dff0, flags={i = -1074035352}) at kernel/qeventdispatcher_glib.cpp:323
#34 0xb5ae73f5 in QGuiEventDispatcherGlib::processEvents (this=0x960dff0, flags={i = -1074035304}) at kernel/qguieventdispatcher_glib.cpp:202
#35 0xb659f06a in QEventLoop::processEvents (this=0xbffb8610, flags={i = -1074035240}) at kernel/qeventloop.cpp:149
#36 0xb659f4aa in QEventLoop::exec (this=0xbffb8610, flags={i = -1074035176}) at kernel/qeventloop.cpp:200
#37 0xb65a1959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#38 0xb5a45da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#39 0x0837a0dc in main (argc=1, argv=0xbffb8964) at /home/reiner/digikam-svn/graphics/digikam/digikam/main.cpp:183
Comment 1 caulier.gilles 2009-05-03 00:54:50 UTC
Reiner, I suspect that you use 0.10.0, not trunk. Right ?

Crash appears in Batch Thumb Generator...

Marcel, sound like already fixed in trunk by you. Right ?

Gilles Caulier
Comment 2 Marcel Wiesweg 2009-05-03 16:56:14 UTC
Yes I remember a bug fixed there, but not recently. Months ago.
Comment 3 Marcel Wiesweg 2009-05-05 17:30:18 UTC
Pasting mail reply from Reiner:
 had numerous crashes under the standard 0.10 version under Ubuntu.
Then I compiled it myself and now I have

Version: 

Version 0.11.0-svn (rev.: 962619)
Using KDE 4.2.2 (KDE 4.2.2)

When I filed the bug report I was convinced it was the new version but
since it was immediately after the compilation this may be wrong. 

Anyway I tried to crash the geolocation under 0.11 and did not succeed
yet...
Comment 4 Andi Clemens 2009-05-24 10:31:55 UTC
Reiner,

did you manage to crash digiKam now? If not we might close this one again, since it is fixed in SVN already.

Please give us an update.

Andi
Comment 5 caulier.gilles 2009-06-03 15:51:09 UTC
Reiner,

Last chance to give us a feedback. next time we close this file...

Please give us a fresh report. Thanks in advance

Gilles Caulier
Comment 6 Andi Clemens 2009-10-08 10:26:14 UTC
Ok, closing it.