Bug 221605 - Digikam crashed on startup, while scanning albuns
Summary: Digikam crashed on startup, while scanning albuns
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 05:03 UTC by Miguel Tadeu
Modified: 2018-09-02 15:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Tadeu 2010-01-07 05:03:07 UTC
Application: digikam (1.0.0)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Hi, I launched digikam and while loading, on scanning albuns( which spent loads of time on ) it crahed, leaving this crash report. Hope this helps

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0xb77c7790 (LWP 3693))]

Thread 14 (Thread 0xb628fb70 (LWP 3694)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00264e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x036fc307 in QWaitConditionPrivate::wait (this=0x99e2428, mutex=0x99e2424, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x99e2428, mutex=0x99e2424, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x08304419 in ?? ()
#5  0x036fb3ae in QThreadPrivate::start (arg=0x99bd1b8) at thread/qthread_unix.cpp:244
#6  0x0026080e in start_thread (arg=0xb628fb70) at pthread_create.c:300
#7  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xb59f6b70 (LWP 3699)):
#0  0x00264144 in __pthread_mutex_unlock_usercnt (mutex=0xae62d7c, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x01862c7a in IA__g_main_context_check (context=0xae62d78, max_priority=2147483647, fds=0x99e35d0, n_fds=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2495
#2  0x0186347c in g_main_context_iterate (context=0xae62d78, block=<value optimized out>, dispatch=1, self=0xae64dc8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2588
#3  0x01863863 in IA__g_main_context_iteration (context=0xae62d78, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x03828c0f in QEventDispatcherGlib::processEvents (this=0x9dbc088, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#5  0x037fb4c9 in QEventLoop::processEvents (this=0xb59f6250, flags=) at kernel/qeventloop.cpp:149
#6  0x037fb91a in QEventLoop::exec (this=0xb59f6250, flags=...) at kernel/qeventloop.cpp:201
#7  0x036f8558 in QThread::exec (this=0x9b7d1f0) at thread/qthread.cpp:487
#8  0x003cd1cd in ?? () from /usr/lib/libdigikamdatabase.so.1
#9  0x036fb3ae in QThreadPrivate::start (arg=0x9b7d1f0) at thread/qthread_unix.cpp:244
#10 0x0026080e in start_thread (arg=0xb59f6b70) at pthread_create.c:300
#11 0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xb4f12b70 (LWP 3700)):
#0  0x00262d12 in __pthread_mutex_lock (mutex=0xae64474) at pthread_mutex_lock.c:47
#1  0x01862d0c in IA__g_main_context_check (context=0xae64470, max_priority=2147483647, fds=0xae7b198, n_fds=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2471
#2  0x0186347c in g_main_context_iterate (context=0xae64470, block=<value optimized out>, dispatch=1, self=0xae673a0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2588
#3  0x01863863 in IA__g_main_context_iteration (context=0xae64470, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x03828c0f in QEventDispatcherGlib::processEvents (this=0x9e74f30, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#5  0x037fb4c9 in QEventLoop::processEvents (this=0xb4f12250, flags=) at kernel/qeventloop.cpp:149
#6  0x037fb91a in QEventLoop::exec (this=0xb4f12250, flags=...) at kernel/qeventloop.cpp:201
#7  0x036f8558 in QThread::exec (this=0x9efd850) at thread/qthread.cpp:487
#8  0x003cd1cd in ?? () from /usr/lib/libdigikamdatabase.so.1
#9  0x036fb3ae in QThreadPrivate::start (arg=0x9efd850) at thread/qthread_unix.cpp:244
#10 0x0026080e in start_thread (arg=0xb4f12b70) at pthread_create.c:300
#11 0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb4691b70 (LWP 3701)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00264e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x036fc307 in QWaitConditionPrivate::wait (this=0x9c03548, mutex=0x9c03544, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9c03548, mutex=0x9c03544, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01dbf15a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0x036fb3ae in QThreadPrivate::start (arg=0x9c03538) at thread/qthread_unix.cpp:244
#6  0x0026080e in start_thread (arg=0xb4691b70) at pthread_create.c:300
#7  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb3e90b70 (LWP 3702)):
#0  0x00cfee06 in *__GI_clock_gettime (clock_id=13643764, tp=0xb3e8ff98) at ../sysdeps/unix/clock_gettime.c:100
#1  0x03825d1b in qt_gettime () at kernel/qcore_unix.cpp:109
#2  0x0382ade5 in QTimerInfoList::updateCurrentTime (this=0xaeceb64) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0382ae2a in QTimerInfoList::timerWait (this=0xaeceb64, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x03828e18 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3e900ac) at kernel/qeventdispatcher_glib.cpp:136
#5  0x03828ea5 in timerSourcePrepare (source=0x0, timeout=0xd02ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01862f90 in IA__g_main_context_prepare (context=0xaece2a8, priority=0xb3e9012c) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2280
#7  0x01863351 in g_main_context_iterate (context=0xaece2a8, block=<value optimized out>, dispatch=1, self=0xaecc4d8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2571
#8  0x01863863 in IA__g_main_context_iteration (context=0xaece2a8, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#9  0x03828c0f in QEventDispatcherGlib::processEvents (this=0xaeb1a90, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#10 0x037fb4c9 in QEventLoop::processEvents (this=0xb3e90270, flags=) at kernel/qeventloop.cpp:149
#11 0x037fb91a in QEventLoop::exec (this=0xb3e90270, flags=...) at kernel/qeventloop.cpp:201
#12 0x036f8558 in QThread::exec (this=0xae77c48) at thread/qthread.cpp:487
#13 0x036fb3ae in QThreadPrivate::start (arg=0xae77c48) at thread/qthread_unix.cpp:244
#14 0x0026080e in start_thread (arg=0xb3e90b70) at pthread_create.c:300
#15 0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb368fb70 (LWP 3703)):
#0  0x04387b7a in __libc_disable_asynccancel (oldtype=<value optimized out>) at libc-cancellation.c:100
#1  0x0436cbb8 in *__GI___poll (fds=0xaeba960, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x0187054b in IA__g_poll (fds=0xaeba960, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.22.3/glib/gpoll.c:127
#3  0x0186356b in g_main_context_poll (context=0xaecfc18, block=<value optimized out>, dispatch=1, self=0xaed1260) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#4  g_main_context_iterate (context=0xaecfc18, block=<value optimized out>, dispatch=1, self=0xaed1260) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#5  0x01863863 in IA__g_main_context_iteration (context=0xaecfc18, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#6  0x03828c0f in QEventDispatcherGlib::processEvents (this=0xae6a0c8, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#7  0x037fb4c9 in QEventLoop::processEvents (this=0xb368f270, flags=) at kernel/qeventloop.cpp:149
#8  0x037fb91a in QEventLoop::exec (this=0xb368f270, flags=...) at kernel/qeventloop.cpp:201
#9  0x036f8558 in QThread::exec (this=0xaecc5d8) at thread/qthread.cpp:487
#10 0x036fb3ae in QThreadPrivate::start (arg=0xaecc5d8) at thread/qthread_unix.cpp:244
#11 0x0026080e in start_thread (arg=0xb368fb70) at pthread_create.c:300
#12 0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb2e8eb70 (LWP 3704)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00264e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x036fc307 in QWaitConditionPrivate::wait (this=0xaec6810, mutex=0xaec680c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xaec6810, mutex=0xaec680c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01dbf15a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0x036fb3ae in QThreadPrivate::start (arg=0xaec6800) at thread/qthread_unix.cpp:244
#6  0x0026080e in start_thread (arg=0xb2e8eb70) at pthread_create.c:300
#7  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb091ab70 (LWP 3705)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00265142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x0324e9ff in metronom_sync_loop (this=0xb054020) at metronom.c:870
#3  0x0026080e in start_thread (arg=0xb091ab70) at pthread_create.c:300
#4  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xafd0eb70 (LWP 3706)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x04373981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x03277be0 in xine_usec_sleep (usec=1000) at utils.c:481
#3  0x0325c011 in video_out_loop (this_gen=0xb0633c0) at video_out.c:1246
#4  0x0026080e in start_thread (arg=0xafd0eb70) at pthread_create.c:300
#5  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaf50db70 (LWP 3707)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x0436cba6 in *__GI___poll (fds=0x43edff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0187054b in IA__g_poll (fds=0xb063da8, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.22.3/glib/gpoll.c:127
#3  0x0186356b in g_main_context_poll (context=0xb478028, block=<value optimized out>, dispatch=1, self=0xb4795d8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#4  g_main_context_iterate (context=0xb478028, block=<value optimized out>, dispatch=1, self=0xb4795d8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#5  0x01863863 in IA__g_main_context_iteration (context=0xb478028, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#6  0x03828c0f in QEventDispatcherGlib::processEvents (this=0xb062e98, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#7  0x037fb4c9 in QEventLoop::processEvents (this=0xaf50d200, flags=) at kernel/qeventloop.cpp:149
#8  0x037fb91a in QEventLoop::exec (this=0xaf50d200, flags=...) at kernel/qeventloop.cpp:201
#9  0x036f8558 in QThread::exec (this=0xafb6970) at thread/qthread.cpp:487
#10 0x031eea5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#11 0x036fb3ae in QThreadPrivate::start (arg=0xafb6970) at thread/qthread_unix.cpp:244
#12 0x0026080e in start_thread (arg=0xaf50db70) at pthread_create.c:300
#13 0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaed0cb70 (LWP 3710)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x0436cba6 in *__GI___poll (fds=0x43edff4, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x03636c3b in my_snd_mixer_wait (data=0xb055b20) at audio_alsa_out.c:150
#3  ao_alsa_handle_event_thread (data=0xb055b20) at audio_alsa_out.c:166
#4  0x0026080e in start_thread (arg=0xaed0cb70) at pthread_create.c:300
#5  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xae4eab70 (LWP 3711)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00264e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0325f5ee in fifo_peek_int (this_gen=0xb491e10) at audio_out.c:348
#3  fifo_peek (this_gen=0xb491e10) at audio_out.c:388
#4  ao_loop (this_gen=0xb491e10) at audio_out.c:1015
#5  0x0026080e in start_thread (arg=0xae4eab70) at pthread_create.c:300
#6  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xadc3eb70 (LWP 3712)):
#0  0x00dbb422 in __kernel_vsyscall ()
#1  0x00264e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x036fc307 in QWaitConditionPrivate::wait (this=0xb67f7c0, mutex=0xb67f7bc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb67f7c0, mutex=0xb67f7bc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01dbf15a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0x036fb3ae in QThreadPrivate::start (arg=0xb67f7b0) at thread/qthread_unix.cpp:244
#6  0x0026080e in start_thread (arg=0xadc3eb70) at pthread_create.c:300
#7  0x0437a7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c7790 (LWP 3693)):
[KCrash Handler]
#6  0x00dbb422 in __kernel_vsyscall ()
#7  0x042d84d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x042db932 in *__GI_abort () at abort.c:92
#9  0x0430eee5 in __libc_message (do_abort=2, fmt=0x43d2438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x04318ff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xc14ce20) at malloc.c:6217
#11 0x0431d806 in *__GI___libc_free (mem=0x6) at malloc.c:3677
#12 0x036f5a1d in qFree (ptr=0xc14ce20) at global/qmalloc.cpp:60
#13 0x037458e0 in QString::free (d=0xc14ce20) at tools/qstring.cpp:1108
#14 0x08a6d0d9 in ~QString (this=0x99315f8, name=...) at /usr/include/qt4/QtCore/qstring.h:869
#15 KIconThemeDir::iconPath (this=0x99315f8, name=...) at ../../kdeui/icons/kicontheme.cpp:708
#16 0x08a6d271 in KIconTheme::iconPath (this=0x992b6d0, name=..., size=16, match=KIconLoader::MatchBest) at ../../kdeui/icons/kicontheme.cpp:488
#17 0x08a6475c in KIconLoaderPrivate::findMatchingIcon (this=0x98fca10, name=..., size=16) at ../../kdeui/icons/kiconloader.cpp:818
#18 0x08a67997 in KIconLoaderPrivate::findMatchingIconWithGenericFallbacks (this=0x98fca10, name=..., size=16) at ../../kdeui/icons/kiconloader.cpp:663
#19 0x08a68da3 in KIconLoader::loadIcon (this=0x99686c8, _name=..., group=KIconLoader::NoGroup, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1124
#20 0x080c6e50 in _start ()

Possible duplicates by query: bug 220452, bug 218860, bug 206778, bug 187667.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-07 13:02:15 UTC
This could be related to the glibc bug : bug 196207.
- Are you experiencing this crash regularly / Can you reproduce the crash at will ?
Thanks
Comment 2 Miguel Tadeu 2010-01-07 19:22:56 UTC
This crash is easily reproduced, since it happens every time
Comment 3 Dario Andres 2010-01-08 00:15:08 UTC
Please, Check this:
- Quit Digikam
- Start Konsole
- Type "export QT_NO_GLIB=1" + Enter
- Type "export MALLOC_CHECK_=" + Enter
- Type "digikam" + Enter
- Use Digikam and check if it crashes or not
If it doesn't crash, then it is likely to be bug 196207. 
Thanks
Comment 4 Miguel Tadeu 2010-01-08 06:49:10 UTC
That trick worked...I also followed the sugested bug and after upgrading libc digikam runs again without the exports....thx :)
Comment 5 Dario Andres 2010-01-08 12:59:06 UTC
Thanks for checking :)

*** This bug has been marked as a duplicate of bug 196207 ***