Bug 269533 - digiKam crash in Ubuntu
Summary: digiKam crash in Ubuntu
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 13:21 UTC by emb
Modified: 2022-01-28 04:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emb 2011-03-27 13:21:46 UTC
Application: digikam (2.0.0-beta4)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Crash occured while trying to download pictures from camera. 
Crash could be identically reproduced with a canon 540 and a nikon d7000.

The crash can be reproduced every time.

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

Thread 10 (Thread 0xb50a8b70 (LWP 4175)):
#0  0x08eee7d4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x021e5fa6 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0x0322a09c in g_main_context_query () from /lib/libglib-2.0.so.0
#3  0x0322f2c4 in ?? () from /lib/libglib-2.0.so.0
#4  0x0322fba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x03a889c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0325648f in ?? () from /lib/libglib-2.0.so.0
#7  0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#8  0x021d869e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb2b06b70 (LWP 4176)):
#0  0x00783416 in __kernel_vsyscall ()
#1  0x08eef4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x021e5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x043909c7 in wait (this=0x92cb394, mutex=0x92cb390, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x92cb394, mutex=0x92cb390, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x08238b99 in Digikam::ScanController::run (this=0x92c71d8) at /build/buildd/digikam2-2.0.0~beta4+git110307/digikam/database/scancontroller.cpp:602
#6  0x0438fdf9 in QThreadPrivate::start (arg=0x92c71d8) at thread/qthread_unix.cpp:266
#7  0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#8  0x021d869e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb2305b70 (LWP 4177)):
#0  0x0322d62b in g_main_context_acquire () from /lib/libglib-2.0.so.0
#1  0x0322f1ee in ?? () from /lib/libglib-2.0.so.0
#2  0x0322f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x044c059f in QEventDispatcherGlib::processEvents (this=0x92c5878, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x04490609 in QEventLoop::processEvents (this=0xb2305110, flags=) at kernel/qeventloop.cpp:149
#5  0x04490a8a in QEventLoop::exec (this=0xb2305110, flags=...) at kernel/qeventloop.cpp:201
#6  0x0438cb7e in QThread::exec (this=0x92cd050) at thread/qthread.cpp:490
#7  0x0446f35b in QInotifyFileSystemWatcherEngine::run (this=0x92cd050) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0438fdf9 in QThreadPrivate::start (arg=0x92cd050) at thread/qthread_unix.cpp:266
#9  0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#10 0x021d869e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb19ffb70 (LWP 4182)):
#0  0x00783416 in __kernel_vsyscall ()
#1  0x08eef4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x021e5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x043909c7 in wait (this=0x93e62c8, mutex=0x93e62c4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x93e62c8, mutex=0x93e62c4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x02fabeaa in Digikam::ParkingThread::run (this=0x93e62b8) at /build/buildd/digikam2-2.0.0~beta4+git110307/libs/threads/threadmanager.cpp:119
#6  0x0438fdf9 in QThreadPrivate::start (arg=0x93e62b8) at thread/qthread_unix.cpp:266
#7  0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#8  0x021d869e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xab03ab70 (LWP 4183)):
#0  0x00783416 in __kernel_vsyscall ()
#1  0x08eef884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x021e5df4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0x04c58b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xaa42eb70 (LWP 4184)):
#0  0x00783416 in __kernel_vsyscall ()
#1  0x021d1371 in select () from /lib/libc.so.6
#2  0x04c84f1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 4 (Thread 0xa9c2db70 (LWP 4185)):
#0  0x02c90e36 in clock_gettime () from /lib/librt.so.1
#1  0x043eb50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x044c26e5 in QTimerInfoList::updateCurrentTime (this=0x996db34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x044c272a in QTimerInfoList::timerWait (this=0x996db34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x044c07a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa9c2cf2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x044c083d in timerSourcePrepare (source=0x0, timeout=0x2c94ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0322ee6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0322f279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0322f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x044c059f in QEventDispatcherGlib::processEvents (this=0x996c758, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x04490609 in QEventLoop::processEvents (this=0xa9c2d100, flags=) at kernel/qeventloop.cpp:149
#12 0x04490a8a in QEventLoop::exec (this=0xa9c2d100, flags=...) at kernel/qeventloop.cpp:201
#13 0x0438cb7e in QThread::exec (this=0x996c360) at thread/qthread.cpp:490
#14 0x04baed7a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x0438fdf9 in QThreadPrivate::start (arg=0x996c360) at thread/qthread_unix.cpp:266
#16 0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#17 0x021d869e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa942cb70 (LWP 4186)):
#0  0x021c9dff in poll () from /lib/libc.so.6
#1  0x08e2b562 in ?? () from /usr/lib/libpulse.so.0
#2  0x08e17ab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x08e19a73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x08e19b44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x08e2b303 in ?? () from /usr/lib/libpulse.so.0
#6  0x04896bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x08eeacc9 in start_thread () from /lib/libpthread.so.0
#8  0x021d869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa4affb70 (LWP 4187)):
#0  0x00783416 in __kernel_vsyscall ()
#1  0x08eef4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x021e5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x04c6ab54 in ?? () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 1 (Thread 0xb531c890 (LWP 4174)):
[KCrash Handler]
#7  0x02179eb3 in realloc () from /lib/libc.so.6
#8  0x073fca1d in register_platform (d=0x9d45340, dispatch=0x7427380, name=0x74232db "usb") at control.c:2015
#9  0x07416061 in usb_init (d=0x9d45340) at control.c:383
#10 0x05d4508b in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0x00768b93 in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0x00a53c50 in ?? () from /usr/lib/libltdl.so.7
#13 0x00a5384c in ?? () from /usr/lib/libltdl.so.7
#14 0x00a538ff in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0x00768a70 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x083f8d40 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1200, productId=1064, model=..., port=...) at /build/buildd/digikam2-2.0.0~beta4+git110307/utilities/cameragui/devices/gpcamera.cpp:1761
#17 0x081dcebe in Digikam::DigikamApp::openSolidCamera (this=0x93292f8, udi=..., cameraLabel=...) at /build/buildd/digikam2-2.0.0~beta4+git110307/digikam/main/digikamapp.cpp:1828
#18 0x081dd8e3 in Digikam::DigikamApp::slotOpenSolidCamera (this=0x93292f8, action=0x9b385e8) at /build/buildd/digikam2-2.0.0~beta4+git110307/digikam/main/digikamapp.cpp:1775
#19 0x081f383a in Digikam::DigikamApp::qt_metacall (this=0x93292f8, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfdfcee8) at /build/buildd/digikam2-2.0.0~beta4+git110307/obj-i686-linux-gnu/digikam/digikamapp.moc:232
#20 0x044978ca in QMetaObject::metacall (object=0x93292f8, cl=164262160, idx=77, argv=0xbfdfcee8) at kernel/qmetaobject.cpp:237
#21 0x044aa6ad in QMetaObject::activate (sender=0x9c22488, m=0x1ff23e4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#22 0x01671253 in QActionGroup::triggered (this=0x9c22488, _t1=0x9b385e8) at .moc/release-shared/moc_qactiongroup.cpp:146
#23 0x016716a8 in QActionGroupPrivate::_q_actionTriggered (this=0x9b60520) at kernel/qactiongroup.cpp:93
#24 0x01671996 in QActionGroup::qt_metacall (this=0x9c22488, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfdfd048) at .moc/release-shared/moc_qactiongroup.cpp:101
#25 0x044978ca in QMetaObject::metacall (object=0x9c22488, cl=164262160, idx=11, argv=0xbfdfd048) at kernel/qmetaobject.cpp:237
#26 0x044aa6ad in QMetaObject::activate (sender=0x9b385e8, m=0x857f180, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
#27 0x0166bf99 in QAction::triggered (this=0x9b385e8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#28 0x0166d8dc in QAction::activate (this=0x9b385e8, event=QAction::Trigger) at kernel/qaction.cpp:1256
#29 0x01b397ef in QMenuPrivate::activateCausedStack (this=0x9c7fe08, causedStack=..., action=0x9b385e8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#30 0x01b3fa4b in QMenuPrivate::activateAction (this=0x9c7fe08, action=0x9b385e8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#31 0x01b405e0 in QMenu::mouseReleaseEvent (this=0x9c0ee60, e=0xbfdfd8f0) at widgets/qmenu.cpp:2301
#32 0x06936965 in KMenu::mouseReleaseEvent (this=0x9c0ee60, e=0xbfdfd8f0) at ../../kdeui/widgets/kmenu.cpp:458
#33 0x016d1e08 in QWidget::event (this=0x9c0ee60, event=0xbfdfd8f0) at kernel/qwidget.cpp:8187
#34 0x01b4202f in QMenu::event (this=0x9c0ee60, e=0xbfdfd8f0) at widgets/qmenu.cpp:2410
#35 0x01673fdc in QApplicationPrivate::notify_helper (this=0x9228a98, receiver=0x9c0ee60, e=0xbfdfd8f0) at kernel/qapplication.cpp:4396
#36 0x0167ac2e in QApplication::notify (this=0xbfdfecc0, receiver=0x9c0ee60, e=0xbfdfd8f0) at kernel/qapplication.cpp:3959
#37 0x068457da in KApplication::notify (this=0xbfdfecc0, receiver=0x9c0ee60, event=0xbfdfd8f0) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x04491b3b in QCoreApplication::notifyInternal (this=0xbfdfecc0, receiver=0x9c0ee60, event=0xbfdfd8f0) at kernel/qcoreapplication.cpp:732
#39 0x01679094 in sendEvent (receiver=0x9c0ee60, event=0xbfdfd8f0, alienWidget=0x0, nativeWidget=0x9c0ee60, buttonDown=0x200e3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x9c0ee60, event=0xbfdfd8f0, alienWidget=0x0, nativeWidget=0x9c0ee60, buttonDown=0x200e3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#41 0x01708261 in QETWidget::translateMouseEvent (this=0x9c0ee60, event=0xbfdfde0c) at kernel/qapplication_x11.cpp:4337
#42 0x01707151 in QApplication::x11ProcessEvent (this=0xbfdfecc0, event=0xbfdfde0c) at kernel/qapplication_x11.cpp:3414
#43 0x0173636a in x11EventSourceDispatch (s=0x922bce8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x0322b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x0322f668 in ?? () from /lib/libglib-2.0.so.0
#46 0x0322f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x044c0565 in QEventDispatcherGlib::processEvents (this=0x91da080, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#48 0x01735be5 in QGuiEventDispatcherGlib::processEvents (this=0x91da080, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x04490609 in QEventLoop::processEvents (this=0xbfdfe100, flags=) at kernel/qeventloop.cpp:149
#50 0x04490a8a in QEventLoop::exec (this=0xbfdfe100, flags=...) at kernel/qeventloop.cpp:201
#51 0x01b3cefe in QMenu::exec (this=0x9c0ee60, p=..., action=0x0) at widgets/qmenu.cpp:2054
#52 0x01b8c28b in QToolButtonPrivate::popupTimerDone (this=0x9c96938) at widgets/qtoolbutton.cpp:955
#53 0x044a4504 in QObject::event (this=0x9c96920, e=0x3) at kernel/qobject.cpp:1183
#54 0x016d1936 in QWidget::event (this=0x9c96920, event=0xbfdfe8e0) at kernel/qwidget.cpp:8646
#55 0x01aa1e9e in QAbstractButton::event (this=0x9c96920, e=0x3) at widgets/qabstractbutton.cpp:1080
#56 0x01b8d0ca in QToolButton::event (this=0x9c96920, event=0xbfdfe8e0) at widgets/qtoolbutton.cpp:1163
#57 0x01673fdc in QApplicationPrivate::notify_helper (this=0x9228a98, receiver=0x9c96920, e=0xbfdfe8e0) at kernel/qapplication.cpp:4396
#58 0x0167a0e9 in QApplication::notify (this=0xbfdfecc0, receiver=0x9c96920, e=0xbfdfe8e0) at kernel/qapplication.cpp:4361
#59 0x068457da in KApplication::notify (this=0xbfdfecc0, receiver=0x9c96920, event=0xbfdfe8e0) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x04491b3b in QCoreApplication::notifyInternal (this=0xbfdfecc0, receiver=0x9c96920, event=0xbfdfe8e0) at kernel/qcoreapplication.cpp:732
#61 0x044c3ad6 in sendEvent (this=0x922bc74) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#62 QTimerInfoList::activateTimers (this=0x922bc74) at kernel/qeventdispatcher_unix.cpp:602
#63 0x044c08a7 in timerSourceDispatch (source=0x922bca8) at kernel/qeventdispatcher_glib.cpp:184
#64 idleTimerSourceDispatch (source=0x922bca8) at kernel/qeventdispatcher_glib.cpp:231
#65 0x0322b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#66 0x0322f668 in ?? () from /lib/libglib-2.0.so.0
#67 0x0322f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#68 0x044c0565 in QEventDispatcherGlib::processEvents (this=0x91da080, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#69 0x01735be5 in QGuiEventDispatcherGlib::processEvents (this=0x91da080, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x04490609 in QEventLoop::processEvents (this=0xbfdfeba4, flags=) at kernel/qeventloop.cpp:149
#71 0x04490a8a in QEventLoop::exec (this=0xbfdfeba4, flags=...) at kernel/qeventloop.cpp:201
#72 0x0449500f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#73 0x01672e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#74 0x0832b3db in main (argc=1, argv=0xbfdfef64) at /build/buildd/digikam2-2.0.0~beta4+git110307/digikam/main/main.cpp:232

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

Possible duplicates by query: bug 268773.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-03-27 13:49:25 UTC

*** This bug has been marked as a duplicate of bug 268773 ***
Comment 2 caulier.gilles 2022-01-28 04:06:50 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=268773