RawTherapee 5.9-rc1 ready for testing

It could help if we know what the type of crash is. You provide quite a specific list of boundary conditions for which it is very difficult to determine the real underlying issue. For that it would help if you could follow the steps here: How to write useful bug reports - RawPedia and create an issue on GitHub (if you can).

Hi @Whygh, welcome!

We might be observing the same issue. I eventually narrowed it down and for me the crash seems to be triggered by making any change while NR is in effect.

Note that by default even if NR is enabled it is not in effect unless you view at 100% zoom, so in real editing the sequence leading to the crash often makes it difficult to make the connection to NR:

  1. adjust NR while zoomed out to fit (no crash)
  2. make various unrelated changes (no crash)
  3. zoom in to view details (could already crash here)
  4. make any unrelated change (very likely crashed here)

At point (4) the crash for me regular enough that as of a few days ago I swore to never work with NR and only enable it before adding full-quality render to the queue. Somehow the crash seems to not happen when the queue is processed.

Hi Roel! Is this really the right spot for a full report?

The symptoms are identical to #6230. if no one else does (I know I’m not the only one with this problem) I’ll try to attach raw/pp3 to the issue when I have the time.

Have you tried this workaround?

“… change the Number of threads for noise reduction and wavelets in Settings-Performance, because with the default setting (0) it crashes. I tried with 2 and with 3 and it was OK.”

1 Like

Well the Mac build just crashes on launch on my machine. Below is the crash report FYI:

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

Process:               rawtherapee [1608]
Path:                  /Volumes/VOLUME/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier:            com.rawtherapee.RawTherapee
Version:               5.9.0 (5.9.0)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-11-29 13:33:02.5255 +0000
OS Version:            macOS 12.6.1 (21G217)
Report Version:        12
Anonymous UUID:        74FD25C1-39F0-39B0-1475-14E2C08E675C


Time Awake Since Boot: 8600 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [1608]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   rawtherapee                   	       0x1061f214a _GLOBAL__sub_I_batchqueuebuttonset.cc + 10
1   dyld                          	       0x11347ae4f invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 182
2   dyld                          	       0x1134a1911 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 129
3   dyld                          	       0x113498e26 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 557
4   dyld                          	       0x113467db3 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 129
5   dyld                          	       0x113498bb7 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 179
6   dyld                          	       0x1134a1342 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 118
7   dyld                          	       0x1134a15b4 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 386
8   dyld                          	       0x11347ad82 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 144
9   dyld                          	       0x11347af0e dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 178
10  dyld                          	       0x11347afb2 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 108
11  dyld                          	       0x11348e826 dyld4::APIs::runAllInitializersForMain() + 222
12  dyld                          	       0x11346c38d dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3443
13  dyld                          	       0x11346b4e4 start + 388

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff80ce27f48 start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000106654060  rbx: 0x00007ff7ba6c4130  rcx: 0x00007ff7ba6c7820  rdx: 0x00007ff7ba6c7750
  rdi: 0x0000000000000001  rsi: 0x00007ff7ba6c7740  rbp: 0x00007ff7ba6c4120  rsp: 0x00007ff7ba6c4100
   r8: 0x00007ff84e5784f0   r9: 0x0000000000000000  r10: 0x0000000000000138  r11: 0x00000001134a1890
  r12: 0x00007ff7ba6c4610  r13: 0x0000000105838418  r14: 0x00000001061f2140  r15: 0x0000000106654060
  rip: 0x00000001061f214a  rfl: 0x0000000000010202  cr2: 0x00000001061f2140
  
