Bug 330363 - crash during import from SD-card
Summary: crash during import from SD-card
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 3.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-24 15:13 UTC by Gabor.Ziegler@ericsson.com
Modified: 2022-01-24 20:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor.Ziegler@ericsson.com 2014-01-24 15:13:19 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
*Attempting downloading pics from a mounted SD-card of a Casio Exlim N-1. The card is readable via Krusader, for example.

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f3c02a36700 (LWP 7778)):
#0  0x00007f3c1dd59f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c06e9e198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f3c190b2f6e in start_thread (arg=0x7f3c02a36700) at pthread_create.c:311
#3  0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f3bfbaa1700 (LWP 7780)):
#0  0x00007f3c166c50ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3c166c5399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c1668512c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c1668563b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c166857ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c1ec74a76 in QEventDispatcherGlib::processEvents (this=0x7f3bec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3c1ec465ef in QEventLoop::processEvents (this=this@entry=0x7f3bfbaa0ab0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3c1ec468e5 in QEventLoop::exec (this=this@entry=0x7f3bfbaa0ab0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3c1eb4588f in QThread::exec (this=this@entry=0x14f77b0) at thread/qthread.cpp:542
#9  0x00007f3c1ec27d13 in QInotifyFileSystemWatcherEngine::run (this=0x14f77b0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x14f77b0) at thread/qthread_unix.cpp:338
#11 0x00007f3c190b2f6e in start_thread (arg=0x7f3bfbaa1700) at pthread_create.c:311
#12 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f3bfa333700 (LWP 7785)):
#0  0x00007f3c166c52cd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3c166c5749 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c166aa590 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c166847dc in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c16685565 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c166857ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3c1ec74a76 in QEventDispatcherGlib::processEvents (this=0x7f3be4000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f3c1ec465ef in QEventLoop::processEvents (this=this@entry=0x7f3bfa332ab0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f3c1ec468e5 in QEventLoop::exec (this=this@entry=0x7f3bfa332ab0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3c1eb4588f in QThread::exec (this=this@entry=0x1e39d20) at thread/qthread.cpp:542
#10 0x00007f3c1ec27d13 in QInotifyFileSystemWatcherEngine::run (this=0x1e39d20) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x1e39d20) at thread/qthread_unix.cpp:338
#12 0x00007f3c190b2f6e in start_thread (arg=0x7f3bfa333700) at pthread_create.c:311
#13 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f3bb6ffd700 (LWP 7818)):
#0  0x00007f3c166c50ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3c166c5399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c16684d59 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c166855c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c166857ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c1ec74a76 in QEventDispatcherGlib::processEvents (this=0x7f3b640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3c1ec465ef in QEventLoop::processEvents (this=this@entry=0x7f3bb6ffcab0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3c1ec468e5 in QEventLoop::exec (this=this@entry=0x7f3bb6ffcab0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3c1eb4588f in QThread::exec (this=this@entry=0x489ef60) at thread/qthread.cpp:542
#9  0x00007f3c1ec27d13 in QInotifyFileSystemWatcherEngine::run (this=0x489ef60) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x489ef60) at thread/qthread_unix.cpp:338
#11 0x00007f3c190b2f6e in start_thread (arg=0x7f3bb6ffd700) at pthread_create.c:311
#12 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f3b975a9700 (LWP 7819)):
#0  0x00007f3c1dd59f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c166856a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c166857ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c1ec74a76 in QEventDispatcherGlib::processEvents (this=0x7f3b580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3c1ec465ef in QEventLoop::processEvents (this=this@entry=0x7f3b975a8ab0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3c1ec468e5 in QEventLoop::exec (this=this@entry=0x7f3b975a8ab0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3c1eb4588f in QThread::exec (this=this@entry=0x48c81a0) at thread/qthread.cpp:542
#7  0x00007f3c1ec27d13 in QInotifyFileSystemWatcherEngine::run (this=0x48c81a0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x48c81a0) at thread/qthread_unix.cpp:338
#9  0x00007f3c190b2f6e in start_thread (arg=0x7f3b975a9700) at pthread_create.c:311
#10 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f3b86138700 (LWP 7820)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3c129271cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3c12927209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3c190b2f6e in start_thread (arg=0x7f3b86138700) at pthread_create.c:311
#4  0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f3b85937700 (LWP 7821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3c12667bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3c12956a76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3c190b2f6e in start_thread (arg=0x7f3b85937700) at pthread_create.c:311
#4  0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3b167fa700 (LWP 7832)):
#0  0x00007f3c190b5055 in __GI___pthread_mutex_lock (mutex=0x7f3af8000a60) at pthread_mutex_lock.c:95
#1  0x00007f3c166c53a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c16684d59 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c166855c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c166857ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c1ec74a76 in QEventDispatcherGlib::processEvents (this=0x7f3af80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3c1ec465ef in QEventLoop::processEvents (this=this@entry=0x7f3b167f9af0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3c1ec468e5 in QEventLoop::exec (this=this@entry=0x7f3b167f9af0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3c1eb4588f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x4c157a0) at thread/qthread_unix.cpp:338
#10 0x00007f3c190b2f6e in start_thread (arg=0x7f3b167fa700) at pthread_create.c:311
#11 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3af39bf700 (LWP 7871)):
[KCrash Handler]
#6  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:42
#7  0x00007f3c1dcf58b6 in __GI___strdup (s=0x6573776f72422079 <Address 0x6573776f72422079 out of bounds>) at strdup.c:41
#8  0x00007f3c210da6e5 in gp_port_set_info () from /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.10
#9  0x00007f3c20e5ee97 in gp_camera_set_port_info () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#10 0x00000000007c3fa8 in Digikam::GPCamera::doConnect (this=0x6b8c400) at /build/buildd/digikam-3.4.0/core/utilities/importui/backend/gpcamera.cpp:231
#11 0x00000000007bb801 in Digikam::CameraController::executeCommand (this=this@entry=0x6e5b6c0, cmd=cmd@entry=0x4c54eb0) at /build/buildd/digikam-3.4.0/core/utilities/importui/backend/cameracontroller.cpp:424
#12 0x00000000007be3e6 in Digikam::CameraController::run (this=0x6e5b6c0) at /build/buildd/digikam-3.4.0/core/utilities/importui/backend/cameracontroller.cpp:402
#13 0x00007f3c1eb47f2f in QThreadPrivate::start (arg=0x6e5b6c0) at thread/qthread_unix.cpp:338
#14 0x00007f3c190b2f6e in start_thread (arg=0x7f3af39bf700) at pthread_create.c:311
#15 0x00007f3c1dd669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3c24401a80 (LWP 7777)):
#0  0x00007f3c190b41f8 in pthread_join (threadid=139895719028480, thread_return=0x0) at pthread_join.c:92
#1  0x00007f3c06e9e4e9 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f3c06e9cbf8 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007f3c06e95ac1 in libusb_exit () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x00007f3c0dfd89d1 in ?? () from /usr/lib/x86_64-linux-gnu/libdc1394.so.22
#5  0x00007f3c0dfc7396 in dc1394_free () from /usr/lib/x86_64-linux-gnu/libdc1394.so.22
#6  0x00007f3c14083251 in CvDC1394::~CvDC1394() () from /usr/lib/libopencv_highgui.so.2.4
#7  0x00007f3c1dca847a in __cxa_finalize (d=0x7f3c142a2be0) at cxa_finalize.c:55
#8  0x00007f3c14072003 in ?? () from /usr/lib/libopencv_highgui.so.2.4
#9  0x00007fff83740400 in ?? ()
#10 0x00007f3c24263f27 in _dl_fini () at dl-fini.c:253
Backtrace stopped: frame did not save the PC

Reported using DrKonqi
Comment 1 caulier.gilles 2014-01-24 16:34:24 UTC
It crash in GPhoto2 library. 

Please report this problem to Gphoto2 project with camera model and libgphoto2 version used by digiKam (look in Help/Components Info dialog for details)

Gilles Caulier