Bug 295931 - Digikam segfault
Summary: Digikam segfault
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Places (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 15:04 UTC by guest123
Modified: 2017-08-18 20:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description guest123 2012-03-13 15:04:16 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 481"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Manually added geolocation data for some pictures. Pressed Close in the Kipi-Geolocation window, got segfault.

The Kipi-Geolocation crashes quit frequently, taking the whole Digikam with it. There is not really any single action that causes it to crash, it may crash when scrolling the map (Openstreetmap), selecting an image, or doing anything else. Haven't yet noticed it to crash while sitting still, always as a reaction to some user action. On most occasions it does its job without crashing.

The crash can be reproduced some of the time.

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

Thread 13 (Thread 0x7f7b5b2fa700 (LWP 25219)):
#0  0x00007f7b6ec05e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7b728baa6b in wait (time=18446744073709551615, this=0xcce0d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xccdfc8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d32c0 in Digikam::ScanController::run (this=0xccdd60) at /usr/src/debug/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007f7b728ba55b in QThreadPrivate::start (arg=0xccdd60) at thread/qthread_unix.cpp:298
#5  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f7b5aaf9700 (LWP 25220)):
#0  0x00007f7b690e5f5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b4c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#2  0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b5aaf8d70, flags=...) at kernel/qeventloop.cpp:204
#4  0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#5  0x00007f7b7299648f in QInotifyFileSystemWatcherEngine::run (this=0xcd1100) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x00007f7b728ba55b in QThreadPrivate::start (arg=0xcd1100) at thread/qthread_unix.cpp:298
#7  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f7b5a2f8700 (LWP 25222)):
#0  0x00007f7b6ec05e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7b728baa6b in wait (time=18446744073709551615, this=0xdf5b80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcefb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7b75038431 in Digikam::ParkingThread::run (this=0xdcefa0) at /usr/src/debug/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f7b728ba55b in QThreadPrivate::start (arg=0xdcefa0) at thread/qthread_unix.cpp:298
#5  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f7b45982700 (LWP 25224)):
#0  0x00007f7b6ec061eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7b653af341 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f7b44546700 (LWP 25225)):
#0  0x00007f7b6ec061eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7b653bad89 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f7b653bc2e2 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f7b43d45700 (LWP 25226)):
#0  0x00007f7b690e4446 in g_main_context_release () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f7b690e5aca in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b340008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b43d44d50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7b4b3b28c4 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f7b728ba55b in QThreadPrivate::start (arg=0x147ef00) at thread/qthread_unix.cpp:298
#9  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f7b4333a700 (LWP 25229)):
#0  0x00007f7b70eabff3 in poll () from /lib64/libc.so.6
#1  0x00007f7b4333f7ce in ?? () from /usr/lib64/xine/plugins/1.30/xineplug_ao_out_alsa.so
#2  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f7b42b39700 (LWP 25230)):
#0  0x00007f7b6ec05e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7b653c08d3 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f7b0afa8700 (LWP 25332)):
#0  0x00007f7b70eabff3 in poll () from /lib64/libc.so.6
#1  0x00007f7b690e5a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b040008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b0afa7d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7b7299648f in QInotifyFileSystemWatcherEngine::run (this=0x2fd1ff40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7b728ba55b in QThreadPrivate::start (arg=0x2fd1ff40) at thread/qthread_unix.cpp:298
#9  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7b005a3700 (LWP 25350)):
#0  0x00007f7b6ec04014 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f7b690e53f2 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b690e5d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b140008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b005a2da0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f7b728ba55b in QThreadPrivate::start (arg=0x30f31280) at thread/qthread_unix.cpp:298
#9  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7b31a8b700 (LWP 27814)):
#0  0x00007fff431ff8de in ?? ()
#1  0x00007f7b69399d9a in clock_gettime () from /lib64/librt.so.1
#2  0x00007f7b72910a24 in do_gettime (frac=0x7f7b31a8aaf8, sec=0x7f7b31a8aaf0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f7b729e70bd in QTimerInfoList::updateCurrentTime (this=0x7f7b043cf970) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f7b729e73f3 in QTimerInfoList::timerWait (this=0x7f7b043cf970, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f7b729e5e2c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f7b31a8abdc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f7b729e5ed5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f7b690e4b22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f7b690e592d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b0612e7f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b31a8ad70, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f7b7299648f in QInotifyFileSystemWatcherEngine::run (this=0x2fcba6b0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f7b728ba55b in QThreadPrivate::start (arg=0x2fcba6b0) at thread/qthread_unix.cpp:298
#17 0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7b224a4700 (LWP 27833)):
#0  0x00007f7b70eabff3 in poll () from /lib64/libc.so.6
#1  0x00007f7b690e5a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7b729e6956 in QEventDispatcherGlib::processEvents (this=0x7f7b06bbcda0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7b729b68d7 in QEventLoop::exec (this=0x7f7b224a3da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7b728b7537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7b728ba55b in QThreadPrivate::start (arg=0x317e4f70) at thread/qthread_unix.cpp:298
#8  0x00007f7b6ec01f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7b70eb510d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7b7779e7e0 (LWP 25218)):
[KCrash Handler]
#6  0x00007f7b729cfb42 in QObject::~QObject (this=0x2fcc08c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:838
#7  0x00007f7b71b09c2d in QWidget::~QWidget (this=0x2fcc08c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1550
#8  0x00007f7b71b09e69 in QWidget::~QWidget (this=0x2fcc08c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1699
#9  0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x31665400) at kernel/qobject.cpp:1917
#10 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x232f630, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#11 0x00007f7b7201db39 in QTreeView::~QTreeView (this=0x232f630, __in_chrg=<optimized out>) at itemviews/qtreeview.cpp:209
#12 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x2f5fdfb0) at kernel/qobject.cpp:1917
#13 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x2fb44fc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#14 0x00007f7b416f5db9 in KIPIGPSSyncPlugin::SearchWidget::~SearchWidget (this=0x2fb44fc0, __in_chrg=<optimized out>) at /usr/src/debug/digikam-2.5.0/extra/kipi-plugins/gpssync/searchwidget.cpp:246
#15 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x31b17d40) at kernel/qobject.cpp:1917
#16 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x2fd291f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#17 0x00007f7b71f26999 in QStackedWidget::~QStackedWidget (this=0x2fd291f0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:193
#18 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x36f9c3f0) at kernel/qobject.cpp:1917
#19 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x2fc1c050, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#20 0x00007f7b71f23799 in QSplitter::~QSplitter (this=0x2fc1c050, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#21 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x2fd59050) at kernel/qobject.cpp:1917
#22 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x293c650, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#23 0x00007f7b734e01a9 in KHBox::~KHBox (this=0x293c650, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/kdeui/widgets/khbox.cpp:51
#24 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0x386beca0) at kernel/qobject.cpp:1917
#25 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x2fa3c8b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#26 0x00007f7b7352ca69 in KVBox::~KVBox (this=0x2fa3c8b0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/kdeui/widgets/kvbox.cpp:29
#27 0x00007f7b729c9e15 in QObjectPrivate::deleteChildren (this=0xe3b930) at kernel/qobject.cpp:1917
#28 0x00007f7b71b09b90 in QWidget::~QWidget (this=0x2e94f050, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#29 0x00007f7b416bced9 in KIPIGPSSyncPlugin::GPSSyncDialog::~GPSSyncDialog (this=0x2e94f050, __in_chrg=<optimized out>) at /usr/src/debug/digikam-2.5.0/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:506
#30 0x00007f7b729d0958 in QObject::event (this=0x2e94f050, e=<optimized out>) at kernel/qobject.cpp:1185
#31 0x00007f7b71b0efcb in QWidget::event (this=0x2e94f050, event=0x37924860) at kernel/qwidget.cpp:8820
#32 0x00007f7b71abee84 in notify_helper (e=0x37924860, receiver=0x2e94f050, this=0xb84a00) at kernel/qapplication.cpp:4550
#33 QApplicationPrivate::notify_helper (this=0xb84a00, receiver=0x2e94f050, e=0x37924860) at kernel/qapplication.cpp:4522
#34 0x00007f7b71ac3d03 in QApplication::notify (this=0x7fff430969c0, receiver=0x2e94f050, e=0x37924860) at kernel/qapplication.cpp:4411
#35 0x00007f7b73436656 in KApplication::notify (this=0x7fff430969c0, receiver=0x2e94f050, event=0x37924860) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#36 0x00007f7b729b789c in QCoreApplication::notifyInternal (this=0x7fff430969c0, receiver=0x2e94f050, event=0x37924860) at kernel/qcoreapplication.cpp:876
#37 0x00007f7b729bb13a in sendEvent (event=0x37924860, receiver=0x2e94f050) at kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb2ad20) at kernel/qcoreapplication.cpp:1500
#39 0x00007f7b729e64c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#40 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#41 0x00007f7b690e558d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f7b690e5d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f7b690e5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f7b729e68ef in QEventDispatcherGlib::processEvents (this=0xb2aa40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007f7b71b622de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f7b729b6682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f7b729b68d7 in QEventLoop::exec (this=0x7fff43096840, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f7b729bb435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#49 0x0000000000494bfd in main (argc=5, argv=<optimized out>) at /usr/src/debug/digikam-2.5.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 294725, bug 293917, bug 292395, bug 292201, bug 290776.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-22 08:56:42 UTC
Official Kipi-plugins 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 2 guest123 2012-06-23 16:13:39 UTC
Does not seem to crash any more. Although, as it did not ever crash on every time, I can't be 100% sure that it won't crash again some time in the future. And also, as I haven't seen a crash for a while before this update, I can't be sure if it was fixed by this 2.6.0 update, or some other update on some library or something. But nevertheless, I'm marking it fixed. Thanks for all the good work.