Bug 279458

Summary: Crash attempting to download images from camera
Product: [Applications] digikam Reporter: Anders Lund <anderslund>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:

Description Anders Lund 2011-08-05 14:46:24 UTC
Version:           2.0.0
OS:                Linux

I can start digikam 2.0, but not download images. I get the following:

Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xaf511860 (LWP 23283))]

Thread 4 (Thread 0xae5f0b70 (LWP 23285)):
#0  0xb7758424 in __kernel_vsyscall ()
#1  0xb425f87b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb48c410c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4b5ce20 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x081f6ccd in _start ()

Thread 3 (Thread 0xaddefb70 (LWP 23286)):
#0  0xb3534a1f in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#1  0xb3536326 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb35366da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4c854a7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb4c561fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4c56441 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b59abb in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb4c36d9d in ?? () from /usr/lib/libQtCore.so.4
#8  0xb4b5c913 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb425bc77 in start_thread () from /lib/libpthread.so.0
#10 0xb48b643e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xad3ffb70 (LWP 23291)):
#0  0xb7758424 in __kernel_vsyscall ()
#1  0xb425f87b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb48c410c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4b5ce20 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69ff3c4 in ?? () from /usr/lib/libdigikamcore.so.2
#5  0xb4b5c913 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb425bc77 in start_thread () from /lib/libpthread.so.0
#7  0xb48b643e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xaf511860 (LWP 23283)):
[KCrash Handler]
#7  0xb4856a36 in realloc () from /lib/libc.so.6
#8  0xb16ae041 in register_platform () from /usr/lib/libdc1394.so.22
#9  0xb16c1691 in usb_init () from /usr/lib/libdc1394.so.22
#10 0xaa6cfe5c in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0xb47dd872 in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0xb37655b0 in ?? () from /usr/lib/libltdl.so.7
#13 0xb3764ad7 in ?? () from /usr/lib/libltdl.so.7
#14 0xb3765d46 in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0xb47ddd10 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x083a19ea in ?? ()
#17 0x081a57f6 in _start ()


Reproducible: Didn't try

Steps to Reproduce:
Try to download some images from a camera (mine is a CANON EOS 30D)

Actual Results:  
digikam crashes

Expected Results:  
guess once

OS: Linux (i686) release 2.6.39-ARCH
Compiler: gcc
Comment 1 Anders Lund 2011-08-05 14:59:42 UTC
Downgrading digikam to 1.9 didn't help, except that version does not crash - neither does it explain what happens though, just a debug output that detecting the camera with gphoto2 using data from solid failed.

I have a package named libgphoto2 2.4.10.1-2, for which I do not have an older version. So I assume the problem is with solid in KDE 4.7.
Comment 2 caulier.gilles 2011-08-05 15:16:44 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 3 caulier.gilles 2023-05-05 05:49:49 UTC
Fixed with #268267