Bug 250418 - Digikam crashes on startup
Summary: Digikam crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 08:45 UTC by Sam Pera
Modified: 2019-12-25 17:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Pera 2010-09-07 08:45:12 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I constantly get crashes on Digikam when scanning for new files.  I deleted the digikam db from a previous installation and selected only the JPEG files from an external drive (around 20 GB)

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb2dd1b70 (LWP 30372)):
#0  0x016afe16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0129a6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0129f825 in QTimerInfoList::updateCurrentTime (this=0x9b29274) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0129f86a in QTimerInfoList::timerWait (this=0x9b29274, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0129d818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb2dd10dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0129d8a5 in timerSourcePrepare (source=0x0, timeout=0x16b3ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x037bdaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x037bdee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x037be4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0129d60f in QEventDispatcherGlib::processEvents (this=0x9b27bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x01270059 in QEventLoop::processEvents (this=0xb2dd12a0, flags=) at kernel/qeventloop.cpp:149
#11 0x012704aa in QEventLoop::exec (this=0xb2dd12a0, flags=...) at kernel/qeventloop.cpp:201
#12 0x0116c5a8 in QThread::exec (this=0x9b26d90) at thread/qthread.cpp:487
#13 0x0116f32e in QThreadPrivate::start (arg=0x9b26d90) at thread/qthread_unix.cpp:248
#14 0x0045b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x0503ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb25d0b70 (LWP 30373)):
#0  0x016afe16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0129a6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0129f825 in QTimerInfoList::updateCurrentTime (this=0x9b29fcc) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0129f86a in QTimerInfoList::timerWait (this=0x9b29fcc, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0129d818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb25d00dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0129d8a5 in timerSourcePrepare (source=0x0, timeout=0x16b3ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x037bdaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x037bdee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x037be4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0129d60f in QEventDispatcherGlib::processEvents (this=0x9b26ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x01270059 in QEventLoop::processEvents (this=0xb25d02a0, flags=) at kernel/qeventloop.cpp:149
#11 0x012704aa in QEventLoop::exec (this=0xb25d02a0, flags=...) at kernel/qeventloop.cpp:201
#12 0x0116c5a8 in QThread::exec (this=0x9b27110) at thread/qthread.cpp:487
#13 0x0116f32e in QThreadPrivate::start (arg=0x9b27110) at thread/qthread_unix.cpp:248
#14 0x0045b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x0503ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb0951b70 (LWP 30375)):
#0  0x00622422 in __kernel_vsyscall ()
#1  0x00460342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0480bce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xaf544b70 (LWP 30380)):
#0  0x00460e51 in pthread_getspecific () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x016a7f35 in ?? () from /usr/lib/libgthread-2.0.so.0
#2  0x037e4792 in g_thread_self () from /lib/libglib-2.0.so.0
#3  0x037be4a3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0129d60f in QEventDispatcherGlib::processEvents (this=0xa02ca00, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x01270059 in QEventLoop::processEvents (this=0xaf544230, flags=) at kernel/qeventloop.cpp:149
#6  0x012704aa in QEventLoop::exec (this=0xaf544230, flags=...) at kernel/qeventloop.cpp:201
#7  0x0116c5a8 in QThread::exec (this=0xa02c610) at thread/qthread.cpp:487
#8  0x0475e96a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x0116f32e in QThreadPrivate::start (arg=0xa02c610) at thread/qthread_unix.cpp:248
#10 0x0045b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x0503ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaad42b70 (LWP 30386)):
#0  0x00622422 in __kernel_vsyscall ()
#1  0x00460015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01170287 in QWaitConditionPrivate::wait (this=0xa14f628, mutex=0xa14f624, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa14f628, mutex=0xa14f624, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x07bb610a in Digikam::LoadSaveThread::run (this=0xa14f618) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x0116f32e in QThreadPrivate::start (arg=0xa14f618) at thread/qthread_unix.cpp:248
#6  0x0045b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0503ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xadd41b70 (LWP 30394)):
#0  0x00622422 in __kernel_vsyscall ()
#1  0x00460015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01170287 in QWaitConditionPrivate::wait (this=0xa3a9808, mutex=0xa3a9804, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa3a9808, mutex=0xa3a9804, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x07bb610a in Digikam::LoadSaveThread::run (this=0xa3a97f8) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x0116f32e in QThreadPrivate::start (arg=0xa3a97f8) at thread/qthread_unix.cpp:248
#6  0x0045b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0503ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7818760 (LWP 30143)):
[KCrash Handler]
#6  0x082d75dc in Digikam::DigikamView::refreshView (this=0x9ac82f0) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:274
#7  0x082b3bc0 in Digikam::DigikamApp::slotDatabaseRescan (this=0x9432a10) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:2480
#8  0x082d082d in Digikam::DigikamApp::qt_metacall (this=0x9432a10, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdce138)
    at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/digikamapp.moc:246
