Bug 259005 - digikam crashed after external disk was turned off
Summary: digikam crashed after external disk was turned off
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: 2010-12-06 13:31 UTC by mossad
Modified: 2017-07-26 16:30 UTC (History)
1 user (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 mossad 2010-12-06 13:31:03 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-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I turned off external USB HDD (NTFS partition). Digikam was not shows as running process (GUI, ps was not checked). When power button was pressed, crash assistant appeared.

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

Thread 7 (Thread 0xb3bffb70 (LWP 3910)):
#0  0x004d2416 in __kernel_vsyscall ()
#1  0x001e04dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x013899c7 in wait (this=0x8db8998, mutex=0x8db8994, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x8db8998, mutex=0x8db8994, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x02d3a2d2 in Digikam::ParkingThread::run (this=0x8db8988) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x01388df9 in QThreadPrivate::start (arg=0x8db8988) at thread/qthread_unix.cpp:266
#6  0x001dbcc9 in start_thread () from /lib/libpthread.so.0
#7  0x07a216be in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb33feb70 (LWP 3911)):
#0  0x021cee36 in clock_gettime () from /lib/librt.so.1
#1  0x013e450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x014bb6e5 in QTimerInfoList::updateCurrentTime (this=0xb3c00774) at kernel/qeventdispatcher_unix.cpp:339
#4  0x014bb72a in QTimerInfoList::timerWait (this=0xb3c00774, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x014b97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb33fe0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x014b983d in timerSourcePrepare (source=0x0, timeout=0x21d2ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02070e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02071279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02071848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x014b959f in QEventDispatcherGlib::processEvents (this=0x8dee700, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x01489609 in QEventLoop::processEvents (this=0xb33fe2c0, flags=) at kernel/qeventloop.cpp:149
#12 0x01489a8a in QEventLoop::exec (this=0xb33fe2c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x01385b7e in QThread::exec (this=0x8df4818) at thread/qthread.cpp:490
#14 0x01388df9 in QThreadPrivate::start (arg=0x8df4818) at thread/qthread_unix.cpp:266
#15 0x001dbcc9 in start_thread () from /lib/libpthread.so.0
#16 0x07a216be in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb2bfdb70 (LWP 3912)):
#0  0x004d2416 in __kernel_vsyscall ()
#1  0x07a12df6 in poll () from /lib/libc.so.6
#2  0x0207ea1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0207143c in ?? () from /lib/libglib-2.0.so.0
#4  0x02071848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x014b959f in QEventDispatcherGlib::processEvents (this=0x8df3a48, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x01489609 in QEventLoop::processEvents (this=0xb2bfd2c0, flags=) at kernel/qeventloop.cpp:149
#7  0x01489a8a in QEventLoop::exec (this=0xb2bfd2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x01385b7e in QThread::exec (this=0x8df9970) at thread/qthread.cpp:490
#9  0x01388df9 in QThreadPrivate::start (arg=0x8df9970) at thread/qthread_unix.cpp:266
#10 0x001dbcc9 in start_thread () from /lib/libpthread.so.0
#11 0x07a216be in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaba53b70 (LWP 3913)):
#0  0x004d2416 in __kernel_vsyscall ()
#1  0x001e0884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x02906b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xaa646b70 (LWP 3915)):
#0  0x021cee36 in clock_gettime () from /lib/librt.so.1
#1  0x013e450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x014bb6e5 in QTimerInfoList::updateCurrentTime (this=0x9041934) at kernel/qeventdispatcher_unix.cpp:339
#4  0x014bb72a in QTimerInfoList::timerWait (this=0x9041934, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x014b97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaa64607c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x014b983d in timerSourcePrepare (source=0x0, timeout=0x21d2ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02070e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02071279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02071848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x014b959f in QEventDispatcherGlib::processEvents (this=0x9040330, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x01489609 in QEventLoop::processEvents (this=0xaa646250, flags=) at kernel/qeventloop.cpp:149
#12 0x01489a8a in QEventLoop::exec (this=0xaa646250, flags=...) at kernel/qeventloop.cpp:201
#13 0x01385b7e in QThread::exec (this=0x903ff08) at thread/qthread.cpp:490
#14 0x028a381a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x01388df9 in QThreadPrivate::start (arg=0x903ff08) at thread/qthread_unix.cpp:266
#16 0x001dbcc9 in start_thread () from /lib/libpthread.so.0
#17 0x07a216be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa355fb70 (LWP 3931)):
#0  0x001df7d4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x0206f4fb in g_main_context_release () from /lib/libglib-2.0.so.0
#2  0x02071473 in ?? () from /lib/libglib-2.0.so.0
#3  0x02071848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x014b959f in QEventDispatcherGlib::processEvents (this=0x9c2fcf8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x01489609 in QEventLoop::processEvents (this=0xa355f260, flags=) at kernel/qeventloop.cpp:149
#6  0x01489a8a in QEventLoop::exec (this=0xa355f260, flags=...) at kernel/qeventloop.cpp:201
#7  0x01385b7e in QThread::exec (this=0xa135358) at thread/qthread.cpp:490
#8  0x0146835b in QInotifyFileSystemWatcherEngine::run (this=0xa135358) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x01388df9 in QThreadPrivate::start (arg=0xa135358) at thread/qthread_unix.cpp:266
#10 0x001dbcc9 in start_thread () from /lib/libpthread.so.0
#11 0x07a216be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7894740 (LWP 3905)):
[KCrash Handler]
#7  KDirWatch::removeDir (this=0x0, _path=...) at ../../kdecore/io/kdirwatch.cpp:1778
#8  0x0827ad03 in Digikam::AlbumManager::removeAlbumRoot (this=0x8ce6c60, location=...) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1148
#9  0x08283d39 in Digikam::AlbumManager::slotCollectionLocationStatusChanged (this=0x8ce6c60, location=..., oldStatus=1) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1109
#10 0x08285d57 in Digikam::AlbumManager::qt_metacall (this=0x8ce6c60, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbffc3fa4) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/albummanager.moc:185
#11 0x014908ca in QMetaObject::metacall (object=0x8ce6c60, cl=3220979457, idx=33, argv=0xbffc3fa4) at kernel/qmetaobject.cpp:237
#12 0x014a36ad in QMetaObject::activate (sender=0x8e0a728, m=0xe28264, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#13 0x00d12799 in Digikam::CollectionManager::locationStatusChanged (this=0x8e0a728, _t1=..., _t2=1) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:108
#14 0x00d190a7 in Digikam::CollectionManager::updateLocations (this=0x8e0a728) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1312
#15 0x00d1a47d in Digikam::CollectionManager::accessibilityChanged (this=0x8e0a728, accessible=false, udi=...) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1273
#16 0x00d1a6ff in Digikam::CollectionManager::qt_metacall (this=0x8e0a728, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbffc4274) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:94
#17 0x014908ca in QMetaObject::metacall (object=0x8e0a728, cl=3220979457, idx=9, argv=0xbffc4274) at kernel/qmetaobject.cpp:237
#18 0x014a36ad in QMetaObject::activate (sender=0x8d9b0a0, m=0x84cff38, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#19 0x00bdd29f in Solid::StorageAccess::accessibilityChanged (this=0x8d9b0a0, _t1=false, _t2=...) at ./storageaccess.moc:127
#20 0x00bdd667 in Solid::StorageAccess::qt_metacall (this=0x8d9b0a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbffc43d4) at ./storageaccess.moc:87
#21 0x014908ca in QMetaObject::metacall (object=0x8d9b0a0, cl=3220979457, idx=4, argv=0xbffc43d4) at kernel/qmetaobject.cpp:237
#22 0x014a36ad in QMetaObject::activate (sender=0x8d817f0, m=0xc42240, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#23 0x00c24d7f in Solid::Backends::Hal::StorageAccess::accessibilityChanged (this=0x8d817f0, _t1=false, _t2=...) at ./backends/hal/halstorageaccess.moc:140
#24 0x00c26092 in Solid::Backends::Hal::StorageAccess::slotPropertyChanged (this=0x8d817f0, changes=...) at ../../../solid/solid/backends/hal/halstorageaccess.cpp:168
#25 0x00c2a02d in Solid::Backends::Hal::StorageAccess::qt_metacall (this=0x8d817f0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbffc45a8) at ./backends/hal/halstorageaccess.moc:119
#26 0x014908ca in QMetaObject::metacall (object=0x8d817f0, cl=3220979457, idx=11, argv=0xbffc45a8) at kernel/qmetaobject.cpp:237
#27 0x014a36ad in QMetaObject::activate (sender=0x8ce1330, m=0xc41620, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#28 0x00c12093 in Solid::Backends::Hal::HalDevice::propertyChanged (this=0x8ce1330, _t1=...) at ./backends/hal/haldevice.moc:99
#29 0x00c12b93 in Solid::Backends::Hal::HalDevice::slotPropertyModified (this=0x8ce1330, changes=...) at ../../../solid/solid/backends/hal/haldevice.cpp:544
#30 0x00c12dee in Solid::Backends::Hal::HalDevice::qt_metacall (this=0x8ce1330, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbffc47ec) at ./backends/hal/haldevice.moc:86
#31 0x015de9dc in QDBusConnectionPrivate::deliverCall (this=0x8d20e28, object=0x8ce1330, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:919
#32 0x015ea1f7 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa21b8c0, object=0x8ce1330) at qdbusintegrator_p.h:103
#33 0x0149d6a2 in QObject::event (this=0x8ce1330, e=0x0) at kernel/qobject.cpp:1219
#34 0x05317fdc in QApplicationPrivate::notify_helper (this=0x8bcb1d8, receiver=0x8ce1330, e=0xa21b8c0) at kernel/qapplication.cpp:4396
#35 0x0531e04e in QApplication::notify (this=0xbffc512c, receiver=0x8ce1330, e=0xa21b8c0) at kernel/qapplication.cpp:3798
#36 0x0197868a in KApplication::notify (this=0xbffc512c, receiver=0x8ce1330, event=0xa21b8c0) at ../../kdeui/kernel/kapplication.cpp:310
#37 0x0148ab3b in QCoreApplication::notifyInternal (this=0xbffc512c, receiver=0x8ce1330, event=0xa21b8c0) at kernel/qcoreapplication.cpp:732
#38 0x0148dd8b in sendEvent (receiver=0x0, event_type=0, data=0x8b9e2b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b9e2b8) at kernel/qcoreapplication.cpp:1373
#40 0x0148df4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#41 0x014b9a74 in sendPostedEvents (s=0x8bcd528) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=0x8bcd528) at kernel/qeventdispatcher_glib.cpp:277
#43 0x0206d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x02071668 in ?? () from /lib/libglib-2.0.so.0
#45 0x02071848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x014b9565 in QEventDispatcherGlib::processEvents (this=0x8b9dd68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#47 0x053d9be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b9dd68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x01489609 in QEventLoop::processEvents (this=0xbffc5014, flags=) at kernel/qeventloop.cpp:149
#49 0x01489a8a in QEventLoop::exec (this=0xbffc5014, flags=...) at kernel/qeventloop.cpp:201
#50 0x0148e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#51 0x05316e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#52 0x083c06b3 in main (argc=5, argv=0xbffc5594) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Possible duplicates by query: bug 256867, bug 252436.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-12-06 13:34:42 UTC

*** This bug has been marked as a duplicate of bug 256867 ***
Comment 2 caulier.gilles 2017-07-19 04:08:41 UTC
Problem not reproducible since digiKam 5.0.0 as KDirWatch has been ported to
QFileSystemWatcher