Logical CPU:     12
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  08 5b 5d e9 94 09 06 00-66 2e 0f 1f 84 00 00 00  .[].....f.......
  00 00 0f 1f 40 00 55 48-89 e5 53 50 48 89 fb 48  ....@.UH..SPH..H
  8b 05 d0 a1 18 00 48 83-c0 10 48 89 07 48 83 c7  ......H...H..H..
  08 48 8b 73 10 e8 3c f4-f9 ff 48 89 df 48 83 c4  .H.s..<...H..H..
  08 5b 5d e9 54 09 06 00-90 90 90 90 90 90 90 90  .[].T...........
  90 90 90 90 90 90 55 48-89 e5 41 57 41 56 53 50  ......UH..AWAVSP
 [c5]f8 57 c0 c5 f8 11 05-42 97 28 00 48 8d 35 3b  ..W.....B.(.H.5;	<==
  97 28 00 48 8b 1d 5c 9f-18 00 4c 8d 35 95 5e 64  .(.H..\...L.5.^d
  ff 48 89 df 4c 89 f2 e8-46 09 06 00 c5 f8 57 c0  .H..L...F.....W.
  c5 f8 11 05 26 97 28 00-48 8d 35 1f 97 28 00 48  ....&.(.H.5..(.H
  89 df 4c 89 f2 e8 28 09-06 00 c5 f8 57 c0 c5 f8  ..L...(.....W...
  11 05 18 97 28 00 48 8d-35 11 97 28 00 48 89 df  ....(.H.5..(.H..

Binary Images:
       0x105838000 -        0x10637bfff com.rawtherapee.RawTherapee (5.9.0) <22cb7efd-b017-3e03-a011-253f87c818f0> /Volumes/VOLUME/RawTherapee.app/Contents/MacOS/rawtherapee
       0x113466000 -        0x1134d1fff dyld (*) <7b87a986-a153-33c4-8470-d56410b7f9d5> /usr/lib/dyld
    0x7ff80ce26000 -     0x7ff80ce31fff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib

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=890.9M resident=0K(0%) swapped_out_or_unallocated=890.9M(100%)
Writable regions: Total=550.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=550.1M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           156.2M       16 
MALLOC guard page                   24K        6 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.0M        2 
Stack                             8712K        2 
VM_ALLOCATE                          8K        2 
__DATA                            16.2M      300 
__DATA_CONST                      14.3M      201 
__DATA_DIRTY                       485K       85 
__FONT_DATA                          4K        1 
__LINKEDIT                       665.0M       60 
__OBJC_RO                         82.8M        1 
__OBJC_RW                         3200K        2 
__TEXT                           225.8M      311 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                         48K        1 
shared memory                       12K        2 
===========                     =======  ======= 
TOTAL                              1.6G      997 
TOTAL, minus reserved VM space     1.2G      997 



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

{"app_name":"rawtherapee","timestamp":"2022-11-29 13:33:08.00 +0000","app_version":"5.9.0","slice_uuid":"22cb7efd-b017-3e03-a011-253f87c818f0","build_version":"5.9.0","platform":1,"bundleID":"com.rawtherapee.RawTherapee","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.1 (21G217)","incident_id":"54E34895-4C63-4ED9-B364-3384F7A81DD0","name":"rawtherapee"}
{
  "uptime" : 8600,
  "procLaunch" : "2022-11-29 13:32:49.3362 +0000",
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacPro5,1",
  "procStartAbsTime" : 8639693807743,
  "coalitionID" : 2010,
  "osVersion" : {
    "train" : "macOS 12.6.1",
    "build" : "21G217",
    "releaseType" : "User"
  },
  "captureTime" : "2022-11-29 13:33:02.5255 +0000",
  "incident" : "54E34895-4C63-4ED9-B364-3384F7A81DD0",
  "bug_type" : "309",
  "pid" : 1608,
  "procExitAbsTime" : 8652881871903,
  "cpuType" : "X86-64",
  "procName" : "rawtherapee",
  "procPath" : "\/Volumes\/VOLUME\/RawTherapee.app\/Contents\/MacOS\/rawtherapee",
  "bundleInfo" : {"CFBundleShortVersionString":"5.9.0","CFBundleVersion":"5.9.0","CFBundleIdentifier":"com.rawtherapee.RawTherapee"},
  "storeInfo" : {"deviceIdentifierForVendor":"655E1099-E1FB-5386-A9B1-8EBA173570E3","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.rawtherapee.RawTherapee",
  "crashReporterKey" : "74FD25C1-39F0-39B0-1475-14E2C08E675C",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":1608},
  "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":69374,"instructionState":{"instructionStream":{"bytes":[8,91,93,233,148,9,6,0,102,46,15,31,132,0,0,0,0,0,15,31,64,0,85,72,137,229,83,80,72,137,251,72,139,5,208,161,24,0,72,131,192,16,72,137,7,72,131,199,8,72,139,115,16,232,60,244,249,255,72,137,223,72,131,196,8,91,93,233,84,9,6,0,144,144,144,144,144,144,144,144,144,144,144,144,144,144,85,72,137,229,65,87,65,86,83,80,197,248,87,192,197,248,17,5,66,151,40,0,72,141,53,59,151,40,0,72,139,29,92,159,24,0,76,141,53,149,94,100,255,72,137,223,76,137,242,232,70,9,6,0,197,248,87,192,197,248,17,5,38,151,40,0,72,141,53,31,151,40,0,72,137,223,76,137,242,232,40,9,6,0,197,248,87,192,197,248,17,5,24,151,40,0,72,141,53,17,151,40,0,72,137,223],"offset":96}},"threadState":{"r13":{"value":4387472408},"rax":{"value":4402266208},"rflags":{"value":66050},"cpu":{"value":12},"r14":{"value":4397670720,"symbolLocation":0,"symbol":"_GLOBAL__sub_I_batchqueuebuttonset.cc"},"rsi":{"value":140701961320256},"r8":{"value":140704442975472,"symbolLocation":16,"symbol":"dyld4::gDyld"},"cr2":{"value":4397670720},"rdx":{"value":140701961320272},"r10":{"value":312},"r9":{"value":0},"r15":{"value":4402266208},"rbx":{"value":140701961306416},"trap":{"value":6},"err":{"value":0},"r11":{"value":4618590352,"symbolLocation":0,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const"},"rip":{"value":4397670730,"matchesCrashFrame":1},"rbp":{"value":140701961306400},"rsp":{"value":140701961306368},"r12":{"value":140701961307664},"rcx":{"value":140701961320480},"flavor":"x86_THREAD_STATE","rdi":{"value":1}},"queue":"com.apple.main-thread","frames":[{"imageOffset":10199370,"symbol":"_GLOBAL__sub_I_batchqueuebuttonset.cc","symbolLocation":10,"imageIndex":0},{"imageOffset":85583,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":182,"imageIndex":1},{"imageOffset":243985,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":129,"imageIndex":1},{"imageOffset":208422,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":557,"imageIndex":1},{"imageOffset":7603,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":129,"imageIndex":1},{"imageOffset":207799,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":179,"imageIndex":1},{"imageOffset":242498,"symbol":"dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const","symbolLocation":118,"imageIndex":1},{"imageOffset":243124,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":386,"imageIndex":1},{"imageOffset":85378,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":144,"imageIndex":1},{"imageOffset":85774,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":178,"imageIndex":1},{"imageOffset":85938,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":108,"imageIndex":1},{"imageOffset":165926,"symbol":"dyld4::APIs::runAllInitializersForMain()","symbolLocation":222,"imageIndex":1},{"imageOffset":25485,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3443,"imageIndex":1},{"imageOffset":21732,"symbol":"start","symbolLocation":388,"imageIndex":1}]},{"id":69587,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4387471360,
    "CFBundleShortVersionString" : "5.9.0",
    "CFBundleIdentifier" : "com.rawtherapee.RawTherapee",
    "size" : 11812864,
    "uuid" : "22cb7efd-b017-3e03-a011-253f87c818f0",
    "path" : "\/Volumes\/VOLUME\/RawTherapee.app\/Contents\/MacOS\/rawtherapee",
    "name" : "rawtherapee",
    "CFBundleVersion" : "5.9.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4618346496,
    "size" : 442368,
    "uuid" : "7b87a986-a153-33c4-8470-d56410b7f9d5",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703344779264,
    "size" : 49152,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703341522944,
  "size" : 19331678208,
  "uuid" : "47e1dd7d-5e37-3ec3-a85c-901263ec66b5"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=890.9M resident=0K(0%) swapped_out_or_unallocated=890.9M(100%)\nWritable regions: Total=550.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=550.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           156.2M       16 \nMALLOC guard page                   24K        6 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        2 \nStack                             8712K        2 \nVM_ALLOCATE                          8K        2 \n__DATA                            16.2M      300 \n__DATA_CONST                      14.3M      201 \n__DATA_DIRTY                       485K       85 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       665.0M       60 \n__OBJC_RO                         82.8M        1 \n__OBJC_RW                         3200K        2 \n__TEXT                           225.8M      311 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                         48K        1 \nshared memory                       12K        2 \n===========                     =======  ======= \nTOTAL                              1.6G      997 \nTOTAL, minus reserved VM space     1.2G      997 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "6112e14f37f5d11121dcd519",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
      },
      "deploymentId" : 240000231
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacPro5,1, BootROM 144.0.0.0.0, 12 processors, 6-Core Intel Xeon, 3.46 GHz, 64 GB, SMC 1.39f11
Graphics: GeForce GTX 780 Mac, GeForce GTX 780 Mac, PCIe, 3 GB
Display: CS270, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online
Memory Module: DIMM 1, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304448302D5948392020
Memory Module: DIMM 2, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37305142302D5948392020
Memory Module: DIMM 3, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304448302D5948392020
Memory Module: DIMM 4, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304348302D5948392020
Memory Module: DIMM 5, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304448302D5948392020
Memory Module: DIMM 6, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37305142302D5948392020
Memory Module: DIMM 7, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304348302D5948392020
Memory Module: DIMM 8, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304448302D5948392020
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet 2, Ethernet, en1
PCI Card: GeForce GTX 780 Mac, Display Controller, Slot-1
PCI Card: GeForce GTX 780 Mac, NVDA,Parent, Slot-1
PCI Card: pci144d,a808, NVM Express Controller, Slot-4
PCI Card: PXS3, USB eXtensible Host Controller, Slot-3
Serial ATA Device: HL-DT-ST DVD-RW GH80N
Serial ATA Device: SanDisk SSD PLUS 1000GB, 1 TB
Serial ATA Device: WDC WD30EZRX-00SPEB0, 3 TB
Serial ATA Device: ST6000DM003-2CY186, 6 TB
Serial ATA Device: ST8000NE001-2M7101, 8 TB
USB Device: USB30Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: SABRENT
USB Device: hub_device
USB Device: EIZO USB HID Monitor
USB Device: i1Display3
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: Expert Wireless TB
USB Device: Scarlett Solo USB
USB Device: PTK-640
USB Device: USBBus
USB Device: USBBus
USB Device: USBBus
USB Device: USBBus
USB Device: USBBus
USB Device: USBBus
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB20Bus
USB Device: USB20Bus
USB Device: Keyboard Hub
USB Device: Apple Keyboard
FireWire Device: built-in_hub, 800mbit_speed
Thunderbolt Bus:

I found the solution for the lensfun database came from re-installing lensfun - from source as there doesn’t seem to be any .deb packages maintained (tumbleweed does) - so I’m now a happy bunny!

Don’t know how you do it in Windows, but worth a try…

Today, I downloaded with great hope the full version 5.9, but unfortunately, my OM-1 is still not supported. What can I do to get this feature implemented? Thanking you

At first sight it looks like the frequency of crashes has reduced but not clear yet. The latest crash happened when I added a spot full-size preview overlay (again with noise reduction enabled). Thanks for the pointer!

1 Like

18 posts were split to a new topic: 5.9 can not launch external editor

You’ve got the compatible macOS, but the 2010 machines (macpro5,1) are not supported by the SDK generic level (Sandy Bridge) superceding the original iX (Clarkdale), making their first appearance on macpro6,1 (the cylinder).

This is a link to a 5.9-release build I made last month:

https://kd6kxr.keybase.pub/RawTherapee_macOS_11.0_Universal_5.9.zip

I believe the caveat for this build is that the correct number for threads in the performance tab is 0 for most people, but for some people who experience crashing, the correct number might be 2. Also, I think for this particular product, the minimum macOS version is 11.3 for intel/x86_64 and 11.0 for Apple Silicon/arm64, and the filename just shows the 11.0 and not the 11.3. I think the choice of 11.3 on the intel side was to bump the default machine code by a generation or so compared to the 11.0 SDK compatibility, whereas for the arm64 I just left it at the default. For intel it might be possible to have a Catalina build, but the SDK targets a slower generic subset. On the other hand like on windows we can also make builds optimized for even more recent architectures.

Thanks for the reply - I’ll download it and try to install.

The previous version crashed when I tried to launch RT - the gui never appeared, just an instant crash report.

My Mac Pro is a 5,1 running Monterey via Open Core. The dev build I run functions perfectly and here are the version details from the ‘about’ tab:

Version: 5.8-3163-gb08ed74cb
Branch: release-5.9
Commit: b08ed74cb
Commit date: 2022-10-07
Compiler: clang 14.0.0.14000028
Processor: arm64
System: Apple
Bit depth: 64 bits
Gtkmm: V3.24.7
Lensfun: V0.3.95.0
Build type: Release
Build flags: -std=c++11 -mcpu=native -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -Wno-attributes -mmacosx-version-min=11.0 -flto -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include -Werror=unknown-pragmas -O3 -DNDEBUG=1 -I/opt/homebrew/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -Wno-pass-failed -arch arm64 -Wno-deprecated-register -Wno-unused-command-line-argument -std=c++11 -ftree-vectorize
Link flags: -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -arch arm64 -mcpu=native -Wl,-headerpad_max_install_names -mtune=generic -framework Foundation -flto
OpenMP support: ON
MMAP support: ON
Build OS: Darwin 22.1.0 arm64
Build date: Sat, 15 Oct 2022 03:48:34 +0000 UTC
Build epoch: 1665805714
Build UUID: 46360c70-2e09-4775-b4c8-65a4b1b6f2de


Bundle system: Apple M1
Bundle OS: macOS 13.0 22A5373b Darwin 22.1.0 arm64
Bundle date: Sat, 15 Oct 2022 03:50:56 +0000 UTC
Bundle epoch: 1665805856
Bundle UUID: cc392b1f-1f63-4a49-ba8a-1390b3e17ec0

=====================================

Version: 5.8-3163-gb08ed74cb
Branch: release-5.9
Commit: b08ed74cb
Commit date: 2022-10-07
Compiler: clang 13.0.0.13000029
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.24.7
Lensfun: V0.3.95.0
Build type: Release
Build flags: -std=c++11 -mtune=generic -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -Wno-attributes -mmacosx-version-min=10.15 -flto -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros -Xpreprocessor -fopenmp /usr/local/lib/libomp.dylib -I/usr/local/include -Werror=unknown-pragmas -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -Wno-pass-failed -Wno-deprecated-register -Wno-unused-command-line-argument -std=c++11 -DNDEBUG=1 -O3 -ftree-vectorize
Link flags: -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib -Wl,-undefined,dynamic_lookup -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -O3 -DNDEBUG=1 -mtune=generic -Wl,-headerpad_max_install_names -mtune=generic -framework Foundation -flto
OpenMP support: ON
MMAP support: ON
Build OS: Darwin 20.6.0 x86_64
Build date: Wed, 12 Oct 2022 07:36:31 +0000 UTC
Build epoch: 1665560191
Build UUID: 0715c927-8413-4873-a06f-0a16a9be6caa


Bundle system: Intel(R) Xeon(R) CPU E5-4627 v2 @ 3.30GHz
Bundle OS: macOS 11.7 20G817 Darwin 20.6.0 x86_64
Bundle date: Sat, 15 Oct 2022 02:47:56 +0000 UTC
Bundle epoch: 1665802076
Bundle UUID: ccb7b282-521c-4b85-a096-b5cf0e2df5d8

I wish I was capable of doing a “build” but frankly it’s way above my understanding!

I’m testing RT at my work desktop and it seems RawTherapee_macOS_11.0_Universal_5.8-3163-gb08ed74cb is the most recent build I can get working. The system is as follows

Hardware Overview:

Model Name: Mac mini
Model Identifier: Macmini9,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB

System Software Overview:

System Version: macOS 11.6.1 (20G224)
Kernel Version: Darwin 20.6.0

If there’s some testing that needs to be done let me now. I’m privately a linux user but would like to use RT for work stuff as well.

Any crash reports you can generate are always useful. Everything else is hearsay!!1 haha

https://kd6kxr.keybase.pub/RawTherapee_macOS_11.7_Universal_5.9.zip

edit updated link to macos 11.7 target

1 Like

Seems to be working fine, thanks very much for the effort Hiram :+1: :+1: :+1: :+1:

@HIRAM: any chance the universal MacOS built will not (yet) work the newly released Macbook Pro with the M2 Pro or M2 Max processor? I am looking to buy one for my RT image processing. I understand you have not tested that, but hope you can provide some feedback :slight_smile:

https://kd6kxr.keybase.pub/RawTherapee_macOS_11.7_Universal_5.9.zip
It should indeed work as the M1 target is more generic than M2 or M1+.

1 Like

There is an issue with RT right-click menus not getting focus from the mouse pointer on Ventura macOS 13+ (on apple silicon, not sure about Intels). The same problem occurred with darktable, but gtk got fixes for it and they ported it over to darktable, and the latest builds fixed that.

Hopefully they can port that over to RT too.

@Hickz Not sure what an RT right-click menu is. Perhaps you can make a capture with Screenshot.app? Do you know which feature branch gtk+3 is being used by DT currently to resolve this?

If you hover with your mouse cursor over those menus on Apple silicon macOS Ventura, it won’t activate, you can’t click on it, nothing. You can only navigate through keyboard arrows.

Here you can read about the issue and resolution to it: