Issue with darktable nightly build 20231231 for Mac
Describe the bug
Build dt 4.7.0+66 works as expected, the new build +87 crash on opening on intel iMac running OS 14.2.1.
Steps to reproduce
1 crash on opening
Expected behavior
dt should not crash
Logfile | Screenshot | Screencast
Translated Report (Full Report Below)
Process: darktable [5739] Path: /Applications/darktable.app/Contents/MacOS/darktable Identifier: org.darktable Version: 4.7.0 (4.7.0.87) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2023-12-31 10:47:34.1601 +0100 OS Version: macOS 14.2.1 (23C71) Report Version: 12 Bridge OS Version: 8.2 (21P2057) Anonymous UUID: 71CF248D-4AA3-5B9D-7B9E-4995FD24032B
Time Awake Since Boot: 91000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/libjxl_cms.0.9.dylib Referenced from: <05899619-3D48-3E37-9923-97CE382C9DFD> /Applications/darktable.app/Contents/Resources/lib/libjxl.0.9.dylib Reason: tried: '/Applications/darktable.app/Contents/Resources/lib/../lib/libjxl_cms.0.9.dylib' (no such file), '/Applications/darktable.app/Contents/MacOS/../Resources/lib/darktable/libjxl_cms.0.9.dylib' (no such file), '/Applications/darktable.app/Contents/MacOS/../Resources/lib/darktable/libjxl_cms.0.9.dylib' (no such file), '/usr/local/lib/libjxl_cms.0.9.dylib' (no such file), '/usr/lib/libjxl_cms.0.9.dylib' (no such file, not in dyld cache) (terminated at launch; ignore backtrace)
Thread 0 Crashed: 0 dyld 0x7ff81369788e __abort_with_payload + 10 1 dyld 0x7ff8136b1d95 abort_with_payload_wrapper_internal + 82 2 dyld 0x7ff8136b1dc7 abort_with_payload + 9 3 dyld 0x7ff81363313b dyld4::halt(char const*, dyld4::StructuredError const*) + 335 4 dyld 0x7ff813630525 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4137 5 dyld 0x7ff81362f31f start + 1839
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000002000209 rbx: 0x0000000000000001 rcx: 0x00007ff7b1ad7838 rdx: 0x00007ff7b1ad7ca0 rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b1ad7880 rsp: 0x00007ff7b1ad7838 r8: 0x00007ff7b1ad78a0 r9: 0x0000000000000000 r10: 0x0000000000000074 r11: 0x0000000000000246 r12: 0x0000000000000000 r13: 0x00007ff7b1ad7ca0 r14: 0x0000000000000006 r15: 0x0000000000000074 rip: 0x00007ff81369788e rfl: 0x0000000000000246 cr2: 0x0000000000000000
Logical CPU: 0 Error Code: 0x02000209 Trap Number: 133
Commit
Build dt 4.7.0+66 works as expected, the new build +87 crash on opening
Where did you obtain darktable from?
GitHub nightly
darktable version
Build dt 4.7.0+87
What OS are you using?
Mac
What is the version of your OS?
MacOS 14.2.1
Describe your system?
iMac 3,8 GHz 8-Core Intel Core i7, AMD Radeon Pro 5700 XT 16 GB, 64 GB 2667 MHz DDR4
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
AMD Radeon Pro 5700 XT 16 GB
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
jpgeg-xl was updated to 0.9.0 on homebrew recently. Now a dependent lib is missing in the package. I am investigating...
Ok, I have a fix. @zurdo-10 please check the next nightly build after PR #15998 is merged.
Great, I admire your speed for problem solving, will test after PR and report. Thank you