Bug 443476 - Digikam 7.2 and 7.3 Crash on Import in Big Sur
Summary: Digikam 7.2 and 7.3 Crash on Import in Big Sur
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 7.3.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-08 12:51 UTC by bkw.21281
Modified: 2022-02-05 17:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bkw.21281 2021-10-08 12:51:53 UTC
SUMMARY
On Digikam 7.2 and 7.3, the camera list is empty.  And auto-detect
doesn't work.  (obviously 7.0 and 7.1 don't work on Big Sur, so didn't
try those.) To add a generic USB PTP Class Camera, I had to manually add it.  But
it still doesn't work.  In fact, when I try to do an import of images
from my android phone set to PTP mode, Digikam immediately crashes.

Digikam 6.4 works very well on Big Sur.  None of the above issues are problematic on 6.4.  I was able to select the USB PTP Class Camera from the camera list, and importing works very well. Once I had a 6.4 install working, I then tried separate upgrades to both 7.2 and 7.3.  The USB PTP import process still causes Digikam to
immediately crash.

I tried:
export QT_LOGGING_RULES="digikam*=true"
/Applications/digiKam.org/digikam.app/Contents/MacOS/digikam

And what I saw was Segmentation Fault 11.

STEPS TO REPRODUCE
1. Install either version.
2. Create USB PTP Class camera setting, if it doesn't already exist from an upgrade.
3. Try to import from phone in PTP mode.
4. Digikam crashes.
5. If logging, you should see "Segmentation Fault 11"

OBSERVED RESULT
Digikam immediately crashes.  I only see segmentation fault 11, if I set: export QT_LOGGING_RULES="digikam*=true"

EXPECTED RESULT
Successful display showing pictures that can be imported from my phone to Digikam.


SOFTWARE/OS VERSIONS
macOS: 11.6
Comment 1 caulier.gilles 2022-01-26 15:01:48 UTC
I confirm the bug about Gphoto2 driver list which is empty.

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 2 caulier.gilles 2022-02-01 13:45:00 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 3 caulier.gilles 2022-02-05 17:18:56 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