Bug 266506 - Startup of digikam "by itself"
Summary: Startup of digikam "by itself"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 06:07 UTC by Hans Kleiner
Modified: 2018-09-02 15:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Kleiner 2011-02-17 06:07:01 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Shut down system after having closed all the applications (incl. digikam), after new start of sys, digikam starts up by itself

The crash can be reproduced some of the time.

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

Thread 7 (Thread 0xb1a52b70 (LWP 4651)):
#0  0x009ee416 in __kernel_vsyscall ()
#1  0x00e864dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x01acd9c7 in wait (this=0x8c3c920, mutex=0x8c3c91c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x8c3c920, mutex=0x8c3c91c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x0110d2d2 in Digikam::ParkingThread::run (this=0x8c3c910) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x01accdf9 in QThreadPrivate::start (arg=0x8c3c910) at thread/qthread_unix.cpp:266
#6  0x00e81cc9 in start_thread () from /lib/libpthread.so.0
#7  0x056be69e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb1251b70 (LWP 4652)):
#0  0x00e843eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x05cc8412 in g_main_context_release () from /lib/libglib-2.0.so.0
#2  0x05cca473 in ?? () from /lib/libglib-2.0.so.0
#3  0x05cca848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x01bfd59f in QEventDispatcherGlib::processEvents (this=0x8d155c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x01bcd609 in QEventLoop::processEvents (this=0xb12512c0, flags=) at kernel/qeventloop.cpp:149
#6  0x01bcda8a in QEventLoop::exec (this=0xb12512c0, flags=...) at kernel/qeventloop.cpp:201
#7  0x01ac9b7e in QThread::exec (this=0x8c634b0) at thread/qthread.cpp:490
#8  0x01accdf9 in QThreadPrivate::start (arg=0x8c634b0) at thread/qthread_unix.cpp:266
#9  0x00e81cc9 in start_thread () from /lib/libpthread.so.0
#10 0x056be69e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb0a50b70 (LWP 4653)):
#0  0x00e843eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x05cc9b68 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x05cca45e in ?? () from /lib/libglib-2.0.so.0
#3  0x05cca848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x01bfd59f in QEventDispatcherGlib::processEvents (this=0x8c61200, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x01bcd609 in QEventLoop::processEvents (this=0xb0a502c0, flags=) at kernel/qeventloop.cpp:149
#6  0x01bcda8a in QEventLoop::exec (this=0xb0a502c0, flags=...) at kernel/qeventloop.cpp:201
#7  0x01ac9b7e in QThread::exec (this=0x8d12400) at thread/qthread.cpp:490
#8  0x01accdf9 in QThreadPrivate::start (arg=0x8d12400) at thread/qthread_unix.cpp:266
#9  0x00e81cc9 in start_thread () from /lib/libpthread.so.0
#10 0x056be69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa983cb70 (LWP 4654)):
#0  0x009ee416 in __kernel_vsyscall ()
#1  0x00e86884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x072ebb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa842fb70 (LWP 4656)):
#0  0x05cc9b39 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x05cca45e in ?? () from /lib/libglib-2.0.so.0
#2  0x05cca848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x01bfd59f in QEventDispatcherGlib::processEvents (this=0x92dde08, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x01bcd609 in QEventLoop::processEvents (this=0xa842f250, flags=) at kernel/qeventloop.cpp:149
#5  0x01bcda8a in QEventLoop::exec (this=0xa842f250, flags=...) at kernel/qeventloop.cpp:201
#6  0x01ac9b7e in QThread::exec (this=0x92dda20) at thread/qthread.cpp:490
#7  0x034dc81a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x01accdf9 in QThreadPrivate::start (arg=0x92dda20) at thread/qthread_unix.cpp:266
#9  0x00e81cc9 in start_thread () from /lib/libpthread.so.0
#10 0x056be69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa1afcb70 (LWP 4671)):
#0  0x009ee416 in __kernel_vsyscall ()
#1  0x056afdf6 in poll () from /lib/libc.so.6
#2  0x05cd7a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05cca43c in ?? () from /lib/libglib-2.0.so.0
#4  0x05cca848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01bfd59f in QEventDispatcherGlib::processEvents (this=0x97760b0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x01bcd609 in QEventLoop::processEvents (this=0xa1afc260, flags=) at kernel/qeventloop.cpp:149
#7  0x01bcda8a in QEventLoop::exec (this=0xa1afc260, flags=...) at kernel/qeventloop.cpp:201
#8  0x01ac9b7e in QThread::exec (this=0x9cc5370) at thread/qthread.cpp:490
#9  0x01bac35b in QInotifyFileSystemWatcherEngine::run (this=0x9cc5370) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01accdf9 in QThreadPrivate::start (arg=0x9cc5370) at thread/qthread_unix.cpp:266
#11 0x00e81cc9 in start_thread () from /lib/libpthread.so.0
#12 0x056be69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb650d740 (LWP 4636)):
[KCrash Handler]
#7  0x015692e2 in KDirWatch::contains (this=0x0, _path=...) at ../../kdecore/io/kdirwatch.cpp:1830
#8  0x0827a2a3 in Digikam::AlbumManager::addAlbumRoot (this=0x86a6508, location=...) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1131
#9  0x08283d09 in Digikam::AlbumManager::slotCollectionLocationStatusChanged (this=0x86a6508, location=..., oldStatus=0) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1102
#10 0x08285d57 in Digikam::AlbumManager::qt_metacall (this=0x86a6508, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfbfe304) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/albummanager.moc:185
#11 0x01bd48ca in QMetaObject::metacall (object=0x86a6508, cl=3217023745, idx=33, argv=0xbfbfe304) at kernel/qmetaobject.cpp:237
#12 0x01be76ad in QMetaObject::activate (sender=0x8647880, m=0x147d264, local_signal_index=0, argv=0xbfbfe19c) at kernel/qobject.cpp:3280
#13 0x01367799 in Digikam::CollectionManager::locationStatusChanged (this=0x8647880, _t1=..., _t2=0) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:108
#14 0x0136e51d in Digikam::CollectionManager::updateLocations (this=0x8647880) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1376
#15 0x0136f56e in Digikam::CollectionManager::deviceAdded (this=0x8647880, udi=...) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1257
#16 0x0136f6b5 in Digikam::CollectionManager::qt_metacall (this=0x8647880, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfbfe5e8) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:92
#17 0x01bd48ca in QMetaObject::metacall (object=0x8647880, cl=3217023745, idx=7, argv=0xbfbfe5e8) at kernel/qmetaobject.cpp:237
#18 0x01be76ad in QMetaObject::activate (sender=0x8649c08, m=0x1a26c8, local_signal_index=0, argv=0xbfbfe19c) at kernel/qobject.cpp:3280
#19 0x0013b2e3 in Solid::DeviceNotifier::deviceAdded (this=0x8649c08, _t1=...) at ./devicenotifier.moc:87
#20 0x0013e67c in Solid::DeviceManagerPrivate::_k_deviceAdded (this=0x8649c08, udi=...) at ../../../solid/solid/devicemanager.cpp:188
#21 0x0013e8c7 in Solid::DeviceManagerPrivate::qt_metacall (this=0x8649c08, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbfe788) at ./devicemanager_p.moc:79
#22 0x01bd48ca in QMetaObject::metacall (object=0x8649c08, cl=3217023745, idx=6, argv=0xbfbfe788) at kernel/qmetaobject.cpp:237
#23 0x01be76ad in QMetaObject::activate (sender=0x86c4bf0, m=0x1a3780, local_signal_index=0, argv=0xbfbfe19c) at kernel/qobject.cpp:3280
#24 0x001531f3 in Solid::Ifaces::DeviceManager::deviceAdded (this=0x86c4bf0, _t1=...) at ./ifaces/devicemanager.moc:87
#25 0x001809ce in Solid::Backends::Hal::HalManager::slotDeviceAdded (this=0x86c4bf0, udi=...) at ../../../solid/solid/backends/hal/halmanager.cpp:244
#26 0x00180b3b in Solid::Backends::Hal::HalManager::qt_metacall (this=0x86c4bf0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbfe91c) at ./backends/hal/halmanager.moc:77
#27 0x017269dc in QDBusConnectionPrivate::deliverCall (this=0x86492a0, object=0x86c4bf0, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:919
#28 0x017321f7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x95c89f8, object=0x86c4bf0) at qdbusintegrator_p.h:103
#29 0x01be16a2 in QObject::event (this=0x86c4bf0, e=0x0) at kernel/qobject.cpp:1219
#30 0x023a0fdc in QApplicationPrivate::notify_helper (this=0x85fa1d0, receiver=0x86c4bf0, e=0x95c89f8) at kernel/qapplication.cpp:4396
#31 0x023a704e in QApplication::notify (this=0xbfbff25c, receiver=0x86c4bf0, e=0x95c89f8) at kernel/qapplication.cpp:3798
#32 0x0689f68a in KApplication::notify (this=0xbfbff25c, receiver=0x86c4bf0, event=0x95c89f8) at ../../kdeui/kernel/kapplication.cpp:310
#33 0x01bceb3b in QCoreApplication::notifyInternal (this=0xbfbff25c, receiver=0x86c4bf0, event=0x95c89f8) at kernel/qcoreapplication.cpp:732
#34 0x01bd1d8b in sendEvent (receiver=0x0, event_type=0, data=0x85cd2b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x85cd2b8) at kernel/qcoreapplication.cpp:1373
#36 0x01bd1f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#37 0x01bfda74 in sendPostedEvents (s=0x85fc578) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x85fc578) at kernel/qeventdispatcher_glib.cpp:277
#39 0x05cc6855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x05cca668 in ?? () from /lib/libglib-2.0.so.0
#41 0x05cca848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x01bfd565 in QEventDispatcherGlib::processEvents (this=0x85ccd68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#43 0x02462be5 in QGuiEventDispatcherGlib::processEvents (this=0x85ccd68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x01bcd609 in QEventLoop::processEvents (this=0xbfbff144, flags=) at kernel/qeventloop.cpp:149
#45 0x01bcda8a in QEventLoop::exec (this=0xbfbff144, flags=...) at kernel/qeventloop.cpp:201
#46 0x01bd200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0x0239fe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#48 0x083c06b3 in main (argc=5, argv=0xbfbff6c4) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Possible duplicates by query: bug 261740, bug 261228, bug 258002, bug 255054.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-02-17 06:28:44 UTC
Already fixed. Update to last 1.8.0

Gilles Caulier

*** This bug has been marked as a duplicate of bug 261740 ***
Comment 2 caulier.gilles 2011-04-04 12:44:13 UTC
*** Bug 269925 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2017-07-19 03:48:37 UTC
Problem not reproducible since digiKam 5.0.0 as KDirWatch has been ported to
QFileSystemWatcher