Bug 434714 - digiKam-7.2.0-20210320T221224 breaks digiKam launch on macOS 10.14.6 Mojave
Summary: digiKam-7.2.0-20210320T221224 breaks digiKam launch on macOS 10.14.6 Mojave
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Similarity (show other bugs)
Version: 7.2.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 12:08 UTC by Hackintosh HD
Modified: 2021-03-21 13:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hackintosh HD 2021-03-21 12:08:03 UTC
SUMMARY


STEPS TO REPRODUCE
1. Download and install digiKam-7.2.0-20210320T221224-MacOS-x86-64.pkg over a digiKam installation that was working flawlessly with the nightlies prior to 7.2.0-20210320T221224
2. Launch /Applications/digiKam.org/digikam.app/Contents/MacOS/digikam within your normal user's context

OBSERVED RESULT
digiKam's launch will fail with the following CLI error message:


MacBook-Pro:/Applications/digiKam.org/digikam.app/Contents/MacOS $ ./digikam 
The available OpenGL surface format was either not version 3.2 or higher or not a Core Profile.
Chromium on macOS will fall back to software rendering in this case.
Hardware acceleration and features such as WebGL will not be available.
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6


EXPECTED RESULT
digiKam should launch normally.


SOFTWARE/OS VERSIONS
macOS: macOS 10.14.6 Mojave Build 18G8022 (current Security Update 2021-002)

ADDITIONAL INFORMATION
MacBook Pro model: 3,06 GHz Core2Duo MacBook Pro mid-2009 17" (MacBookPro5,2)

Note: I'm aware of the fact that this is a legacy MBP model which has been Mojave-enabled by Collin Mistr's Mojave Patcher, https://dosdude1.com/mojave/. However, all nightly builds prior to this one have performed flawlessly on this model and I'd appreciate if I could use the to-be-released final digiKam version 7.2.0, too, of course.
Comment 1 Maik Qualmann 2021-03-21 12:26:57 UTC
The cause is this error (https://invent.kde.org/graphics/digikam/-/commit/61428f9d3b2f1d6528899bc2f003186ff69829f6) which was been in the code for an hour. Unfortunately, the MacOS build was created at exactly this time. I close the bug.

Maik
Comment 2 caulier.gilles 2021-03-21 12:30:33 UTC
There is no compatitbilty issue with Mojave. digiKam is compiled with 10.13 backward compatibilty.

I think a commit done yesterday introduce a crash. It's now fixed. 

https://invent.kde.org/graphics/digikam/-/commit/61428f9d3b2f1d6528899bc2f003186ff69829f6

Wait the next daily build for MAcOS which will be published tomorrow morning. 

Gilles Caulier
Comment 3 Hackintosh HD 2021-03-21 13:35:25 UTC
That's really good news, thank you very much.