#9  0x01276c9a in QMetaObject::metacall (object=0x9432a10, cl=84706240, idx=98, argv=0xbfdce138) at kernel/qmetaobject.cpp:237
#10 0x012853d5 in QMetaObject::activate (sender=0xa4aabc8, m=0x84ce258, local_signal_index=1, argv=0xbfdce138) at kernel/qobject.cpp:3293
#11 0x03a2abd9 in QAction::triggered (this=0xa4aabc8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x03a2cdcc in QAction::activate (this=0xa4aabc8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#13 0x03ed060c in QMenuPrivate::activateCausedStack (this=0xaf951f0, causedStack=..., action=0xa4aabc8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#14 0x03ed6abb in QMenuPrivate::activateAction (this=0xaf951f0, action=0xa4aabc8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#15 0x03ed7ac7 in QMenu::mouseReleaseEvent (this=0xaf93f30, e=0xbfdce9d0) at widgets/qmenu.cpp:2312
#16 0x01991f65 in KMenu::mouseReleaseEvent (this=0xaf93f30, e=0xbfdce9d0) at ../../kdeui/widgets/kmenu.cpp:471
#17 0x03a8f7f8 in QWidget::event (this=0xaf93f30, event=0xbfdce9d0) at kernel/qwidget.cpp:7998
#18 0x03ed90cc in QMenu::event (this=0xaf93f30, e=0xbfdce9d0) at widgets/qmenu.cpp:2414
#19 0x03a314dc in QApplicationPrivate::notify_helper (this=0x9216ce0, receiver=0xaf93f30, e=0xbfdce9d0) at kernel/qapplication.cpp:4300
#20 0x03a389f7 in QApplication::notify (this=0xbfdcf298, receiver=0xaf93f30, e=0xbfdce9d0) at kernel/qapplication.cpp:3865
#21 0x0189bf2a in KApplication::notify (this=0xbfdcf298, receiver=0xaf93f30, event=0xbfdce9d0) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x01271a3b in QCoreApplication::notifyInternal (this=0xbfdcf298, receiver=0xaf93f30, event=0xbfdce9d0) at kernel/qcoreapplication.cpp:704
#23 0x03a37952 in QCoreApplication::sendEvent (receiver=0xaf93f30, event=0xbfdce9d0, alienWidget=0x0, nativeWidget=0xaf93f30, buttonDown=0x4375058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0xaf93f30, event=0xbfdce9d0, alienWidget=0x0, nativeWidget=0xaf93f30, buttonDown=0x4375058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#25 0x03ac35cf in QETWidget::translateMouseEvent (this=0xaf93f30, event=0xbfdceeec) at kernel/qapplication_x11.cpp:4302
#26 0x03ac2511 in QApplication::x11ProcessEvent (this=0xbfdcf298, event=0xbfdceeec) at kernel/qapplication_x11.cpp:3379
#27 0x03af160a in x11EventSourceDispatch (s=0x9219f40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x037ba5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x037be2d8 in ?? () from /lib/libglib-2.0.so.0
#30 0x037be4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x0129d5d5 in QEventDispatcherGlib::processEvents (this=0x91ec6e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#32 0x03af1135 in QGuiEventDispatcherGlib::processEvents (this=0x91ec6e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x01270059 in QEventLoop::processEvents (this=0xbfdcf1e4, flags=) at kernel/qeventloop.cpp:149
#34 0x012704aa in QEventLoop::exec (this=0xbfdcf1e4, flags=...) at kernel/qeventloop.cpp:201
#35 0x0127469f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x03a31577 in QApplication::exec () at kernel/qapplication.cpp:3579
#37 0x083c2c35 in main (argc=1, argv=0xbfdcf6e4) at /build/buildd/digikam-1.2.0/digikam/main.cpp:193

This bug may be a duplicate of or related to bug 220043.

Possible duplicates by query: bug 220043.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-06 15:13:45 UTC

*** This bug has been marked as a duplicate of bug 220043 ***
Comment 2 caulier.gilles 2019-12-25 17:24:12 UTC
Not reproducible using digiKam 7.0.0 beta1.