macOS RawTherapee 5.12-rc2+ß testing before release!

We’ve just knocked out a couple of bugs in the macOS packaging for the upcoming release of RawTherapee 5.12. Just before the release, the team would like to get some feedback on how it is running on various macOS versions. Please let us know in reply how it is working.

Click this link to my shared iCloud folder with the test RawTherapee application.

System Requirements:

Intel (x86_64)

  • macOS 12.3 Monterey and higher

Apple Silicon (arm64)

  • macOS 15.4 Sequoia and higher


(it’s a California thing.)


Here is a partial summary of the milestones reached in 5.12:

Framing Tool.
De-fish.
Dehaze improvements.
Local/Selective: increased available spots/widgets
Gamut compression out-of-gamut fix
LibRaw update 202502
New color matricies / dcp
Updated translations
White balance fix in CLI
Crash fixes
Partial profile parameter fix
PP3 is removed when processing params are cleared
Speed-ups.
Directory browser improvements
Generalized Hyperbolic Stretch (Selective Editing)
Preserve rating when pasting copied profile
Other fixes.

Help Us Keep Developing

RawTherapee 5.12 is made possible with all of your generous support.

3 Likes

Just downloaded and when started I got the msg: Rawtherapee cannot be opened because of a problem.
iMac intel i7, AMD Radeon Pro 5700 64GB OS15.5
In the report, first part which follows after says that the version is 5.12 rc1.

Translated Report (Full Report Below)

Process: rawtherapee [77020]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier: com.rawtherapee.RawTherapee
Version: 5.12-rc1-16-g2aa784e41 (5.12-rc1-16-g2aa784e41)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2025-05-22 20:55:57.8999 +0200
OS Version: macOS 15.5 (24F74)
Report Version: 12
Bridge OS Version: 9.5 (22P5072)
Anonymous UUID: 71CF248D-4AA3-5B9D-7B9E-4995FD24032B

Sleep/Wake UUID: 3C160A17-9607-4D9F-B432-1CC3A7BCD71F

Time Awake Since Boot: 650000 seconds
Time Since Wake: 121434 seconds

System Integrity Protection: enabled

