Bug 380840 - Crash while importing files
Summary: Crash while importing files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 5.5.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-04 21:37 UTC by RJ
Modified: 2022-02-05 17:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
Crash report from Digikam (202.26 KB, application/pdf)
2017-06-04 21:37 UTC, RJ
Details
attachment-28090-0.html (1.48 KB, text/html)
2017-06-05 05:12 UTC, RJ
Details
NT AOL Business Card.jpg (449.33 KB, image/jpeg)
2017-06-05 05:12 UTC, RJ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RJ 2017-06-04 21:37:36 UTC
Created attachment 105919 [details]
Crash report from Digikam

Crashes when importing images from Nikon D750
Comment 1 caulier.gilles 2017-06-04 21:59:53 UTC
Well, the backtrace is crypted. Where is located the crash exactly... I don't know...

Gilles Caulier
Comment 2 RJ 2017-06-05 05:12:11 UTC
Created attachment 105923 [details]
attachment-28090-0.html

Gilles,


Which crash is this for? I filed several crash reports.


RJ


On 6/4/17 2:59 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=380840
>
> caulier.gilles@gmail.com changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |caulier.gilles@gmail.com
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Well, the backtrace is crypted. Where is located the crash exactly... I don't
> know...
>
> Gilles Caulier
>
Comment 3 RJ 2017-06-05 05:12:13 UTC
Created attachment 105924 [details]
NT AOL Business Card.jpg
Comment 4 Maik Qualmann 2017-06-05 05:28:55 UTC
Thread 49 should be the crashing. So the cause would be libgphoto2.

Maik
Comment 5 caulier.gilles 2017-06-05 10:47:13 UTC
Right Maik, i don't see the annotation "Crashed::" :

Thread 49 Crashed:: Digikam::CameraController
0 libgphoto2_port.12.dylib 0x0000000116e780dd gp_port_info_get_name + 4
1 libgphoto2.6.dylib 0x0000000116df6fe0 gp_camera_set_port_info + 66
2 libdigikamgui.5.5.0.dylib 0x000000010f171427 Digikam::GPCamera::doConnect() +
1383
3 libdigikamgui.5.5.0.dylib 0x000000010f15e87a
Digikam::CameraController::executeCommand(Digikam::CameraCommand*) + 266
4 libdigikamgui.5.5.0.dylib 0x000000010f15e71f Digikam::CameraController::run() +
447
5 org.qt-project.QtCore 0x0000000115cbfb7b 0x115c94000 + 179067
6 libsystem_pthread.dylib 0x00007fff9463e93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff9463e887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff9463e08d thread_start + 13

So GPhoto2::gp_port_info_get_name() is called and crash. This is typically a bug in libgphoto2 OSX port.

René, please report this problem as UPSTREAM to libpghoto2 team. Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2017-10-22 12:12:24 UTC
A new fresh 5.8.0 pre-release PKG installer for MacOS was just rebuild for testing and is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Please confirm if the problem remains with this version. 
Thanks in advance

Gilles Caulier
Comment 7 caulier.gilles 2020-12-18 12:09:02 UTC
https://bugs.kde.org/show_bug.cgi?id=426938

--- Comment #4 from caulier.gilles@gmail.com ---
Hi,

digiKam 7.2.0-beta2 pre-release PKG installer now support BigSur and is
compiled with last stable Qt 5.15.2.

https://files.kde.org/digikam/

Problem still reproducible with this version.

Thanks and happy Christmas in advance

Best Regards

Gilles Caulier
Comment 8 caulier.gilles 2021-03-30 06:53:32 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 9 caulier.gilles 2021-12-15 16:53:11 UTC
Rj,

Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance
Comment 10 caulier.gilles 2022-01-26 15:05:46 UTC
With previous version of digiKam, a bug about libgphoto2 give an empty Gphoto2 driver list. And of course, using a Gphoto camera crash digiKam.

After recompiling whole macports for next digiKam 7.6.0, including last libgphoto2 2.5.28, the problem disappear. List of Gphoto2 driver is back :

https://i.imgur.com/elfzIcG.png

So this bug will be fixed for next 7.6.0 release.

Gilles Caulier
Comment 11 caulier.gilles 2022-02-01 13:43:46 UTC
Also see my comment about notarization of digiKam PKG installer to have access to camera :

https://bugs.kde.org/show_bug.cgi?id=120192#c3
Comment 12 caulier.gilles 2022-02-05 17:17:51 UTC
Next 7.6.0 have been fully recompiled from scratch under MacOS with Macports
and now Gphoto2 camera list is back.

https://i.imgur.com/KUQVBDz.png

I can download from my iphone to my macbook pro without problem.

Gilles Caulier