Raw Therapee:Dynamic Range Compression Problem

Hi
I am enjoying the Raw Therapee 5.9 Dev build enormously (thanks to encouragement from kind contributors here).
However the Dynamic Range Compression tool collapses the RT program every time I try to use the tool . It might be helpful to resolve this issue before the release of 5.9 itself. As always, thanks for any assistance possible to resolve the problem.I am using MacOs Catalina10.15.7 and the termination reason is “DYLD, [0x4] Symbol missing”
MacOS crash report as follows;
Process: rawtherapee [2927]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier: com.rawtherapee.RawTherapee
Version: 5.8.2965 (5.8.2965)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rawtherapee [2927]
User ID: 501

Date/Time: 2021-12-22 08:17:11.689 +0000
OS Version: Mac OS X 10.15.7 (19H524)
Report Version: 12
Anonymous UUID: 86B88F85-F69A-49BD-9EF0-08A42E43BD80

Sleep/Wake UUID: DEC4F165-804E-4C5E-9F1F-C33ADDA3A9A2

Time Awake Since Boot: 69000 seconds
Time Since Wake: 52000 seconds

System Integrity Protection: enabled

Crashed Thread: 24

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

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
Symbol not found: _fftwf_init_threads
Referenced from: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Expected in: flat namespace

Thread 24 Crashed:
0 dyld 0x0000000118639ede __abort_with_payload + 10
1 dyld 0x000000011866355d abort_with_payload_wrapper_internal + 80
2 dyld 0x000000011866358f abort_with_payload + 9
3 dyld 0x0000000118660bf4 dyld::halt(char const*) + 463
4 dyld 0x00000001185e8bc3 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 140
5 libdyld.dylib 0x00007fff7032e692 dyld_stub_binder + 282
6 ??? 0x000000010fd5d000 0 + 4560637952
7 com.rawtherapee.RawTherapee 0x000000010f88b1bb rtengine::ImProcCoordinator::updatePreviewImage(int, bool) + 7675
8 com.rawtherapee.RawTherapee 0x000000010f8885ac rtengine::ImProcCoordinator::process() + 444
9 libglibmm-2.4.1.dylib 0x0000000110686c13 (anonymous namespace)::call_thread_entry_slot(void*) + 35
10 libglib-2.0.0.dylib 0x00000001107d6ec2 g_thread_proxy + 66
11 libsystem_pthread.dylib 0x00007fff70534109 _pthread_start + 148
12 libsystem_pthread.dylib 0x00007fff7052fb8b thread_start + 15

Thread 24 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x000070000e8be088 rdx: 0x000070000e8be4f0
rdi: 0x0000000000000006 rsi: 0x0000000000000004 rbp: 0x000070000e8be0d0 rsp: 0x000070000e8be088
r8: 0x000070000e8be0f0 r9: 0x0000000000000000 r10: 0x0000000000000070 r11: 0x0000000000000246
r12: 0x0000000000000070 r13: 0x000070000e8be4f0 r14: 0x0000000000000004 r15: 0x0000000000000006
rip: 0x0000000118639ede rfl: 0x0000000000000246 cr2: 0x00000001131cb000

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

@Keentolearn Hi Matt, are you able to write this into a proper bug report on GitHub please?
To try and reproduce, could you share a raw + pp3 file? Or is this a very general problem with any image?

Looks like RT wants to use the multithreaded fftw library, but instead uses (for whatever reason) the non multithreaded fftw library.

For reference:

Hi Roel,
will try to write a full bug report into Github…but as you already know my code skills are “sub-infantile”
I tried to paste the full MacOs bug report into Pixls.us …it was too big to upload and so i could only include part of the bug thread 24…
but i can confirm that the Dynamic Range Compression bug applies to all photos… nefs and tiffs alike.The RT 5.8 caused no issue with MacOS 10.15.7 when any of the commands were activated and it appears to be in the Dev 5.9 build that the issue is manifesting itself. I switched off all pp3 tweaks as well to simplify the problem but same crash.Thanks

Hi Roel and Ingo

Full Details to the best of my ability gone over to GitHub.It is definitely not a picture specific problem …applies across the board
Thanks for taking an interest
matt

1 Like