Bug 493743

Summary: macOS Sequoia 15.0: digikam inoperable, crashes when launching
Product: [Applications] digikam Reporter: nerderk
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 8.4.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.5.0
Sentry Crash Report:

Description nerderk 2024-09-27 16:43:20 UTC
SUMMARY
After updating to macOS Sequoia 15.0, digikam has become completely inoperable. It crashes every single time I attempt to launch it. I did a full uninstall and reinstall, but that did not resolve the issue.

STEPS TO REPRODUCE
1. Update macOS to Sequoia 15.0
2. Attempt to launch digikam
3. Receive the Problem Report window

OBSERVED RESULT
digikam does not launch. Instead, a Problem Report window appears upon attempting to launch digikam.

EXPECTED RESULT
digikam should launch.

SOFTWARE/OS VERSIONS
macOS: Sequoia 15.0
KDE Plasma Version: ??
KDE Frameworks Version: ??
Qt Version: 5

ADDITIONAL INFORMATION

CRASH REPORT:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 9EA61FFB-8E4A-4726-95B3-2B0ABBD83A6F
CrashReporter Key:   18C78F60-2C01-71BC-2267-50FD1FF499D5
Hardware Model:      Mac14,2
Process:             digikam [22633]
Path:                /Applications/digiKam.org/digikam.app/Contents/MacOS/digikam
Identifier:          org.digiKam
Version:             8.4.0 (8.4.0)
Code Type:           X86-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           org.digiKam [15009]

Date/Time:           2024-09-27 11:01:36.9306 -0500
Launch Time:         2024-09-27 11:01:36.8953 -0500
OS Version:          macOS 15.0 (24A335)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation

Triggered by Thread:  0

Thread 0 Crashed:
0   main_executable_path_missing  	    0x7ff7ffc40f7c 0x7ff7ffc3e000 + 12156


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000203
 tmp0: 0x0000000000000000 tmp1: 0x0000000000000000 tmp2: 0x0000000000000000


Binary Images:
       0x2026f4000 -        0x202780fff dyld_path_missing (*) <e6056c94-fc2d-3517-b1e1-46d8eb58a10e> /dyld_path_missing
    0x7ff7ffc3e000 -     0x7ff7ffc6dfff main_executable_path_missing (*) <e447ba6f-c0b7-3dcb-b110-b38e57558dc3> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
PC register does not match crashing frame (0x0 vs 0x7FF7FFC40F7C)

EOF

-----------
Full Report
-----------

{"app_name":"digikam","timestamp":"2024-09-27 11:01:37.00 -0500","app_version":"8.4.0","slice_uuid":"fba67c43-d69e-3bc6-9d19-9b7bb950987c","build_version":"8.4.0","platform":0,"bundleID":"org.digiKam","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0 (24A335)","roots_installed":0,"name":"digikam","incident_id":"9EA61FFB-8E4A-4726-95B3-2B0ABBD83A6F"}
{
  "uptime" : 110000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac14,2",
  "coalitionID" : 15009,
  "osVersion" : {
    "train" : "macOS 15.0",
    "build" : "24A335",
    "releaseType" : "User"
  },
  "captureTime" : "2024-09-27 11:01:36.9306 -0500",
  "codeSigningMonitor" : 1,
  "incident" : "9EA61FFB-8E4A-4726-95B3-2B0ABBD83A6F",
  "pid" : 22633,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-09-27 11:01:36.8953 -0500",
  "procStartAbsTime" : 2687084982199,
  "procExitAbsTime" : 2687085301285,
  "procName" : "digikam",
  "procPath" : "\/Applications\/digiKam.org\/digikam.app\/Contents\/MacOS\/digikam",
  "bundleInfo" : {"CFBundleShortVersionString":"8.4.0","CFBundleVersion":"8.4.0","CFBundleIdentifier":"org.digiKam"},
  "storeInfo" : {"deviceIdentifierForVendor":"30640623-6749-5F25-95BC-CEA9949402CA","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.digiKam",
  "crashReporterKey" : "18C78F60-2C01-71BC-2267-50FD1FF499D5",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "bootSessionUUID" : "9332A3A8-B147-4239-B4B5-21D3263AA7DA",
  "wakeTime" : 1397,
  "sleepWakeUUID" : "04D192DD-74E4-4329-94C6-B574556712C1",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":4,"namespace":"CODESIGNING","indicator":"Launch Constraint Violation"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":1393732,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":0},"tmp0":{"value":0}},"rbx":{"value":0},"r8":{"value":0},"r15":{"value":0},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":0},"r13":{"value":0},"rflags":{"value":515},"rax":{"value":0},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":0},"rsi":{"value":0}},"frames":[{"imageOffset":12156,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8630779904,
    "size" : 577536,
    "uuid" : "e6056c94-fc2d-3517-b1e1-46d8eb58a10e",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124676608,
    "size" : 196608,
    "uuid" : "e447ba6f-c0b7-3dcb-b110-b38e57558dc3",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1068K resident=0K(0%) swapped_out_or_unallocated=1068K(100%)\nWritable regions: Total=40.3M written=144K(0%) resident=144K(0%) swapped_out=0K(0%) unallocated=40.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                         16K        1 \nStack                             16.0M        1 \nVM_ALLOCATE                       24.1M        7 \n__DATA                              76K        4 \n__DATA_CONST                        24K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         336K        4 \n__TEXT                             756K        2 \n__TPRO_CONST                       276K        1 \nmapped file                        8.6G       39 \npage table in kernel               144K        1 \n===========                     =======  ======= \nTOTAL                              8.6G       63 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "fa5a8281469f249687034d14a0913cd281d48052",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "64b21a7351cbb02ce3442e4e",
      "factorPackIds" : {
        "REMINDERS_GROCERY" : "65d3a25925a6f333dd4a5d6c"
      },
      "deploymentId" : 240000037
    },
    {
      "rolloutId" : "64628732bf2f5257dedc8988",
      "factorPackIds" : {

      },
      "deploymentId" : 240000001
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
      "experimentId" : "6639bc6ba73d460582162323",
      "deploymentId" : 400000006
    },
    {
      "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
      "experimentId" : "6643969b3099cf28e049862f",
      "deploymentId" : 400000007
    }
  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed",
  "PC register does not match crashing frame (0x0 vs 0x7FF7FFC40F7C)"
]
}

Model: Mac14,2, BootROM 11881.1.1, proc 8:4:4 processors, 8 GB, SMC 
Graphics: Apple M2, Apple M2, Built-In
Display: Color LCD, 2560 x 1664 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Jul 26 2024 20:03:40 version 20.10.1123.2.8.7.186 FWID 01-94146b8e
IO80211_driverkit-1302.71 "IO80211_driverkit-1302.71" Aug  5 2024 22:09:56
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.
Comment 1 caulier.gilles 2024-09-27 16:53:00 UTC
Hi, 

The MacOS bundle have been fully updated with next 8.5.0 and will be compatible with Silicon.

There are 2 versions now :

arm64 : https://files.kde.org/digikam/ (NEW)
Intel: https://files.kde.org/digikam/legacy/

Gilles Caulier
Comment 2 nerderk 2024-09-27 17:13:47 UTC
(In reply to caulier.gilles from comment #1)
> Hi, 
> 
> The MacOS bundle have been fully updated with next 8.5.0 and will be
> compatible with Silicon.
> 
> There are 2 versions now :
> 
> arm64 : https://files.kde.org/digikam/ (NEW)
> Intel: https://files.kde.org/digikam/legacy/
> 
> Gilles Caulier

Just downloaded now, and 8.5.0 worked, thank you!