Bug 316063 - Digikam crash when importing from Nikon D7000
Summary: Digikam crash when importing from Nikon D7000
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 3.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-03 10:02 UTC by szpared
Modified: 2021-08-25 14:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description szpared 2013-03-03 10:02:53 UTC
Application: digikam (3.0.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.4.0-030400-generic i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
Digikam crash during import pics from D7000. Import directly from SD card or another camera working properly.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaf13c780 (LWP 2770))]

Thread 9 (Thread 0xacac1b40 (LWP 2771)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb33d196b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a7964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3f350 in wait (time=4294967295, this=0xa373008) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa372f74, mutex=0xa372f70, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0821326e in Digikam::ScanController::run (this=0xa2fe098) at /build/buildd/digikam-3.0.0/core/digikam/database/scancontroller.cpp:698
#6  0xb4d3ede0 in QThreadPrivate::start (arg=0xa2fe098) at thread/qthread_unix.cpp:298
#7  0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0xac0ffb40 (LWP 2772)):
#0  0xb2e8bdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb4d9d315 in do_gettime (frac=0xac0fef70, sec=0xac0fef68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4e87226 in QTimerInfoList::updateCurrentTime (this=0xab702074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb4e8757a in QTimerInfoList::timerWait (this=0xab702074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb4e85e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xac0ff07c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4e85ebd in timerSourcePrepare (source=0xab702040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3026872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3026faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb4e868e7 in QEventDispatcherGlib::processEvents (this=0xab700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb4e5250d in QEventLoop::processEvents (this=0xac0ff200, flags=...) at kernel/qeventloop.cpp:149
#12 0xb4e527a9 in QEventLoop::exec (this=0xac0ff200, flags=...) at kernel/qeventloop.cpp:204
#13 0xb4d3b94c in QThread::exec (this=0xa373988) at thread/qthread.cpp:501
#14 0xb4e2fb5d in QInotifyFileSystemWatcherEngine::run (this=0xa373988) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb4d3ede0 in QThreadPrivate::start (arg=0xa373988) at thread/qthread_unix.cpp:298
#16 0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xab6ffb40 (LWP 2774)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb33d196b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a7964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3f350 in wait (time=4294967295, this=0xa50f8f0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa514480, mutex=0xa51447c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a6bf5c in Digikam::ParkingThread::run (this=0xa514470) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4d3ede0 in QThreadPrivate::start (arg=0xa514470) at thread/qthread_unix.cpp:298
#7  0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xaaa0cb40 (LWP 2775)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb4a5d5f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3034a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30270ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4e868e7 in QEventDispatcherGlib::processEvents (this=0xa733548, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4e5250d in QEventLoop::processEvents (this=0xaaa0c200, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4e527a9 in QEventLoop::exec (this=0xaaa0c200, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4d3b94c in QThread::exec (this=0xa7331f0) at thread/qthread.cpp:501
#9  0xb4e2fb5d in QInotifyFileSystemWatcherEngine::run (this=0xa7331f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4d3ede0 in QThreadPrivate::start (arg=0xa7331f0) at thread/qthread_unix.cpp:298
#11 0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0x94715b40 (LWP 2848)):
#0  0xb2e8bdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb4d9d315 in do_gettime (frac=0x94714f60, sec=0x94714f58) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4e87226 in QTimerInfoList::updateCurrentTime (this=0xaad1f5b4) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb4e8757a in QTimerInfoList::timerWait (this=0xaad1f5b4, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb4e85e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0x9471506c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4e85ebd in timerSourcePrepare (source=0xaad1f580, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3026872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3026faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb4e868e7 in QEventDispatcherGlib::processEvents (this=0xaad1d1a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb4e5250d in QEventLoop::processEvents (this=0x947151f8, flags=...) at kernel/qeventloop.cpp:149
#12 0xb4e527a9 in QEventLoop::exec (this=0x947151f8, flags=...) at kernel/qeventloop.cpp:204
#13 0xb6a6b4fe in Digikam::WorkerObjectRunnable::run (this=0xd449718) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#14 0xb4d3139b in QThreadPoolThread::run (this=0xb742640) at concurrent/qthreadpool.cpp:107
#15 0xb4d3ede0 in QThreadPrivate::start (arg=0xb742640) at thread/qthread_unix.cpp:298
#16 0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa3d9db40 (LWP 2863)):
#0  0xb4a79898 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb3066410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3026b76 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3027042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4e868e7 in QEventDispatcherGlib::processEvents (this=0xaad17710, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4e5250d in QEventLoop::processEvents (this=0xa3d9d1f8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4e527a9 in QEventLoop::exec (this=0xa3d9d1f8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6a6b4fe in Digikam::WorkerObjectRunnable::run (this=0xd451db8) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4d3139b in QThreadPoolThread::run (this=0xb744008) at concurrent/qthreadpool.cpp:107
#10 0xb4d3ede0 in QThreadPrivate::start (arg=0xb744008) at thread/qthread_unix.cpp:298
#11 0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa294db40 (LWP 2864)):
#0  0xb3026ae5 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb3027042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4e868e7 in QEventDispatcherGlib::processEvents (this=0xab71ad00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb4e5250d in QEventLoop::processEvents (this=0xa294d1f8, flags=...) at kernel/qeventloop.cpp:149
#5  0xb4e527a9 in QEventLoop::exec (this=0xa294d1f8, flags=...) at kernel/qeventloop.cpp:204
#6  0xb6a6b4fe in Digikam::WorkerObjectRunnable::run (this=0xd47bd18) at /build/buildd/digikam-3.0.0/core/libs/threads/threadmanager.cpp:196
#7  0xb4d3139b in QThreadPoolThread::run (this=0xb6fc520) at concurrent/qthreadpool.cpp:107
#8  0xb4d3ede0 in QThreadPrivate::start (arg=0xb6fc520) at thread/qthread_unix.cpp:298
#9  0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0x912a7b40 (LWP 2869)):
[KCrash Handler]
#7  0x083f453d in Digikam::GPCamera::getItemInfoInternal (this=0xce6da38, folder=..., itemName=..., info=..., useMetadata=true) at /build/buildd/digikam-3.0.0/core/utilities/importui/backend/gpcamera.cpp:849
#8  0x083fc45b in Digikam::GPCamera::getItemsInfoList (this=0xce6da38, folder=..., useMetadata=true, items=...) at /build/buildd/digikam-3.0.0/core/utilities/importui/backend/gpcamera.cpp:802
#9  0x083ec04f in Digikam::CameraController::executeCommand (this=0xc052bb8, cmd=0x912a708c) at /build/buildd/digikam-3.0.0/core/utilities/importui/backend/cameracontroller.cpp:505
#10 0x083efb61 in Digikam::CameraController::run (this=0xc052bb8) at /build/buildd/digikam-3.0.0/core/utilities/importui/backend/cameracontroller.cpp:402
#11 0xb4d3ede0 in QThreadPrivate::start (arg=0xc052bb8) at thread/qthread_unix.cpp:298
#12 0xb33cdd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb4a6bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaf13c780 (LWP 2770)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb33d196b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a7964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3f350 in wait (time=4294967295, this=0xa6f5508) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa6f54c8, mutex=0xa6f54c4, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a6c46c in Digikam::WorkerObject::wait (this=0xa6f5458) at /build/buildd/digikam-3.0.0/core/libs/threads/workerobject.cpp:95
#6  0xb6a6ebf4 in Digikam::ParallelWorkers::wait (this=0xa6f52f4) at /build/buildd/digikam-3.0.0/core/libs/threads/parallelworkers.cpp:91
#7  0x0825ff86 in Digikam::FileActionMngr::~FileActionMngr (this=0xa6f4fd8, __in_chrg=<optimized out>) at /build/buildd/digikam-3.0.0/core/digikam/fileaction/fileactionmngr.cpp:78
#8  0x08260007 in ~FileActionMngrCreator (this=0xa6f4fd8, __in_chrg=<optimized out>) at /build/buildd/digikam-3.0.0/core/digikam/fileaction/fileactionmngr.cpp:52
#9  destroy () at /build/buildd/digikam-3.0.0/core/digikam/fileaction/fileactionmngr.cpp:59
#10 0xb49aff51 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0xb49affdd in exit () from /lib/i386-linux-gnu/libc.so.6
#12 0xb5437a88 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:780
#13 0xb5f42ec9 in KApplication::xioErrhandler (this=0xbfc5ad68, dpy=0xa253718) at ../../kdeui/kernel/kapplication.cpp:419
#14 0xb5f42f04 in kde_xio_errhandler (dpy=0xa253718) at ../../kdeui/kernel/kapplication.cpp:126
#15 0xb457eb74 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#16 0xb457c97c in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#17 0xb4577f0b in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#18 0xb55ee25e in syncX (this=0xa37f980) at painting/qwindowsurface_raster.cpp:134
#19 QRasterWindowSurface::syncX (this=0xa37f980) at painting/qwindowsurface_raster.cpp:130
#20 0xb55ee77e in QRasterWindowSurface::beginPaint (this=0xa37f980, rgn=...) at painting/qwindowsurface_raster.cpp:143
#21 0xb5608721 in QWidgetBackingStore::beginPaint (this=0xa4fe930, toClean=..., widget=0xa37e148, windowSurface=0xa37f980, returnInfo=0xbfc5a238, toCleanIsInTopLevelCoordinates=true) at painting/qbackingstore.cpp:379
#22 0xb560ea73 in QWidgetBackingStore::sync (this=0xa4fe930) at painting/qbackingstore.cpp:1304
#23 0xb540b9db in QWidgetPrivate::syncBackingStore (this=0xa3b6df8) at kernel/qwidget.cpp:1891
#24 0xb541aae7 in QWidget::event (this=0xa37e148, event=0xce238e8) at kernel/qwidget.cpp:8655
#25 0xb58552dc in QMainWindow::event (this=0xa37e148, event=0xce238e8) at widgets/qmainwindow.cpp:1478
#26 0xb6020754 in KMainWindow::event (this=0xa37e148, ev=0xce238e8) at ../../kdeui/widgets/kmainwindow.cpp:1084
#27 0xb6069d82 in KXmlGuiWindow::event (this=0xa37e148, ev=0xce238e8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0xb53bfed4 in notify_helper (e=0xce238e8, receiver=0xa37e148, this=0xa2470f0) at kernel/qapplication.cpp:4559
#29 QApplicationPrivate::notify_helper (this=0xa2470f0, receiver=0xa37e148, e=0xce238e8) at kernel/qapplication.cpp:4531
#30 0xb53c53a2 in QApplication::notify (this=0xa2470f0, receiver=0xa37e148, e=0xce238e8) at kernel/qapplication.cpp:4524
#31 0xb5f44e01 in KApplication::notify (this=0xbfc5ad68, receiver=0xa37e148, event=0xce238e8) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb4e5397e in QCoreApplication::notifyInternal (this=0xbfc5ad68, receiver=0xa37e148, event=0xce238e8) at kernel/qcoreapplication.cpp:876
#33 0xb4e57ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa1fb520) at kernel/qcoreapplication.cpp:1500
#35 0xb4e57e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#36 0xb4e86494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0xa251cb8) at kernel/qeventdispatcher_glib.cpp:279
#38 0xb3026d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb3027125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb3027201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb4e86887 in QEventDispatcherGlib::processEvents (this=0xa1fc0c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0xb5478aaa in QGuiEventDispatcherGlib::processEvents (this=0xa1fc0c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb4e5250d in QEventLoop::processEvents (this=0xbfc5ac44, flags=...) at kernel/qeventloop.cpp:149
#44 0xb4e527a9 in QEventLoop::exec (this=0xbfc5ac44, flags=...) at kernel/qeventloop.cpp:204
#45 0xb4e57eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0xb53bda74 in QApplication::exec () at kernel/qapplication.cpp:3820
#47 0x080b91b1 in main (argc=<error reading variable: Cannot access memory at address 0x80>, argv=<error reading variable: Cannot access memory at address 0x84>) at /build/buildd/digikam-3.0.0/core/digikam/main/main.cpp:234

Possible duplicates by query: bug 307972, bug 301838, bug 300838, bug 295778, bug 295751.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-03-03 10:38:01 UTC

*** This bug has been marked as a duplicate of bug 293492 ***
Comment 2 caulier.gilles 2021-08-25 14:35:57 UTC
Fixed with #293492