Bug 269925 - Crash on library creation from usb drive
Summary: Crash on library creation from usb drive
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-04-02 10:47 UTC by Ian G. Watson
Modified: 2018-09-02 15:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian G. Watson 2011-04-02 10:47:47 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-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: Creating new library of multiple files from external usb hard drive.

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

Thread 7 (Thread 0xb755bb70 (LWP 7157)):
#0  0x00e3a416 in __kernel_vsyscall ()
#1  0x0250ddf6 in poll () from /lib/libc.so.6
#2  0x0276fa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0276243c in ?? () from /lib/libglib-2.0.so.0
#4  0x02762ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x036f19c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0278948f in ?? () from /lib/libglib-2.0.so.0
#7  0x0050dcc9 in start_thread () from /lib/libpthread.so.0
#8  0x0251c69e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb31ffb70 (LWP 7256)):
#0  0x00e3a416 in __kernel_vsyscall ()
#1  0x005124dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x022169c7 in wait (this=0x976cd40, mutex=0x976cd3c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x976cd40, mutex=0x976cd3c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x031402d2 in Digikam::ParkingThread::run (this=0x976cd30) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x02215df9 in QThreadPrivate::start (arg=0x976cd30) at thread/qthread_unix.cpp:266
#6  0x0050dcc9 in start_thread () from /lib/libpthread.so.0
#7  0x0251c69e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb29feb70 (LWP 7257)):
#0  0x00e3a416 in __kernel_vsyscall ()
#1  0x0250ddf6 in poll () from /lib/libc.so.6
#2  0x0276fa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0276243c in ?? () from /lib/libglib-2.0.so.0
#4  0x02762848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0234659f in QEventDispatcherGlib::processEvents (this=0x981df88, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x02316609 in QEventLoop::processEvents (this=0xb29fe2c0, flags=) at kernel/qeventloop.cpp:149
#7  0x02316a8a in QEventLoop::exec (this=0xb29fe2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x02212b7e in QThread::exec (this=0x981d3d0) at thread/qthread.cpp:490
#9  0x02215df9 in QThreadPrivate::start (arg=0x981d3d0) at thread/qthread_unix.cpp:266
#10 0x0050dcc9 in start_thread () from /lib/libpthread.so.0
#11 0x0251c69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb21fdb70 (LWP 7258)):
#0  0x021f6dda in __i686.get_pc_thunk.bx () from /usr/lib/libQtCore.so.4
#1  0x0227148e in qt_gettime () at tools/qelapsedtimer_unix.cpp:118
#2  0x023486e5 in QTimerInfoList::updateCurrentTime (this=0x98222bc) at kernel/qeventdispatcher_unix.cpp:339
#3  0x0234872a in QTimerInfoList::timerWait (this=0x98222bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#4  0x023467a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb21fd0ec) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0234683d in timerSourcePrepare (source=0xb21fd008, timeout=0xb21fd068) at kernel/qeventdispatcher_glib.cpp:169
#6  0x02761e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x02762279 in ?? () from /lib/libglib-2.0.so.0
#8  0x02762848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0234659f in QEventDispatcherGlib::processEvents (this=0x981b520, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#10 0x02316609 in QEventLoop::processEvents (this=0xb21fd2c0, flags=) at kernel/qeventloop.cpp:149
#11 0x02316a8a in QEventLoop::exec (this=0xb21fd2c0, flags=...) at kernel/qeventloop.cpp:201
#12 0x02212b7e in QThread::exec (this=0x981e768) at thread/qthread.cpp:490
#13 0x02215df9 in QThreadPrivate::start (arg=0x981e768) at thread/qthread_unix.cpp:266
#14 0x0050dcc9 in start_thread () from /lib/libpthread.so.0
#15 0x0251c69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa8c74b70 (LWP 7291)):
#0  0x00e3a416 in __kernel_vsyscall ()
#1  0x00512884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08bc2b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa7867b70 (LWP 7293)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x9d2c974) at kernel/qeventdispatcher_unix.cpp:400
#1  0x0234873e in QTimerInfoList::timerWait (this=0x9d2c974, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#2  0x023467a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa786707c) at kernel/qeventdispatcher_glib.cpp:136
#3  0x0234683d in timerSourcePrepare (source=0x1, timeout=0xc218f) at kernel/qeventdispatcher_glib.cpp:169
#4  0x02761e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#5  0x02762279 in ?? () from /lib/libglib-2.0.so.0
#6  0x02762848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x0234659f in QEventDispatcherGlib::processEvents (this=0x9d2b3a8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#8  0x02316609 in QEventLoop::processEvents (this=0xa7867250, flags=) at kernel/qeventloop.cpp:149
#9  0x02316a8a in QEventLoop::exec (this=0xa7867250, flags=...) at kernel/qeventloop.cpp:201
#10 0x02212b7e in QThread::exec (this=0x9d2afa0) at thread/qthread.cpp:490
#11 0x040d481a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#12 0x02215df9 in QThreadPrivate::start (arg=0x9d2afa0) at thread/qthread_unix.cpp:266
#13 0x0050dcc9 in start_thread () from /lib/libpthread.so.0
#14 0x0251c69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb779a740 (LWP 7156)):
[KCrash Handler]
#7  0x034ae2e2 in KDirWatch::contains (this=0x0, _path=...) at ../../kdecore/io/kdirwatch.cpp:1830
#8  0x0827a2a3 in Digikam::AlbumManager::addAlbumRoot (this=0x963c4b8, location=...) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1131
#9  0x08283d09 in Digikam::AlbumManager::slotCollectionLocationStatusChanged (this=0x963c4b8, location=..., oldStatus=0) at /build/buildd/digikam-1.4.0/digikam/albummanager.cpp:1102
#10 0x08285d57 in Digikam::AlbumManager::qt_metacall (this=0x963c4b8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfa43304) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/albummanager.moc:185
#11 0x0231d8ca in QMetaObject::metacall (object=0x963c4b8, cl=3215209217, idx=33, argv=0xbfa43304) at kernel/qmetaobject.cpp:237
#12 0x023306ad in QMetaObject::activate (sender=0x9655b90, m=0x43c264, local_signal_index=0, argv=0xbfa4319c) at kernel/qobject.cpp:3280
#13 0x00326799 in Digikam::CollectionManager::locationStatusChanged (this=0x9655b90, _t1=..., _t2=0) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:108
#14 0x0032d51d in Digikam::CollectionManager::updateLocations (this=0x9655b90) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1376
#15 0x0032e1cd in Digikam::CollectionManager::slotAlbumRootChange (this=0x9655b90, changeset=...) at /build/buildd/digikam-1.4.0/libs/database/collectionmanager.cpp:1406
#16 0x0032e635 in Digikam::CollectionManager::qt_metacall (this=0x9655b90, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa43638) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/collectionmanager.moc:95
#17 0x0231d8ca in QMetaObject::metacall (object=0x9655b90, cl=3215209217, idx=10, argv=0xbfa43638) at kernel/qmetaobject.cpp:237
#18 0x023306ad in QMetaObject::activate (sender=0x96581f0, m=0x43c2c4, local_signal_index=5, argv=0xbfa4319c) at kernel/qobject.cpp:3280
#19 0x00336163 in Digikam::DatabaseWatch::albumRootChange (this=0x96581f0, _t1=...) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/moc_databasewatch.cpp:185
#20 0x003361d8 in Digikam::DatabaseWatch::slotAlbumRootChangeDBus (this=0x96581f0, databaseIdentifier=..., applicationIdentifier=..., changeset=...) at /build/buildd/digikam-1.4.0/libs/database/databasewatch.cpp:334
#21 0x00336aeb in Digikam::DatabaseWatch::qt_metacall (this=0x96581f0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfa437bc) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/moc_databasewatch.cpp:137
#22 0x008d59dc in QDBusConnectionPrivate::deliverCall (this=0x95cbe60, object=0x96581f0, msg=..., metaTypes=..., slotIdx=23) at qdbusintegrator.cpp:919
#23 0x008e11f7 in QDBusCallDeliveryEvent::placeMetaCall (this=0xb99e308, object=0x96581f0) at qdbusintegrator_p.h:103
#24 0x0232a6a2 in QObject::event (this=0x96581f0, e=0x0) at kernel/qobject.cpp:1219
#25 0x01816fdc in QApplicationPrivate::notify_helper (this=0x9495190, receiver=0x96581f0, e=0xb99e308) at kernel/qapplication.cpp:4396
#26 0x0181d04e in QApplication::notify (this=0xbfa440fc, receiver=0x96581f0, e=0xb99e308) at kernel/qapplication.cpp:3798
#27 0x047a568a in KApplication::notify (this=0xbfa440fc, receiver=0x96581f0, event=0xb99e308) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x02317b3b in QCoreApplication::notifyInternal (this=0xbfa440fc, receiver=0x96581f0, event=0xb99e308) at kernel/qcoreapplication.cpp:732
#29 0x0231ad8b in sendEvent (receiver=0x0, event_type=0, data=0x94682b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x94682b8) at kernel/qcoreapplication.cpp:1373
#31 0x0231af4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#32 0x02346a74 in sendPostedEvents (s=0x9496d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x9496d90) at kernel/qeventdispatcher_glib.cpp:277
#34 0x0275e855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x02762668 in ?? () from /lib/libglib-2.0.so.0
#36 0x02762848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x02346565 in QEventDispatcherGlib::processEvents (this=0x9467d68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#38 0x018d8be5 in QGuiEventDispatcherGlib::processEvents (this=0x9467d68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x02316609 in QEventLoop::processEvents (this=0xbfa43fe4, flags=) at kernel/qeventloop.cpp:149
#40 0x02316a8a in QEventLoop::exec (this=0xbfa43fe4, flags=...) at kernel/qeventloop.cpp:201
#41 0x0231b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x01815e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#43 0x083c06b3 in main (argc=5, argv=0xbfa44564) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Possible duplicates by query: bug 269528, bug 266506, bug 261740, bug 261228, bug 258002.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-04-04 12:44:13 UTC

*** This bug has been marked as a duplicate of bug 266506 ***
Comment 2 caulier.gilles 2011-05-16 10:55:53 UTC
*** Bug 273399 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2017-07-19 03:48:26 UTC
Problem not reproducible since digiKam 5.0.0 as KDirWatch has been ported to
QFileSystemWatcher