Dyld Error Message:
1

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib
Referenced from: <37DF47BC-7196-3969-885B-6549CA02560F> /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Reason: tried: ‘/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib’ (code signature in ‘/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib’ not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), ‘/System/Volumes/Preboot/Cryptexes/OS/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib’ (no such file), ‘/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib’ (code signature in ‘/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib’ not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), ‘/usr/lib/libfftw3f.3.dylib’ (no such file, not
(terminated at launch; ignore backtrace)

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000001 rcx: 0x00007ff7baa5bc58 rdx: 0x00007ff7baa5c0c0
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7baa5bca0 rsp: 0x00007ff7baa5bc58
r8: 0x00007ff7baa5bcc0 r9: 0x0000000000000000 r10: 0x0000000000000091 r11: 0x0000000000000246
r12: 0x0000000000000000 r13: 0x00007ff7baa5c0c0 r14: 0x0000000000000006 r15: 0x0000000000000091
rip: 0x00007ff819838456 rfl: 0x0000000000000246 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133

Binary Images:
0x1054a2000 - 0x1060f1fff com.rawtherapee.RawTherapee (5.12-rc1-16-g2aa784e41) <37df47bc-7196-3969-885b-6549ca02560f> /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
0x10659c000 - 0x106633fff libomp.dylib () <0d9aecfa-7433-3bb8-8c90-6f0b733dc99d> /Applications/RawTherapee.app/Contents/Frameworks/libomp.dylib
0x106455000 - 0x106464fff libgtkmacintegration-gtk3.4.dylib (
) <3a51e80a-3ee5-3e62-b22c-c17054f11f1b> /Applications/RawTherapee.app/Contents/Frameworks/libgtkmacintegration-gtk3.4.dylib
0x7ff8197d5000 - 0x7ff81986f527 dyld () <3771ea6a-0fe5-3b63-961d-c09e01d5e680> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (
) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=177.8M resident=0K(0%) swapped_out_or_unallocated=177.8M(100%)
Writable regions: Total=8260K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8260K(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 4K 1
__DATA 268K 6
__DATA_CONST 1130K 4
__DATA_DIRTY 7K 1
__LINKEDIT 164.2M 4
__TEXT 13.6M 4
__TPRO_CONST 8 1
shared memory 8K 2
=========== ======= =======
TOTAL 243.2M 25


1 Like

Looks like it successfully loaded three valid binaries with signatures but stopped at this fftw library. I will have a look there…
vtool -show-build /usr/local/lib/libfftw3_omp.3.dylib /usr/local/lib/libfftw3_omp.3.dylib:

Load command 9
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform MACOS
    minos 12.3
      sdk n/a
   ntools 1
     tool LD
  version 820.1

Looks like the fftw3f library has a 0 SDK version, that is potentially erroneous.

This may be due to new entitlement and provisioning requirements in macOS 12. Having a look, the loader is catching on the erroneous load command with the 0 SDK. Changing the offending load command withvtool -set-build-version 1 12.3 12.3 /usr/local/Cellar/fftw/3.3.10_2/lib/libfftw3f.3.dylib -o /usr/local/Cellar/fftw/3.3.10_2/lib/libfftw3f.3.dylib
and on arm64:
vtool -set-build-version 1 15.4 15.4 /opt/Homebrew/Cellar/fftw/3.3.10_2/lib/libfftw3f.3.dylib -o /opt/Homebrew/Cellar/fftw/3.3.10_2/lib/libfftw3f.3.dylib

final bundled result:

% vtool -show-build /Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib
/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib (architecture x86_64):
Load command 18
      cmd LC_BUILD_VERSION
  cmdsize 24
 platform MACOS
    minos 12.3
      sdk 12.3
   ntools 0
/Applications/RawTherapee.app/Contents/Frameworks/libfftw3f.3.dylib (architecture arm64):
Load command 19
      cmd LC_BUILD_VERSION
  cmdsize 24
 platform MACOS
    minos 15.4
      sdk 15.4
   ntools 0

I noticed the arm64 Sequoia homebrew libfftw3f.3.dylib also has an erroneous build version SDK 0 listed. However on arm64 there are only compatible SDK versions to list, so it makes sense that it doesn’t raise an error

M4 Pro, 14 inch, 24 GB, Sequoia 15.5
Loads and runs with no apparent problem.

2 Likes

@zurdo
A new build has been generated with the corrected fftw library. Give that a try on your Intel i7 Mac.

M4 Pro - Sequoia
downloaded and run. however when I try to use Graduated Filter and display widget in order to control with cursor, crash.

1 Like

@padovan I’m not able to reproduce that crash on an M1. If that occurs for you again, please attach the System Crash Report it generates.

1 Like

was testing RT 5.12 with a photo from my desktop.


Translated Report (Full Report Below)

Process: rawtherapee [95005]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier: com.rawtherapee.RawTherapee
Version: 5.12-rc1-16-g2aa784e41 (5.12-rc1-16-g2aa784e41)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2025-05-25 00:07:58.0325 -0300
OS Version: macOS 15.4.1 (24E263)
Report Version: 12
Anonymous UUID: B012CC17-E26B-F1C8-1221-F6B5FE18D928

Sleep/Wake UUID: 0560FA3F-2220-4DA2-97D8-4F44709B71F3

Time Awake Since Boot: 380000 seconds
Time Since Wake: 3472 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000120
Exception Codes: 0x0000000000000001, 0x0000000000000120

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [95005]

VM Region Info: 0x120 is not in any region. Bytes before following region: 4332420832
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL

@padovan I see from what you have posted thread 0 has crashed but you omit the important part of the report which details the order of calls for the threads.
Take a look at the report above from @zurdo There is all the relevant data to begin diagnosing the issue…

1 Like

the full report doesn’t fit here, too much characters.

There was not enough information in your report.

Save a text file and attach it to the post.

2 Likes

how about now.

Process: rawtherapee [95005]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier: com.rawtherapee.RawTherapee
Version: 5.12-rc1-16-g2aa784e41 (5.12-rc1-16-g2aa784e41)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2025-05-25 00:07:58.0325 -0300
OS Version: macOS 15.4.1 (24E263)
Report Version: 12
Anonymous UUID: B012CC17-E26B-F1C8-1221-F6B5FE18D928

Sleep/Wake UUID: 0560FA3F-2220-4DA2-97D8-4F44709B71F3

Time Awake Since Boot: 380000 seconds
Time Since Wake: 3472 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000120
Exception Codes: 0x0000000000000001, 0x0000000000000120

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [95005]

VM Region Info: 0x120 is not in any region. Bytes before following region: 4332420832
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
—>
__TEXT 1023b8000-102d84000 [ 9.8M] r-x/r-x SM=COW /Applications/RawTherapee.app/Contents/MacOS/rawtherapee

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 rawtherapee 0x102539ccc ImageArea::subscribe(EditSubscriber*) + 72
1 libglibmm-2.4.1.dylib 0x1031cd698 Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) + 64
2 libgobject-2.0.0.dylib 0x103610540 g_closure_invoke + 200
3 libgobject-2.0.0.dylib 0x103627f38 signal_emit_unlocked_R + 1940
4 libgobject-2.0.0.dylib 0x103626eb4 signal_emit_valist_unlocked + 1992
5 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
6 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
7 libgtk-3.0.dylib 0x103e67390 gtk_toggle_button_clicked + 44
8 libgobject-2.0.0.dylib 0x10361073c _g_closure_invoke_va + 212
9 libgobject-2.0.0.dylib 0x103626b00 signal_emit_valist_unlocked + 1044
10 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
11 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
12 libgtk-3.0.dylib 0x103c8e95c gtk_real_button_released + 240
13 libgobject-2.0.0.dylib 0x10361073c _g_closure_invoke_va + 212
14 libgobject-2.0.0.dylib 0x103626b00 signal_emit_valist_unlocked + 1044
15 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
16 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
17 libgtk-3.0.dylib 0x103c8ee70 multipress_released_cb + 48
18 libgtk-3.0.dylib 0x103c51f04 _gtk_marshal_VOID__INT_DOUBLE_DOUBLEv + 80
19 libgobject-2.0.0.dylib 0x10361073c _g_closure_invoke_va + 212
20 libgobject-2.0.0.dylib 0x103626b00 signal_emit_valist_unlocked + 1044
21 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
22 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
23 libgtk-3.0.dylib 0x103d4a498 gtk_gesture_multi_press_end + 128
24 libgobject-2.0.0.dylib 0x103613954 g_cclosure_marshal_VOID__BOXEDv + 116
25 libgobject-2.0.0.dylib 0x10361073c _g_closure_invoke_va + 212
26 libgobject-2.0.0.dylib 0x103626b00 signal_emit_valist_unlocked + 1044
27 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
28 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
29 libgtk-3.0.dylib 0x103d48fec _gtk_gesture_set_recognized + 88
30 libgtk-3.0.dylib 0x103d46ea4 _gtk_gesture_check_recognized + 68
31 libgtk-3.0.dylib 0x103d487d0 gtk_gesture_handle_event + 248
32 libgtk-3.0.dylib 0x103d4bd48 gtk_gesture_single_handle_event + 368
33 libgtk-3.0.dylib 0x103d15de0 gtk_event_controller_handle_event + 124
34 libgtk-3.0.dylib 0x103eb5bc8 _gtk_widget_run_controllers + 124
35 libgtk-3.0.dylib 0x103c4d6ec _gtk_marshal_BOOLEAN__BOXEDv + 124
36 libgobject-2.0.0.dylib 0x10361073c _g_closure_invoke_va + 212
37 libgobject-2.0.0.dylib 0x103626b00 signal_emit_valist_unlocked + 1044
38 libgobject-2.0.0.dylib 0x1036266c0 g_signal_emit_valist + 64
39 libgobject-2.0.0.dylib 0x10362722c g_signal_emit + 28
40 libgtk-3.0.dylib 0x103eb57f0 gtk_widget_event_internal + 300
41 libgtk-3.0.dylib 0x103d8e40c propagate_event + 388
42 libgtk-3.0.dylib 0x103d8d830 gtk_main_do_event + 1048
43 libgdk-3.0.dylib 0x103a0e5a8 _gdk_event_emit + 64
44 libgdk-3.0.dylib 0x103a321c8 gdk_event_dispatch + 52
45 libglib-2.0.0.dylib 0x103b4d224 g_main_context_dispatch_unlocked + 236
46 libglib-2.0.0.dylib 0x103b4d57c g_main_context_iterate_unlocked + 484
47 libglib-2.0.0.dylib 0x103b4d800 g_main_loop_run + 120
48 libgtk-3.0.dylib 0x103d8d2b4 gtk_main + 92
49 libgtkmm-3.0.1.dylib 0x1044a17f0 Gtk::Main::run(Gtk::Window&) + 144
50 rawtherapee 0x10263a09c main + 3780
51 dyld 0x199702b4c start + 6000

1 Like

Yes, that’s the important stuff… much appreciated.

1 Like

sorry for the mess, my bad.

1 Like

@Lawrence37 The last (zeroth) call on the main thread crashes the arm64 M4 processor on this rawtherapee function while pressing the gradient tool’s show widget button. I can’t duplicate it on my lesser arm64 M1 (gradient tool widgets appear and manipulate as normal).

@ThomasM did you encounter any issues with using the gradient tool’s widget on your M4?

Does it crash with other on-preview tools, such as spot removal, crop, selective editing, or perspective?

1 Like

so far only gradient widget button.

That’s so strange. The crash happened where everything should be the same for all the tools.