Bug 292251

Summary: Crashed While trying to add camera.
Product: [Applications] digikam Reporter: redrigh
Component: Setup-CollectionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description redrigh 2012-01-23 06:45:47 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
First time running the program after install
Plugged in camera (Olympus Stylus Tough)  
Scanned for new cameras -nothing found
Selected "add camera manualy"
Crashed.

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

Thread 5 (Thread 0xb48ffb70 (LWP 6652)):
#0  0x00a2a468 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00a2dd8f in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0318ff14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#3  0x0205aeda in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0205c56d in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0205cf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x03370cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0x020835f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x00a2bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x031820ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb5279b70 (LWP 7107)):
#0  0x006a2416 in __kernel_vsyscall ()
#1  0x00a2fa5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0318fcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0167dcc0 in wait (time=4294967295, this=0x9d71750) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9b17f3c, mutex=0x9b17f38, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081faf45 in Digikam::ScanController::run (this=0x9cdd3a0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#6  0x0167d7b3 in QThreadPrivate::start (arg=0x9cdd3a0) at thread/qthread_unix.cpp:331
#7  0x00a2bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x031820ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb2dbfb70 (LWP 7108)):
#0  0x00dffd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x016d47d5 in do_gettime (frac=0xb2dbee70, sec=0xb2dbee68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x017a74b6 in QTimerInfoList::updateCurrentTime (this=0x9d198cc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x017a780a in QTimerInfoList::timerWait (this=0x9d198cc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x017a6053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb2dbef7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x017a60ed in timerSourcePrepare (source=0x9d19898, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0205b88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0205c637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0205cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x017a6b37 in QEventDispatcherGlib::processEvents (this=0x99a1ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x017771dd in QEventLoop::processEvents (this=0xb2dbf100, flags=...) at kernel/qeventloop.cpp:149
#12 0x01777421 in QEventLoop::exec (this=0xb2dbf100, flags=...) at kernel/qeventloop.cpp:201
#13 0x0167a90b in QThread::exec (this=0x9b1bea0) at thread/qthread.cpp:498
#14 0x01757e2d in QInotifyFileSystemWatcherEngine::run (this=0x9b1bea0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0167d7b3 in QThreadPrivate::start (arg=0x9b1bea0) at thread/qthread_unix.cpp:331
#16 0x00a2bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x031820ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb25beb70 (LWP 7162)):
#0  0x006a2416 in __kernel_vsyscall ()
#1  0x00a2fa5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0318fcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0167dcc0 in wait (time=4294967295, this=0x9eaa5f8) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9cf0038, mutex=0x9cf0034, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x05126f54 in Digikam::ParkingThread::run (this=0x9cf0028) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#6  0x0167d7b3 in QThreadPrivate::start (arg=0x9cf0028) at thread/qthread_unix.cpp:331
#7  0x00a2bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x031820ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb55028c0 (LWP 6648)):
[KCrash Handler]
#7  0x05dbf761 in QAccessibleItemRow::text (this=0xb665888, t=QAccessible::Accelerator, child=-1078652512) at complexwidgets.cpp:331
#8  0x05d14e31 in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#9  0x05d08ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#10 0x05d0857a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#11 0x05d0e5bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x05d14426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x05d14c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#14 0x05d08ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#15 0x05d0857a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#16 0x05d0e5bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#17 0x05d14426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#18 0x05d14c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#19 0x05d08ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#20 0x05d0857a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#21 0x05d0e5bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#22 0x05d14426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#23 0x05d14c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#24 0x05d08ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#25 0x05d0857a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#26 0x05d09554 in QSpiAccessibleBridge::objectToAccessible(QObject*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#27 0x05d25fa4 in QSpiAccessible::getParentReference() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#28 0x05d14ba8 in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#29 0x05d08ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#30 0x05d0857a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#31 0x05d09b7d in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#32 0x0444d39e in QAccessible::updateAccessibility (o=0xb660148, who=0, reason=QAccessible::NameChanged) at accessible/qaccessible_unix.cpp:107
#33 0x042d1b07 in QAbstractButton::setText (this=0xb660148, text=...) at widgets/qabstractbutton.cpp:647
#34 0x080f063e in Digikam::SetupCollectionDelegate::sizeHint (this=0xb65fd20, option=..., index=...) at /build/buildd/digikam-2.1.1/core/utilities/setup/setupcollectionview.cpp:185
#35 0x04494037 in QTreeView::indexRowSizeHint (this=0xb658760, index=...) at itemviews/qtreeview.cpp:2802
#36 0x04497d37 in itemHeight (item=2, this=0xb65cff0) at itemviews/qtreeview.cpp:3232
#37 QTreeViewPrivate::itemHeight (this=0xb65cff0, item=2) at itemviews/qtreeview.cpp:3221
#38 0x0449800b in QTreeViewPrivate::updateScrollBars (this=0xb65cff0) at itemviews/qtreeview.cpp:3457
#39 0x04498358 in QTreeView::updateGeometries (this=0xb658760) at itemviews/qtreeview.cpp:2686
#40 0x04452114 in QAbstractItemView::doItemsLayout (this=0xb658760) at itemviews/qabstractitemview.cpp:1148
#41 0x0449fd88 in QTreeView::doItemsLayout (this=0xb658760) at itemviews/qtreeview.cpp:2027
#42 0x0449ca7b in executePostedLayout (this=0xb65cff0) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#43 executePostedLayout (this=0xb65cff0) at itemviews/qtreeview.cpp:635
#44 QTreeView::setFirstColumnSpanned (this=0xb658760, row=0, parent=..., span=true) at itemviews/qtreeview.cpp:655
#45 0x080ee6eb in Digikam::SetupCollectionTreeView::modelLoadedCollections (this=0xb658760) at /build/buildd/digikam-2.1.1/core/utilities/setup/setupcollectionview.cpp:327
#46 0x080ee8e7 in Digikam::SetupCollectionTreeView::qt_metacall (this=0xb658760, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb526e4) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/digikam/moc_setupcollectionview.cpp:153
#47 0x0177eb7d in metacall (argv=0xbfb526e4, idx=88, cl=QMetaObject::InvokeMetaMethod, object=0xb658760) at kernel/qmetaobject.cpp:237
#48 QMetaObject::metacall (object=0xb658760, cl=QMetaObject::InvokeMetaMethod, idx=88, argv=0xbfb526e4) at kernel/qmetaobject.cpp:232
#49 0x0178da6a in QMetaObject::activate (sender=0xb65e5e0, m=0x83f4494, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#50 0x080ee207 in Digikam::SetupCollectionModel::collectionsLoaded (this=0xb65e5e0) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/digikam/moc_setupcollectionview.cpp:98
#51 0x080f0fed in Digikam::SetupCollectionModel::loadCollections (this=0xb65e5e0) at /build/buildd/digikam-2.1.1/core/utilities/setup/setupcollectionview.cpp:405
#52 0x080ed38b in Digikam::SetupCollections::SetupCollections (this=0x9d9fc20, dialog=0x4, parent=0x0) at /build/buildd/digikam-2.1.1/core/utilities/setup/setupcollections.cpp:134
#53 0x080f9800 in Digikam::Setup::Setup (this=0x9db3818, parent=0x0) at /build/buildd/digikam-2.1.1/core/utilities/setup/setup.cpp:191
#54 0x080fc5c3 in Digikam::Setup::execSinglePage (parent=0x9d1e0f0, page=Digikam::Setup::CameraPage) at /build/buildd/digikam-2.1.1/core/utilities/setup/setup.cpp:424
#55 0x081a0767 in Digikam::DigikamApp::slotSetupCamera (this=0x9d1e0f0) at /build/buildd/digikam-2.1.1/core/digikam/main/digikamapp.cpp:2484
#56 0x081b002d in Digikam::DigikamApp::qt_metacall (this=0x9d1e0f0, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbfb52be8) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/digikam/digikamapp.moc:255
#57 0x0177eb7d in metacall (argv=0xbfb52be8, idx=84, cl=QMetaObject::InvokeMetaMethod, object=0x9d1e0f0) at kernel/qmetaobject.cpp:237
#58 QMetaObject::metacall (object=0x9d1e0f0, cl=QMetaObject::InvokeMetaMethod, idx=84, argv=0xbfb52be8) at kernel/qmetaobject.cpp:232
#59 0x0178da6a in QMetaObject::activate (sender=0xa76f738, m=0x8528f50, local_signal_index=1, argv=0xbfb52be8) at kernel/qobject.cpp:3278
#60 0x03eb683d in QAction::triggered (this=0xa76f738, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#61 0x03eb6adb in QAction::activate (this=0xa76f738, event=QAction::Trigger) at kernel/qaction.cpp:1257
#62 0x03eb7fa8 in trigger (this=0xa76f738) at kernel/qaction.h:218
#63 QAction::qt_metacall (this=0xa76f738, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xaf4d0e8) at .moc/release-shared/moc_qaction.cpp:174
#64 0x03f1f7f2 in QWidgetAction::qt_metacall (this=0xa76f738, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xaf4d0e8) at .moc/release-shared/moc_qwidgetaction.cpp:67
#65 0x061dde22 in KAction::qt_metacall (this=0xa76f738, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xaf4d0e8) at ./kaction.moc:95
#66 0x0177eb7d in metacall (argv=0xaf4d0e8, idx=12, cl=QMetaObject::InvokeMetaMethod, object=0xa76f738) at kernel/qmetaobject.cpp:237
#67 QMetaObject::metacall (object=0xa76f738, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xaf4d0e8) at kernel/qmetaobject.cpp:232
#68 0x01789685 in QMetaCallEvent::placeMetaCall (this=0x997c450, object=0xa76f738) at kernel/qobject.cpp:535
#69 0x01790b52 in QObject::event (this=0xa76f738, e=0x997c450) at kernel/qobject.cpp:1217
#70 0x03eb6bb1 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#71 QAction::event (this=0x4, e=0x0) at kernel/qaction.cpp:1172
#72 0x061dc20f in KAction::event (this=0xa76f738, event=0x997c450) at ../../kdeui/actions/kaction.cpp:131
#73 0x03ebdd54 in notify_helper (e=0x997c450, receiver=0xa76f738, this=0x9966fa8) at kernel/qapplication.cpp:4486
#74 QApplicationPrivate::notify_helper (this=0x9966fa8, receiver=0xa76f738, e=0x997c450) at kernel/qapplication.cpp:4458
#75 0x03ec3103 in QApplication::notify (this=0x997c450, receiver=0xa76f738, e=0x997c450) at kernel/qapplication.cpp:3886
#76 0x062de681 in KApplication::notify (this=0xbfb53570, receiver=0xa76f738, event=0x997c450) at ../../kdeui/kernel/kapplication.cpp:311
#77 0x0177819e in QCoreApplication::notifyInternal (this=0xbfb53570, receiver=0xa76f738, event=0x997c450) at kernel/qcoreapplication.cpp:787
#78 0x0177bf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#79 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9925ba0) at kernel/qcoreapplication.cpp:1428
#80 0x0177c0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#81 0x017a66a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#82 postEventSourceDispatch (s=0x9969300) at kernel/qeventdispatcher_glib.cpp:277
#83 0x0205c25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#84 0x0205c990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#85 0x0205cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#86 0x017a6ada in QEventDispatcherGlib::processEvents (this=0x99268b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#87 0x03f75e3a in QGuiEventDispatcherGlib::processEvents (this=0x99268b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x017771dd in QEventLoop::processEvents (this=0xbfb53454, flags=...) at kernel/qeventloop.cpp:149
#89 0x01777421 in QEventLoop::exec (this=0xbfb53454, flags=...) at kernel/qeventloop.cpp:201
#90 0x0177c19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#91 0x03ebb8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#92 0x080b4b64 in main (argc=) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 285742.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-01-23 07:52:01 UTC

*** This bug has been marked as a duplicate of bug 285742 ***
Comment 2 caulier.gilles 2022-01-20 16:49:52 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=285742