Bug 221050

Summary: Marble widget crashes on application startup [__libc_message, malloc_printerr, Marble::GeoDataObject::~GeoDataObject]
Product: [Applications] marble Reporter: Jonathan Weber <weber-jonathan>
Component: generalAssignee: marble-bugs
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Weber 2010-01-03 01:33:57 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-16-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I installed digKam via my package manager. Every time I run digKam, I see the splash screen for one second or two and then the application crashs with the error "Signal 6 (aborted)". There seem to be some problems with dependencies (there is libkipi6 and libkipi7, libkexiv2-7 and libkexiv2-8, and so on...). DigiKam seems to need the older version of all libraries, but installs the newer one as dependency.

After reinstalling digiKam I was able to use it for five minutes until it crashed again (I was generating image finger prints). Since then I wasn't able to get it starting again.

The crash can be reproduced everytime.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
__pthread_mutex_unlock_usercnt (mutex=0xa4b4064, decr=1)
    at pthread_mutex_unlock.c:36
	in pthread_mutex_unlock.c
[Current thread is 1 (Thread 0xb7781790 (LWP 13956))]

Thread 17 (Thread 0xb60bcb70 (LWP 13957)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x08304419 in ?? ()
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xb60bcb70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 16 (Thread 0xb58aab70 (LWP 13959)):
#0  0x00664144 in __pthread_mutex_unlock_usercnt (mutex=0xa62287c, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x038ea88b in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x02048c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0x0201b4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x0201b91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x01f18558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0x004481cd in ?? () from /usr/lib/libdigikamdatabase.so.1
#7  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#8  0x0066080e in start_thread (arg=0xb58aab70) at pthread_create.c:300
#9  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 15 (Thread 0xb4fafb70 (LWP 13960)):
#0  0x00662d4b in __pthread_mutex_lock (mutex=0xa6b9ddc) at pthread_mutex_lock.c:61
#1  0x038e9fcf in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x038ea351 in ?? () from /lib/libglib-2.0.so.0
#3  0x038ea863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x02048c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0201b4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0201b91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x01f18558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x004481cd in ?? () from /usr/lib/libdigikamdatabase.so.1
#9  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#10 0x0066080e in start_thread (arg=0xb4fafb70) at pthread_create.c:300
#11 0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0xb47aeb70 (LWP 13961)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x09af415a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xb47aeb70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xb3fadb70 (LWP 13962)):
#0  0x08b90e06 in *__GI_clock_gettime (clock_id=146362356, tp=0xb3facf98) at ../sysdeps/unix/clock_gettime.c:100
#1  0x02045d1b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0204ade5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0204ae2a in ?? () from /usr/lib/libQtCore.so.4
#4  0x02048e18 in ?? () from /usr/lib/libQtCore.so.4
#5  0x02048ea5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x038e9f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x038ea351 in ?? () from /lib/libglib-2.0.so.0
#8  0x038ea863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x02048c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0201b4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0201b91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x01f18558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#14 0x0066080e in start_thread (arg=0xb3fadb70) at pthread_create.c:300
#15 0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xb37acb70 (LWP 13963)):
#0  0x00662d5c in __pthread_mutex_lock (mutex=0xa72e304) at pthread_mutex_lock.c:127
#1  0x038e9fcf in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x038ea351 in ?? () from /lib/libglib-2.0.so.0
#3  0x038ea863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x02048c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0201b4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0201b91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x01f18558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#9  0x0066080e in start_thread (arg=0xb37acb70) at pthread_create.c:300
#10 0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb2fabb70 (LWP 13964)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x09af415a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xb2fabb70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb0955b70 (LWP 13965)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00665142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x041f59ff in ?? () from /usr/lib/libxine.so.1
#3  0x0066080e in start_thread (arg=0xb0955b70) at pthread_create.c:300
#4  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xafd49b70 (LWP 13966)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x07217981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x0421ebe0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x04203011 in ?? () from /usr/lib/libxine.so.1
#4  0x0066080e in start_thread (arg=0xafd49b70) at pthread_create.c:300
#5  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xaf548b70 (LWP 13967)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x07210ba6 in *__GI___poll (fds=0x7291ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x038f754b in g_poll () from /lib/libglib-2.0.so.0
#3  0x038ea56b in ?? () from /lib/libglib-2.0.so.0
#4  0x038ea863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x02048c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0201b4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x0201b91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x01f18558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x04195a5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#11 0x0066080e in start_thread (arg=0xaf548b70) at pthread_create.c:300
#12 0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xaed47b70 (LWP 13968)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x07210ba6 in *__GI___poll (fds=0x7291ff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x048e3cc2 in ?? () from /usr/lib/libpulse.so.0
#3  0x048d0e09 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x048d2c23 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x048d2cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x048e3bc3 in ?? () from /usr/lib/libpulse.so.0
#7  0x04ac4ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#8  0x0066080e in start_thread (arg=0xaed47b70) at pthread_create.c:300
#9  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaa4f9b70 (LWP 13969)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x042065ee in ?? () from /usr/lib/libxine.so.1
#3  0x0066080e in start_thread (arg=0xaa4f9b70) at pthread_create.c:300
#4  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa9bb5b70 (LWP 13970)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x09af415a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xa9bb5b70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa93b4b70 (LWP 13977)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x09af415a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xa93b4b70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa83b1b70 (LWP 13978)):
#0  0x00806422 in __kernel_vsyscall ()
#1  0x00664e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01f1c307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x09af415a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0066080e in start_thread (arg=0xa83b1b70) at pthread_create.c:300
#6  0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa8bb2b70 (LWP 13979)):
[KCrash Handler]
#6  0x00806422 in __kernel_vsyscall ()
#7  0x0717c4d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0717f932 in *__GI_abort () at abort.c:92
#9  0x071b2ee5 in __libc_message (do_abort=2, fmt=0x7276438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x071bcff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xc1cff90) at malloc.c:6217
#11 0x071c1806 in *__GI___libc_free (mem=0x6) at malloc.c:3677
#12 0x021eb6f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#13 0x046ff456 in Marble::GeoDataObject::~GeoDataObject() () from /usr/lib/libmarblewidget.so.4
#14 0x046f27a0 in Marble::GeoDataFeature::~GeoDataFeature() () from /usr/lib/libmarblewidget.so.4
#15 0x046f093e in Marble::GeoDataPlacemark::~GeoDataPlacemark() () from /usr/lib/libmarblewidget.so.4
#16 0x04800fe2 in ?? () from /usr/lib/libmarblewidget.so.4
#17 0x048023db in ?? () from /usr/lib/libmarblewidget.so.4
#18 0x01f1b3ae in ?? () from /usr/lib/libQtCore.so.4
#19 0x0066080e in start_thread (arg=0xa8bb2b70) at pthread_create.c:300
#20 0x0721e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7781790 (LWP 13956)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xa4b4064, decr=1) at pthread_mutex_unlock.c:36
#1  0x079eed61 in ?? () from /usr/lib/libxcb.so.1
#2  0x079ef2eb in ?? () from /usr/lib/libxcb.so.1
#3  0x079ef687 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x022662e9 in _XSend () from /usr/lib/libX11.so.6
#5  0x02266480 in _XReply () from /usr/lib/libX11.so.6
#6  0x02243519 in XGetImage () from /usr/lib/libX11.so.6
#7  0x01420198 in QX11PixmapData::toImage() const () from /usr/lib/libQtGui.so.4
#8  0x0140a80b in QPixmap::toImage() const () from /usr/lib/libQtGui.so.4
#9  0x04f1f076 in KPixmapCache::Private::writeData(QString const&, QPixmap const&) () from /usr/lib/libkdeui.so.5
#10 0x04f1fe26 in KPixmapCache::insert(QString const&, QPixmap const&) () from /usr/lib/libkdeui.so.5
#11 0x04e5dd1b in KIconCache::insert(QString const&, QPixmap const&) () from /usr/lib/libkdeui.so.5
#12 0x04e5e501 in KIconCache::insert(QString const&, QPixmap const&, QString const&) () from /usr/lib/libkdeui.so.5
#13 0x04e52e2c in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#14 0x04e53d5f in SmallIcon(QString const&, int, int, QStringList const&) () from /usr/lib/libkdeui.so.5
#15 0x082b2a94 in ?? ()
#16 0x08298280 in ?? ()
#17 0x082a6a29 in ?? ()
#18 0x083a569a in ?? ()
#19 0x07168b56 in __libc_start_main (main=0x83a28c0, argc=5, ubp_av=0xbff2ed84, init=0x83a72e0 <__libc_csu_init>, fini=0x83a72d0 <__libc_csu_fini>, rtld_fini=0x72fd20 <_dl_fini>, 
    stack_end=0xbff2ed7c) at libc-start.c:220
#20 0x080a2411 in _start ()

Reported using DrKonqi
Comment 1 Jonathan Weber 2010-01-03 01:52:47 UTC
I had installed all the libraries like "libkipi", "libkexiv2", and so on. But at this site (http://www.digikam.org/drupal/sharedlibs) at the bottom I found a note that in kde4 all this libraries are bound in "kdegraphics". I searched for this package and noticed that it wasn't installed. I did so and now digiKam is running again. I hope I was able to help someone :)
Comment 2 Jonathan Weber 2010-01-03 01:57:19 UTC
Well, this seemd to help, but now i have the same problem again without removing/installing anything. DigiKam just stopped working again.
Comment 3 caulier.gilles 2010-01-03 09:42:37 UTC
Your problem is not is digiKam, but in marblewidget used by digiKam to display maps.

Gilles Caulier
Comment 4 Dario Andres 2010-01-03 14:57:28 UTC
This is being tracked at bug 218873. Thanks

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