| Summary: | Segfault while importing from camera with digiKam via gphoto2 | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Kristian <kde-bugs> |
| Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | 2.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.1.0 | |
| Sentry Crash Report: | |||
Install digikam debug package and run digiKam through gdb to get a full suitable backtrace to hack. Gilles Caulier Ok, I compiled digiKam from source with debug and here's the backtrace. I hope this helps.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbed4f700 (LWP 12673)]
0x00000000006bc538 in Digikam::GPCamera::getItemInfoInternal (this=0x625bc30, folder=..., itemName=..., info=...,
useMetadata=true)
at $HOME/build/digikam-2.5/src/digikam-2.5.0/core/utilities/cameragui/devices/gpcamera.cpp:840
840 QFile::encodeName(info.name).constData(), &cfinfo, d->status->context);
#0 0x00000000006bc538 in Digikam::GPCamera::getItemInfoInternal (this=0x625bc30, folder=..., itemName=..., info=...,
useMetadata=true)
at $HOME/build/digikam-2.5/src/digikam-2.5.0/core/utilities/cameragui/devices/gpcamera.cpp:840
#1 0x00000000006beb0a in Digikam::GPCamera::getItemsInfoList (this=0x625bc30, folder=..., useMetadata=true,
items=...) at $HOME/build/digikam-2.5/src/digikam-2.5.0/core/utilities/cameragui/devices/gpcamera.cpp:793
#2 0x00000000006dac5a in Digikam::CameraController::executeCommand (this=0x63417d0, cmd=<optimized out>)
at $HOME/build/digikam-2.5/src/digikam-2.5.0/core/utilities/cameragui/controller/cameracontroller.cpp:489
#3 0x00000000006ddbde in Digikam::CameraController::run (this=0x63417d0)
at $HOME/build/digikam-2.5/src/digikam-2.5.0/core/utilities/cameragui/controller/cameracontroller.cpp:396
#4 0x00007ffff23a1d3b in ?? () from /usr/lib/libQtCore.so.4
#5 0x00007fffef325daa in start_thread () from /lib/libpthread.so.0
#6 0x00007ffff15dd09d in clone () from /lib/libc.so.6
*** This bug has been marked as a duplicate of bug 293492 *** Fixed with #293492 |
digiKam segfaults when I try to import images from a Canon IXUS 60 camera via ghoto2. However, importing with gphoto2 in the console works without problems. Reproducible: Always Steps to Reproduce: 1. Import from predefined camera (no images are shown) 2. digiKam segfaults Expected Results: Import pictures from camera Unfortunately, the gdb backtrace is very short and probably useless: Starting program: /usr/bin/digikam [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0x7fffd394f700 (LWP 7973)] [New Thread 0x7fffd314e700 (LWP 7974)] [New Thread 0x7fffd294d700 (LWP 7975)] [Thread 0x7fffd294d700 (LWP 7975) exited] [New Thread 0x7fffd294d700 (LWP 7979)] [New Thread 0x7fffc0ad3700 (LWP 7984)] [New Thread 0x7fffc07dc700 (LWP 7990)] [New Thread 0x7fffbffdb700 (LWP 7991)] [New Thread 0x7fffbf7da700 (LWP 7992)] [New Thread 0x7fffbefd9700 (LWP 7993)] [New Thread 0x7fffbe7d8700 (LWP 7995)] [New Thread 0x7fffae0bc700 (LWP 8008)] [New Thread 0x7fffad8bb700 (LWP 8009)] [New Thread 0x7fffad0ba700 (LWP 8010)] [New Thread 0x7fffac8b9700 (LWP 8011)] [New Thread 0x7fff97fff700 (LWP 8012)] [New Thread 0x7fff96b32700 (LWP 8018)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff96b32700 (LWP 8018)] 0x0000000000758208 in ?? () #0 0x0000000000758208 in ?? () #1 0x000000000075f865 in ?? () #2 0x0000000000783b50 in ?? () #3 0x00000000007871f6 in ?? () #4 0x00007ffff2380d3b in ?? () from /usr/lib/libQtCore.so.4 #5 0x00007fffef304daa in start_thread () from /lib/libpthread.so.0 #6 0x00007ffff15bc09d in clone () from /lib/libc.so.6 A debugging session is active. Inferior 1 [process 7970] will be killed. Quit anyway? (y or n) Components: digiKam version 2.5.0 Exiv2 can write to Jp2: Yes Exiv2 can write to Jpeg: Yes Exiv2 can write to Pgf: Yes Exiv2 can write to Png: Yes Exiv2 can write to Tiff: Yes Exiv2 supports XMP metadata: Yes LibCImg: 130 LibClapack: internal library LibExiv2: 0.22 LibJPEG: 80 LibJasper: 1.900.1 LibKDE: 4.8.1 (4.8.1) LibKExiv2: 2.1.0 LibKGeoMap: 2.0.0 LibKdcraw: 2.0.1 LibLCMS: 119 LibPGF: 6.11.42 - internal library LibPNG: 1.5.7 LibQt: 4.8.0 LibRaw: 0.14.4 LibTIFF: LIBTIFF, Version 4.0.0 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Marble Widget: 0.12.97 (0.13 Release Candidate 2) Parallelised demosaicing: Yes Database backend: QSQLITE LibGphoto2: 2.4.13 LibKface: 2.0.0 LibKipi: 1.3.0 LibOpenCV: 2.3.1 Libface: 0.2