Bug 191203

Summary: digiKam crashed on first load, after being installed on ubuntu 9.04
Product: [Applications] digikam Reporter: Bob Rader <rader_b>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles, lure
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Bob Rader 2009-05-01 08:19:11 UTC
Version:           2:0.10 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I upgraded ubuntu 8.04 to ubuntu 9.04; digikam was removed during that process.  I installed the digikam package + necessary libraries using the synaptic package manager.  I started digikam, and it went through a process of re-finding all the photos on the system (perhaps just in the previously specified photo directory).  On completion, it crashed with a signal 11 (SIGSEGV).

I have the backtrace saved; thread 4 suspects it has a corrupt stack:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Application: digiKam (digikam), signal SIGSEGV
[Current thread is 0 (LWP 5137)]

Thread 11 (Thread 0xb22b5b90 (LWP 5140)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56c49b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x0828f319 in ?? ()
#5  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb18ffb90 (LWP 5142)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56c49b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71b6d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb0affb90 (LWP 5143)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56c49b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71b6d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xaedf2b90 (LWP 5144)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb54c17b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5795380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xab473b90 (LWP 5185)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d6412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d8344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb1032ae3 in ?? () from /usr/lib/libxine.so.1

Thread 6 (Thread 0xaa867b90 (LWP 5188)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb54c17b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb105c7d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0xaa066b90 (LWP 5190)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb54beae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb4a9e74b in IA__g_poll (fds=0x883abf0, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.20.1/glib/gpoll.c:127
#3  0xb4a90f82 in g_main_context_iterate (context=0x88707c8, block=1, dispatch=1, self=0x8b12390) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2761
#4  0xb4a91268 in IA__g_main_context_iteration (context=0x88707c8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#5  0xb57e3457 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb57b606a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb57b64aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb56c0639 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xae0a720a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa9865b90 (LWP 5218)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb1043d8e in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa682db90 (LWP 5233)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d82ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56c49b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71b6d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa782fb90 (LWP 5239)):
#0  0xb7f88430 in __kernel_vsyscall ()
#1  0xb53d6412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54d8344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56c498c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb56b9e76 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb56c396e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53d24ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54c949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb467f920 (LWP 5137)):
[KCrash Handler]
#6  0x0000000e in ?? ()
#7  0xb5adc588 in KSycocaDict::find_string () from /usr/lib/libkdecore.so.5
#8  0xb5ae510a in KProtocolInfoFactory::findProtocol () from /usr/lib/libkdecore.so.5
#9  0xb5a3054b in KMimeType::findByUrlHelper () from /usr/lib/libkdecore.so.5
#10 0xb5a3095b in KMimeType::findByUrl () from /usr/lib/libkdecore.so.5
#11 0xb6b65255 in KFileItem::determineMimeType () from /usr/lib/libkio.so.5
#12 0xb6b65b66 in KFileItem::mimeComment () from /usr/lib/libkio.so.5
#13 0xb72662b9 in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation () from /usr/lib/libdigikamcore.so.1
#14 0x0809eba2 in _start ()
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

I am very sorry to no longer have digikam available.
Comment 1 caulier.gilles 2009-05-01 08:27:51 UTC
There is nothing special to see in your backtrace.

Sound like a broken depency. Perhaps Luka can ask for details ?

Gilles Caulier
Comment 2 Luka Renko 2009-05-01 10:24:28 UTC
Bob: can you start digikam from command line (Konsole/Terminal) and see if something is printed to standard output?
Comment 3 Luka Renko 2009-05-01 19:29:08 UTC
OK, will close the bug for now. Feel free to reopen if you can reproduce.