<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>434714</bug_id>
          
          <creation_ts>2021-03-21 12:08:03 +0000</creation_ts>
          <short_desc>digiKam-7.2.0-20210320T221224 breaks digiKam launch on macOS 10.14.6 Mojave</short_desc>
          <delta_ts>2021-03-21 13:35:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Database-Similarity</component>
          <version>7.2.0</version>
          <rep_platform>macOS (DMG)</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hackintosh HD">hackintoshhd</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2017763</commentid>
    <comment_count>0</comment_count>
    <who name="Hackintosh HD">hackintoshhd</who>
    <bug_when>2021-03-21 12:08:03 +0000</bug_when>
    <thetext>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&apos;s context

OBSERVED RESULT
digiKam&apos;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 &quot;h&quot;
QCommandLineParser: already having an option named &quot;help-all&quot;
QCommandLineParser: already having an option named &quot;v&quot;
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&quot; (MacBookPro5,2)

Note: I&apos;m aware of the fact that this is a legacy MBP model which has been Mojave-enabled by Collin Mistr&apos;s Mojave Patcher, https://dosdude1.com/mojave/. However, all nightly builds prior to this one have performed flawlessly on this model and I&apos;d appreciate if I could use the to-be-released final digiKam version 7.2.0, too, of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017769</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-03-21 12:26:57 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017772</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2021-03-21 12:30:33 +0000</bug_when>
    <thetext>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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017802</commentid>
    <comment_count>3</comment_count>
    <who name="Hackintosh HD">hackintoshhd</who>
    <bug_when>2021-03-21 13:35:25 +0000</bug_when>
    <thetext>That&apos;s really good news, thank you very much.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>