Bug 220288 - Digikam crashes at startup [mem2chunk_check, free_check, Marble::GeoDataObject::~GeoDataObject]
Summary: Digikam crashes at startup [mem2chunk_check, free_check, Marble::GeoDataObjec...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Marble (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-27 17:05 UTC by Davide
Modified: 2022-01-07 16:52 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davide 2009-12-27 17:05:04 UTC
Application: digikam (1.1.0 (rev.: 1066590))
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! Digikam built from today's (2009-12-27) sources crashes at startup, before loading main view. I've tried removing the old database file; the application starts rebuilding the index but never gets to the end of the process. 
I built Digikam following the instructions on http://www.digikam.org/drupal/download?q=download/KDE4; as for the KDE platform, I'm using the precompiled 4.3.85 packages from the kubuntu-ppa deb repository. I'm a bit of a newbie and I understand there may be some inconsistency between the application version and the underlying KDE version, so please ignore this if it's a common behaviour. Thank you!

The crash can be reproduced everytime.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76dd9c0 (LWP 21683))]

Thread 15 (Thread 0xb6192b70 (LWP 21684)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00428e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02400307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082f891c in Digikam::ScanController::run (this=0x8e75f60) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/digikam/scancontroller.cpp:502
#4  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0042480e in start_thread (arg=0xb6192b70) at pthread_create.c:300
#6  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0xb5937b70 (LWP 21686)):
#0  0x00426d4b in __pthread_mutex_lock (mutex=0x90411dc) at pthread_mutex_lock.c:61
#1  0x029e860f in ?? () from /lib/libglib-2.0.so.0
#2  0x029e8863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0252cc0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x024ff4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x024ff91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x023fc558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x02dbd257 in Digikam::ImageFilterModelWorker::Thread::run (this=0x8eec4d8)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#8  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#9  0x0042480e in start_thread (arg=0xb5937b70) at pthread_create.c:300
#10 0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xb505ab70 (LWP 21687)):
#0  0x02a91e06 in *__GI_clock_gettime (clock_id=44654580, tp=0xb5059f78) at ../sysdeps/unix/clock_gettime.c:100
#1  0x02529d1b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0252ede5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0252ee2a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0252ce18 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0252cea5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x029e7f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x029e8351 in ?? () from /lib/libglib-2.0.so.0
#8  0x029e8863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0252cc0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x024ff4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x024ff91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x023fc558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x02dbd257 in Digikam::ImageFilterModelWorker::Thread::run (this=0x8f58940)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#14 0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#15 0x0042480e in start_thread (arg=0xb505ab70) at pthread_create.c:300
#16 0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 12 (Thread 0xb4859b70 (LWP 21688)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00428e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02400307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x05b721fd in Digikam::LoadSaveThread::run (this=0x8fdd328) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0042480e in start_thread (arg=0xb4859b70) at pthread_create.c:300
#6  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb4058b70 (LWP 21689)):
#0  0x02a91e06 in *__GI_clock_gettime (clock_id=44654580, tp=0xb4057f78) at ../sysdeps/unix/clock_gettime.c:100
#1  0x02529d1b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0252ede5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0252ee2a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0252ce18 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0252cea5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x029e7f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x029e8351 in ?? () from /lib/libglib-2.0.so.0
#8  0x029e8863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0252cc0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x024ff4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x024ff91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x023fc558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x082eff4b in Digikam::MetadataManagerWorker::Thread::run (this=0x8e95a48)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#14 0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#15 0x0042480e in start_thread (arg=0xb4058b70) at pthread_create.c:300
#16 0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb3857b70 (LWP 21690)):
#0  0x02a91e06 in *__GI_clock_gettime (clock_id=44654580, tp=0xb3856f78) at ../sysdeps/unix/clock_gettime.c:100
#1  0x02529d1b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0252ede5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0252ee2a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0252ce18 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0252cea5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x029e7f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x029e8351 in ?? () from /lib/libglib-2.0.so.0
#8  0x029e8863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0252cc0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x024ff4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x024ff91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x023fc558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x082eff4b in Digikam::MetadataManagerWorker::Thread::run (this=0x8ed9f80)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#14 0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#15 0x0042480e in start_thread (arg=0xb3857b70) at pthread_create.c:300
#16 0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb3056b70 (LWP 21691)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00428e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02400307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x05b721fd in Digikam::LoadSaveThread::run (this=0x904e060) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0042480e in start_thread (arg=0xb3056b70) at pthread_create.c:300
#6  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb0aa6b70 (LWP 21692)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00429142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x050b59ff in ?? () from /usr/lib/libxine.so.1
#3  0x0042480e in start_thread (arg=0xb0aa6b70) at pthread_create.c:300
#4  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xafe9ab70 (LWP 21693)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x08be5981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x050debe0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x050c3011 in ?? () from /usr/lib/libxine.so.1
#4  0x0042480e in start_thread (arg=0xafe9ab70) at pthread_create.c:300
#5  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaf699b70 (LWP 21694)):
#0  0x00428152 in __pthread_mutex_unlock_usercnt (mutex=<value optimized out>, decr=0) at pthread_mutex_unlock.c:77
#1  0x029e888b in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x0252cc0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0x024ff4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x024ff91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x023fc558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0x03227a5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#7  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#8  0x0042480e in start_thread (arg=0xaf699b70) at pthread_create.c:300
#9  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaee98b70 (LWP 21697)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x08bdeba6 in *__GI___poll (fds=0x8c5fff4, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x059c9c3b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x0042480e in start_thread (arg=0xaee98b70) at pthread_create.c:300
#4  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xae655b70 (LWP 21698)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00428e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x050c65ee in ?? () from /usr/lib/libxine.so.1
#3  0x0042480e in start_thread (arg=0xae655b70) at pthread_create.c:300
#4  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xadd81b70 (LWP 21699)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x00428e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02400307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x05b721fd in Digikam::LoadSaveThread::run (this=0x99a1550) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x0042480e in start_thread (arg=0xadd81b70) at pthread_create.c:300
#6  0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xad580b70 (LWP 21700)):
[KCrash Handler]
#6  mem2chunk_check (mem=0xfb704c80, magic_p=<value optimized out>) at hooks.c:166
#7  0x08b8cc38 in free_check (mem=0xa704ce0, caller=0xc246f1) at hooks.c:279
#8  0x08b8f806 in *__GI___libc_free (mem=0xf0ffffa8) at malloc.c:3677
#9  0x00c246f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#10 0x07b29456 in Marble::GeoDataObject::~GeoDataObject() () from /usr/lib/libmarblewidget.so.4
#11 0x07b1c7a0 in Marble::GeoDataFeature::~GeoDataFeature() () from /usr/lib/libmarblewidget.so.4
#12 0x07b1a93e in Marble::GeoDataPlacemark::~GeoDataPlacemark() () from /usr/lib/libmarblewidget.so.4
#13 0x07c2afe2 in ?? () from /usr/lib/libmarblewidget.so.4
#14 0x07c2c3db in ?? () from /usr/lib/libmarblewidget.so.4
#15 0x023ff3ae in ?? () from /usr/lib/libQtCore.so.4
#16 0x0042480e in start_thread (arg=0xad580b70) at pthread_create.c:300
#17 0x08bec7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76dd9c0 (LWP 21683)):
#0  0x00719422 in __kernel_vsyscall ()
#1  0x08bdeba6 in *__GI___poll (fds=0x8c5fff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0358bd80 in ?? () from /usr/lib/libxcb.so.1
#3  0x0358c2eb in ?? () from /usr/lib/libxcb.so.1
#4  0x0358c687 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x026582e9 in _XSend () from /usr/lib/libX11.so.6
#6  0x02658480 in _XReply () from /usr/lib/libX11.so.6
#7  0x026360b6 in XGetWindowProperty () from /usr/lib/libX11.so.6
#8  0x02636d7e in XGetWMColormapWindows () from /usr/lib/libX11.so.6
#9  0x01b0ae17 in QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib/libQtGui.so.4
#10 0x01abb4ae in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib/libQtGui.so.4
#11 0x01abbc9e in QWidget::setParent(QWidget*) () from /usr/lib/libQtGui.so.4
#12 0x05be3b10 in Digikam::Sidebar::appendTab (this=0x907d760, w=0x9e6b858, pic=..., title=...) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/libs/widgets/common/sidebar.cpp:216
#13 0x080b7bf7 in ImagePropertiesSideBarDB (this=0x907d760, parent=0x8e94128, splitter=0x8ea8460, side=KMultiTabBar::Right, mimimizedDefault=true)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:92
#14 0x0829ca55 in DigikamView (this=0x8e94128, parent=0x8ebae08) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/digikam/digikamview.cpp:221
#15 0x0827e805 in Digikam::DigikamApp::setupView (this=0x8ebae08) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/digikam/digikamapp.cpp:493
#16 0x0827d4b5 in DigikamApp (this=0x8ebae08, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/digikam/digikamapp.cpp:232
#17 0x08383e82 in main (argc=1, argv=0xbfd4a7d4) at /home/david/Downloads/Software_OpenSource/kde/graphics/digikam/digikam/main.cpp:172

Reported using DrKonqi
Comment 1 caulier.gilles 2009-12-27 17:14:45 UTC
*** Bug 220172 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-12-27 22:14:20 UTC
Merging with bug 218873 Thanks

*** This bug has been marked as a duplicate of bug 218873 ***
Comment 3 caulier.gilles 2022-01-07 16:47:54 UTC
Fixed with #218873