Bug 271838

Summary: Segfault when trying to open Geo-Location
Product: [Applications] digikam Reporter: Simon <simon.eu>
Component: Plugin-Generic-GeolocationEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0
Sentry Crash Report:

Description Simon 2011-04-27 13:32:45 UTC
Application: digikam (2.0.0-beta5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-4.slh.2-aptosid-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
How to reproduce here:
1. Select any image
2. Select Image > Geo-Location

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f51f263e700 (LWP 8116)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52166e671b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00000000005be1d0 in Digikam::ScanController::run (this=0xc929f0) at /data/cworkspace/digikam-sc/core/digikam/database/scancontroller.cpp:602
#3  0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#5  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f51f1e3d700 (LWP 8122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52166e671b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5219dffd77 in Digikam::ParkingThread::run (this=0x1a572f0) at /data/cworkspace/digikam-sc/core/libs/threads/threadmanager.cpp:119
#3  0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#5  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f51e1e68700 (LWP 8126)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f51e667ffb1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#3  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f51e2669700 (LWP 8127)):
#0  0x00007f52159a4c73 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f51e66a8ca5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f51e668d9c9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f51e2e99700 (LWP 8128)):
#0  0x00007f52108fb9f3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f52108fc879 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f52108fcf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f52167f9de6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f52167ce022 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f52167ce26c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f52166e37d4 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f51e68dbe7e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f51e145e700 (LWP 8130)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f51e6690b0b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#3  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f51e045c700 (LWP 8152)):
#0  0x00007f52159a04b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f52108fc9e4 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f52108fcf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f52167f9de6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f52167ce022 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f52167ce26c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f52166e37d4 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f51d575d82d in ?? () from /usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#8  0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f51d186f700 (LWP 8159)):
[KCrash Handler]
#5  Digikam::KipiInterface::getTagTree (this=0x7f51d186e5d0) at /data/cworkspace/digikam-sc/core/utilities/kipiiface/kipiinterface.cpp:300
#6  0x00007f51dae27bda in KIPIGPSSyncPlugin::KipiImageItem::getExiv2ForFile (this=0x4ca0ff0) at /data/cworkspace/digikam-sc/extra/kipi-plugins/gpssync/kipiimageitem.cpp:149
#7  0x00007f51dae2a461 in KIPIGPSSyncPlugin::KipiImageItem::loadImageData (this=0x4ca0ff0, fromInterface=32, fromFile=true) at /data/cworkspace/digikam-sc/extra/kipi-plugins/gpssync/kipiimageitem.cpp:218
#8  0x00007f51dae222bd in operator() (this=<value optimized out>, it=<value optimized out>, result=0x7f51ec2f5150) at /data/cworkspace/digikam-sc/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:151
#9  QtConcurrent::MappedEachKernel<QList<QPersistentModelIndex>::const_iterator, KIPIGPSSyncPlugin::LoadFileMetadataHelper>::runIteration (this=<value optimized out>, it=<value optimized out>, result=0x7f51ec2f5150) at /usr/include/qt4/QtCore/qtconcurrentmapkernel.h:180
#10 0x00007f51dae21265 in QtConcurrent::MappedEachKernel<QList<QPersistentModelIndex>::const_iterator, KIPIGPSSyncPlugin::LoadFileMetadataHelper>::runIterations (this=0x4ca1990, sequenceBeginIterator=<value optimized out>, begin=<value optimized out>, end=1, results=0x0) at /usr/include/qt4/QtCore/qtconcurrentmapkernel.h:190
#11 0x00007f51dae22bd1 in forThreadFunction (this=0x4ca1990) at /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:266
#12 QtConcurrent::IterateKernel<QList<QPersistentModelIndex>::const_iterator, QPair<KUrl, QString> >::threadFunction (this=0x4ca1990) at /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:228
#13 0x00007f52166d9005 in QtConcurrent::ThreadEngineBase::run() () from /usr/lib/libQtCore.so.4
#14 0x00007f52166dace8 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#17 0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f51d3072700 (LWP 8160)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f52166e6682 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f52166dad78 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f52166e6035 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f52001f7373 in ?? () from /usr/lib/libGL.so.1
#5  0x00007f52156c68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52159ab3cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f521d2c0a20 (LWP 8115)):
#0  0x00007f52159a04b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f520d3408fa in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f520d340ec1 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f520d341172 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f52146f36f6 in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f52146f3c37 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007f52146d853b in XGetWindowProperty () from /usr/lib/libX11.so.6
#7  0x00007f52146d7180 in XGetWMHints () from /usr/lib/libX11.so.6
#8  0x00007f52177a496f in QWidgetPrivate::show_sys() () from /usr/lib/libQtGui.so.4
#9  0x00007f521776215a in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#10 0x00007f521776246a in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#11 0x00007f5217bc823c in QDialog::setVisible(bool) () from /usr/lib/libQtGui.so.4
#12 0x00007f51dae23df8 in show (this=<value optimized out>) at /usr/include/qt4/QtGui/qwidget.h:485
#13 Plugin_GPSSync::slotGPSSync (this=<value optimized out>) at /data/cworkspace/digikam-sc/extra/kipi-plugins/gpssync/plugin_gpssync.cpp:108
#14 0x00007f51dae23e40 in Plugin_GPSSync::qt_metacall (this=0x3039540, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /data/cworkspace/digikam-sc/extra/kipi-plugins/build/gpssync/plugin_gpssync.moc:74
#15 0x00007f52167e418f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f52177066b2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#17 0x00007f52177068aa in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#18 0x00007f5217b445e3 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f5217b4a58a in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f521873d3fd in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f521775e75c in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f5217b4b78b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f521770cd14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f521771215a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f521866ebd6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f52167cec8c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f521770dd25 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#28 0x00007f521778cee4 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f521778b349 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007f52177b3832 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f52108fc4a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f52108fcc80 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f52108fcf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f52167f9d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f52177b34de in ?? () from /usr/lib/libQtGui.so.4
#36 0x00007f52167ce022 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007f52167ce26c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f52167d276b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0x000000000068de9d in main (argc=12912896, argv=0x7fff1669ff00) at /data/cworkspace/digikam-sc/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2011-07-02 10:04:54 UTC
kipi-plugins 2.0.0 is out. Can you check if crash is reproducible with this version. Thanks in advance

Gilles Caulier
Comment 2 Simon 2011-07-02 10:40:11 UTC
works!