Trying to compile ART on MacOS Ventura

Hi all,
I managed to compile ART on my Mac mini M1 running MacOS Ventura, starting from Managed to build ART 1.12.1 on macOS Monterey - #56 by HIRAM but adapting some lines to current versions.
It configures and compiles fine apparently, and I can load ART from the build directory. It shows th efile explorer, I can browse images, but when I try to open an image (whatever the format, raw or jpeg) it hangs with the cursor showing the spinning wheel, nothing happens, I can only kill the program.
Here’s a short video of what happens:
Screen Recording 2023 02 01 at 19 58 58 - YouTube

Unfortunately I haven’t found a GDB binary yet for this Mac, so I can’t run a debug build in GDB.

Here’s the content of AboutThisBuild.txt:

Version: db47da21b
Branch: master
Commit: db47da21b
Commit date: 2023-01-31
Compiler: clang 15.0.7
Processor: arm64
System: Apple
Bit depth: 64 bits
Gtkmm: 3.24.7
Lensfun: 0.3.3.0
Exiv2: 
LCMS2: 
LibRaw: 0.21.1
OpenColorIO: 2.2.1
Build type: Release
Build flags:  -std=c++11 -mcpu=native -Werror=unused-label -fno-math-errno -mmacosx-version-min=13.1 -Wall -Wuninitialized -Wno-deprecated-declarations -Wno-unused-result -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/MacOSX.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/MacOSX.sdk/usr/lib -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -arch arm64 -mcpu=native -headerpad_max_install_names
OpenMP support: ON
Mi-malloc: 
Build OS: Darwin
Build date: 2023-02-01T23:04:36Z

Notice that despite some libraries showing an empty result, they have actually been found by CMake

1 Like

-fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include might need to be passed with
-fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -I/opt/homebrew/opt/libomp/include instead, based on what happened after refreshing Homebrew recently (deleting /opt/homebrew).

The version numbers reported by this code, come from here meaning pkg-config will be reporting version # to cmake.

  • Double check the existence of /opt/homebrew/lib/pkgconfig/exiv2.pc and lcms2.pc

For clang generated codes, use lldb instead of gdb.

1 Like

Both are aliases that lead to the same directory. I tried what you suggested but it didn’t change anyhting.

Yes they do exist there. According to the CMakeCache.txt generated, both exiv2 and lcms2 libs seem to have been found:

//Path to a library.
pkgcfg_lib_EXIV2_exiv2:FILEPATH=/opt/homebrew/Cellar/exiv2/0.27.6/lib/libexiv2.dylib

//Path to a library.
pkgcfg_lib_LCMS_lcms2:FILEPATH=/opt/homebrew/Cellar/little-cms2/2.14/lib/liblcms2.dylib

[/quote]

Here’s the output:

sguyader@MinideSebastien ~ % lldb /Users/sguyader/PhotoApps/art/build/Release/MacOS/ART
(lldb) target create "/Users/sguyader/PhotoApps/art/build/Release/MacOS/ART"
Current executable set to '/Users/sguyader/PhotoApps/art/build/Release/MacOS/ART' (arm64).
(lldb) run
Process 2536 launched: '/Users/sguyader/PhotoApps/art/build/Release/MacOS/ART' (arm64)

(ART:2536): GLib-GObject-WARNING **: 17:32:46.298: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(ART:2536): Gtk-CRITICAL **: 17:32:46.298: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
2023-02-02 17:32:46.300206-0400 ART[2536:24923] [General] _createMenuRef called with existing principal MenuRef already associated with menu
2023-02-02 17:32:46.300742-0400 ART[2536:24923] [General] (
	0   CoreFoundation                      0x00000001969903e8 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x00000001964daea8 objc_exception_throw + 60
	2   CoreFoundation                      0x000000019699028c +[NSException exceptionWithName:reason:userInfo:] + 0
	3   AppKit                              0x0000000199b93258 -[NSCarbonMenuImpl _createMenuRef] + 64
	4   AppKit                              0x0000000199b92dac -[NSCarbonMenuImpl _instantiateCarbonMenu] + 120
	5   AppKit                              0x0000000199b8d1a0 -[NSApplication finishLaunching] + 608
	6   ART                                 0x00000001002228d4 _ZN8RTWindowC1Ev + 3208
	7   ART                                 0x000000010018814c _ZN12_GLOBAL__N_116create_rt_windowEv + 104
	8   ART                                 0x000000010018a4d4 _ZN12_GLOBAL__N_113RTApplication15on_command_lineERKN4Glib6RefPtrIN3Gio22ApplicationCommandLineEEE + 380
	9   libgiomm-2.4.1.dylib                0x0000000100ec584c _ZN3Gio17Application_Class21command_line_callbackEP13_GApplicationP24_GApplicationCommandLine + 120
	10  libgio-2.0.0.dylib                  0x000000010126a2d8 _g_cclosure_marshal_INT__OBJECTv + 104
	11  libgobject-2.0.0.dylib              0x0000000100d96bd8 _g_closure_invoke_va + 232
	12  libgobject-2.0.0.dylib              0x0000000100dac464 g_signal_emit_valist + 864
	13  libgobject-2.0.0.dylib              0x0000000100daccc8 g_signal_emit + 28
	14  libgio-2.0.0.dylib                  0x00000001012b7694 g_application_call_command_line + 124
	15  libgio-2.0.0.dylib                  0x00000001012b91bc g_application_real_local_command_line + 1372
	16  libgiomm-2.4.1.dylib                0x0000000100ec6990 _ZN3Gio11Application24local_command_line_vfuncERPPcRi + 92
	17  libgiomm-2.4.1.dylib                0x0000000100ec5388 _ZN3Gio17Application_Class33local_command_line_vfunc_callbackEP13_GApplicationPPPcPi + 100
	18  libgio-2.0.0.dylib                  0x00000001012b73f8 g_application_run + 328
	19  ART                                 0x0000000100187708 main + 4092
	20  dyld                                0x000000019650be50 start + 2544
)

(ART:2536): Gtk-WARNING **: 17:32:46.535: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)

(ART:2536): Gtk-WARNING **: 17:32:46.537: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)

ART hangs there with no message when I try to open an image. I have to kill the program, than here’s what is shown in lldb when ART is killed:

Process 2536 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGTERM
    frame #0: 0x00000001967f6c0c libsystem_kernel.dylib`read + 8
libsystem_kernel.dylib`read:
->  0x1967f6c0c <+8>:  b.lo   0x1967f6c2c               ; <+40>
    0x1967f6c10 <+12>: pacibsp 
    0x1967f6c14 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1967f6c18 <+20>: mov    x29, sp

And the full backtrace: ART lldb - Pastebin.com (too long to be pasted here).

According to the backtrace that thread appears to hang attempting to read in the exif data.

So, it could be a problem with exiv2?

Do you have exiftool installed? Can you try to make sure that art does not find it and see what happens? Recently I have reworked the exiftool integration to use a long-running process instead of spawning a new one for every metadata request. I tested on both Linux and windows, but no Mac as I have none. Maybe there’s something wrong there…

Thanks for the tip Alberto. I think I do have exiftool installed, because I also used to play around with building RawTherapee on my mac mini a few months ago. I’ll try to remove exiftool later, and report back.

Unfortunately I found no sign whatsoever of anything related to exiftool.

I also do not have exiftool, but my Big Sur build seems to load images ok.
I am using libexiv2.0.27.6.dylib

Images load fine, but when I quit the app, I get the same crashed thread as @sguyader

Thread 2 Crashed:
0   us.pixls.art.ART              	0x00000001051c8030 rtengine::subprocess::SubprocessInfo::~SubprocessInfo() + 72
1   us.pixls.art.ART              	0x00000001051c8024 rtengine::subprocess::SubprocessInfo::~SubprocessInfo() + 60
2   us.pixls.art.ART              	0x0000000105196b0c rtengine::Exiftool::exec(std::__1::vector<Glib::ustring, std::__1::allocator<Glib::ustring> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) + 628
3   us.pixls.art.ART              	0x0000000105199304 rtengine::Exiv2Metadata::load() const + 3680
4   us.pixls.art.ART              	0x0000000105032998 rtengine::FramesData::FramesData(Glib::ustring const&) + 468
5   us.pixls.art.ART              	0x0000000104ea5f80 Thumbnail::loadRating() + 140
6   us.pixls.art.ART              	0x0000000104ea5dbc Thumbnail::loadProcParams(bool) + 536
7   us.pixls.art.ART              	0x0000000104ea8b34 Thumbnail::Thumbnail(CacheManager*, Glib::ustring const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 268
8   us.pixls.art.ART              	0x0000000104cd4bd8 CacheManager::getEntry(Glib::ustring const&) + 460
9   us.pixls.art.ART              	0x0000000104e55048 PreviewLoader::Impl::processNextJob() + 364
10  us.pixls.art.ART              	0x0000000104ceb570 std::__1::packaged_task<void ()>::operator()() + 80
11  us.pixls.art.ART              	0x000000010505a464 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, rtengine::ThreadPool::ThreadPool(unsigned long)::'lambda'()> >(void*) + 1736
12  libsystem_pthread.dylib       	0x0000000187287878 _pthread_start + 320
13  libsystem_pthread.dylib       	0x00000001872825e0 thread_start + 8

Link:

BTW, there is a Lensfun uptake patch I made to grab the correct version:

diff --git a/tools/osx/macosx_bundle.sh b/tools/osx/macosx_bundle.sh
index 33d98460d..8f2f7c163 100644
--- a/tools/osx/macosx_bundle.sh
+++ b/tools/osx/macosx_bundle.sh
@@ -191,12 +191,15 @@ lensfunversion=$(pkg-config --modversion lensfun | cut -f3 -d'.')
 if [ $lensfunversion = 95 ]
 then
     ditto ${LOCAL_PREFIX}/share/lensfun/version_2/* "${RESOURCES}/share/lensfun"
+    # Copy liblensfun to Frameworks
+    ditto ${LOCAL_PREFIX}/lib/liblensfun.2.dylib "${CONTENTS}/Frameworks/liblensfun.2.dylib"
 else
     ditto ${LOCAL_PREFIX}/share/lensfun/version_1/* "${RESOURCES}/share/lensfun"
+    # Copy liblensfun to Frameworks
+    ditto ${LOCAL_PREFIX}/lib/liblensfun.1.dylib "${CONTENTS}/Frameworks/liblensfun.1.dylib"
 fi
 
-# Copy liblensfun to Frameworks
-ditto ${LOCAL_PREFIX}/lib/liblensfun.2.dylib "${CONTENTS}/Frameworks/liblensfun.2.dylib"
+
 
 # Copy libomp to Frameworks
 ditto ${LOCAL_PREFIX}/lib/libomp.dylib "${CONTENTS}/Frameworks"

Can you try with this patch?

diff --git a/rtengine/subprocess.cc b/rtengine/subprocess.cc
--- a/rtengine/subprocess.cc
+++ b/rtengine/subprocess.cc
@@ -560,7 +560,10 @@
 
 void SubprocessInfo::kill()
 {
-    ::kill(D(impl_)->pid, SIGTERM);
+    if (D(impl_)->pid > 0) {
+        ::kill(D(impl_)->pid, SIGTERM);
+        D(impl_)->pid = -1;
+    }
 }
 
 

Actually, scratch that. There was indeed a problem when exiftool was not found, causing ART to hang. @sguyader @HIRAM can you try now with the current master?

Thanks!

1 Like

It loads and exits clean.

Version: 9d83df5cd
Branch: master
Commit: 9d83df5cd
Commit date: 2023-02-03

https://kd6kxr.keybase.pub/ART_macOS_11.7_Universal_1.18.1-6-g9d83df5cd.dmg.zip

3 Likes

I have good news, and bad news.

Good news: with the current master, I’m able to compile, launch ART, load images, process them, exit the prgram without it crashing.

Bad news: I tried @HIRAM’s latest build on macOS 13.2 Ventura, but this build crashes on first launch, and when I click on “Reopen” from the crash report, ART launches but the main window looks like below and doesn’t show any icon nor any thumbnail in the browser:

Crash report:

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

Process:               ART [8366]
Path:                  /Applications/ART.app/Contents/MacOS/ART
Identifier:            us.pixls.art.ART
Version:               1.18.1.6 (1.18.1.6)
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-02-04 11:32:54.2458 -0400
OS Version:            macOS 13.2 (22D49)
Report Version:        12
Anonymous UUID:        645651DB-3F03-76CF-AC23-A5BF04C101EF


Time Awake Since Boot: 720 seconds

System Integrity Protection: enabled

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

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

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

Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ART                           	       0x100a8401a _GLOBAL__sub_I_batchqueuebuttonset.cc + 10
1   dyld                          	       0x201140618 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172
2   dyld                          	       0x20117fc4d invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 132
3   dyld                          	       0x201173ef7 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 557
4   dyld                          	       0x2011260b7 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 245
5   dyld                          	       0x2011730a7 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 175
6   dyld                          	       0x2011757ea dyld3::MachOFile::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, bool&) block_pointer) const + 116
7   dyld                          	       0x20117f882 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 390
8   dyld                          	       0x2011404f6 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 150
9   dyld                          	       0x201140750 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 178
10  dyld                          	       0x20114082c dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 164
11  dyld                          	       0x201160117 dyld4::APIs::runAllInitializersForMain() + 337
12  dyld                          	       0x20112b369 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3743
13  dyld                          	       0x20112a281 start + 2289

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffc32614 0x7ff7ffc2e000 + 17940
1   runtime                       	    0x7ff7ffc3e530 0x7ff7ffc2e000 + 66864
2   runtime                       	    0x7ff7ffc3ff30 0x7ff7ffc2e000 + 73520

Thread 2:
0   runtime                       	    0x7ff7ffc5087c 0x7ff7ffc2e000 + 141436


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000001096f8c20  rbx: 0x0000000305634fe8  rcx: 0x0000000305639898  rdx: 0x00000003056397c0
  rdi: 0x0000000000000001  rsi: 0x00000003056397b0  rbp: 0x0000000305634fd0  rsp: 0x0000000305634fb0
   r8: 0x00007ff85904c510   r9: 0x000000020117fbc9  r10: 0x0000000000050000  r11: 0x0000000305635250
  r12: 0x0000000100b2a588  r13: 0x000000010041e418  r14: 0x0000000100a84010  r15: 0x00000003056354d8
  rip: <unavailable>       rfl: 0x0000000000000202
 tmp0: 0x0000000100a8401a tmp1: 0x0511f8c5c057f8c5 tmp2: 0x00358d480018d422


Binary Images:
       0x10041e000 -        0x100b29fff us.pixls.art.ART (1.18.1.6) <01d67bfc-5d55-3080-9885-b5b05673c339> /Applications/ART.app/Contents/MacOS/ART
       0x201124000 -        0x2011bbfff dyld (*) <270c4224-a38f-3a22-9ba9-95968f487738> /usr/lib/dyld
    0x7ff7ffc2e000 -     0x7ff7ffc5dfff runtime (*) <f066db2c-ed38-3f37-8d21-81d15fa908fe> /usr/libexec/rosetta/runtime

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
IOAccelerator                     32.0M        1 
Kernel Alloc Once                    8K        1 
MALLOC                           128.1M        9 
MALLOC guard page                   96K        5 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
Rosetta Arena                     4096K        2 
Rosetta Generic                   1048K      259 
Rosetta IndirectBranch              64K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack                40K        4 
Rosetta Thread Context              40K        4 
STACK GUARD                          4K        1 
Stack                             8708K        2 
Stack Guard                       56.0M        1 
VM_ALLOCATE                       12.1M       19 
VM_ALLOCATE (reserved)             468K       42         reserved VM address space (unallocated)
__DATA                            16.0M      345 
__DATA_CONST                      16.9M      230 
__DATA_DIRTY                       632K       96 
__FONT_DATA                        2352        1 
__LINKEDIT                       186.1M       64 
__OBJC_RO                         65.4M        1 
__OBJC_RW                         1987K        2 
__TEXT                           254.6M      356 
dyld private memory                512K        2 
mapped file                        4.1G     1387 
shared memory                       32K        2 
unshared pmap                     3728K        3 
===========                     =======  ======= 
TOTAL                              5.4G     2843 
TOTAL, minus reserved VM space     5.0G     2843 



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

{"app_name":"ART","timestamp":"2023-02-04 11:32:55.00 -0400","app_version":"1.18.1.6","slice_uuid":"01d67bfc-5d55-3080-9885-b5b05673c339","build_version":"1.18.1.6","platform":1,"bundleID":"us.pixls.art.ART","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"name":"ART","incident_id":"299D7F41-95F1-4F9E-95C9-8FC44CD1C0E7"}
{
  "uptime" : 720,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "coalitionID" : 1286,
  "osVersion" : {
    "train" : "macOS 13.2",
    "build" : "22D49",
    "releaseType" : "User"
  },
  "captureTime" : "2023-02-04 11:32:54.2458 -0400",
  "incident" : "299D7F41-95F1-4F9E-95C9-8FC44CD1C0E7",
  "pid" : 8366,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-02-04 11:32:46.9748 -0400",
  "procStartAbsTime" : 17248902626,
  "procExitAbsTime" : 17423398825,
  "procName" : "ART",
  "procPath" : "\/Applications\/ART.app\/Contents\/MacOS\/ART",
  "bundleInfo" : {"CFBundleShortVersionString":"1.18.1.6","CFBundleVersion":"1.18.1.6","CFBundleIdentifier":"us.pixls.art.ART"},
  "storeInfo" : {"deviceIdentifierForVendor":"07841584-E486-5E77-90AB-F06665B6D172","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "us.pixls.art.ART",
  "crashReporterKey" : "645651DB-3F03-76CF-AC23-A5BF04C101EF",
  "throttleTimeout" : 2147483647,
  "sip" : "enabled",
  "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":8366},
  "ktriageinfo" : "VM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\n",
  "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":33379,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":12975296464},"r12":{"value":4306675080},"rosetta":{"tmp2":{"value":15073514144453666},"tmp1":{"value":365346573012957381},"tmp0":{"value":4305993754}},"rbx":{"value":12975296488},"r8":{"value":140704622101776,"symbolLocation":16,"symbol":"dyld4::gDyld"},"r15":{"value":12975297752},"r10":{"value":327680},"rdx":{"value":12975314880},"rdi":{"value":1},"r9":{"value":8608283593,"symbolLocation":0,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const"},"r13":{"value":4299285528},"rflags":{"value":514},"rax":{"value":4453272608},"rsp":{"value":12975296432},"r11":{"value":12975297104},"rcx":{"value":12975315096},"r14":{"value":4305993744,"symbolLocation":0,"symbol":"_GLOBAL__sub_I_batchqueuebuttonset.cc"},"rsi":{"value":12975314864}},"queue":"com.apple.main-thread","frames":[{"imageOffset":6709274,"symbol":"_GLOBAL__sub_I_batchqueuebuttonset.cc","symbolLocation":10,"imageIndex":0},{"imageOffset":116248,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":172,"imageIndex":1},{"imageOffset":375885,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":132,"imageIndex":1},{"imageOffset":327415,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":557,"imageIndex":1},{"imageOffset":8375,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":245,"imageIndex":1},{"imageOffset":323751,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":175,"imageIndex":1},{"imageOffset":333802,"symbol":"dyld3::MachOFile::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, bool&) block_pointer) const","symbolLocation":116,"imageIndex":1},{"imageOffset":374914,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":390,"imageIndex":1},{"imageOffset":115958,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":150,"imageIndex":1},{"imageOffset":116560,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":178,"imageIndex":1},{"imageOffset":116780,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":164,"imageIndex":1},{"imageOffset":246039,"symbol":"dyld4::APIs::runAllInitializersForMain()","symbolLocation":337,"imageIndex":1},{"imageOffset":29545,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3743,"imageIndex":1},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":1}]},{"id":33485,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17940,"imageIndex":2},{"imageOffset":66864,"imageIndex":2},{"imageOffset":73520,"imageIndex":2}]},{"id":33963,"frames":[{"imageOffset":141436,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4299284480,
    "CFBundleShortVersionString" : "1.18.1.6",
    "CFBundleIdentifier" : "us.pixls.art.ART",
    "size" : 7389184,
    "uuid" : "01d67bfc-5d55-3080-9885-b5b05673c339",
    "path" : "\/Applications\/ART.app\/Contents\/MacOS\/ART",
    "name" : "ART",
    "CFBundleVersion" : "1.18.1.6"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8607907840,
    "size" : 622592,
    "uuid" : "270c4224-a38f-3a22-9ba9-95968f487738",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124611072,
    "size" : 196608,
    "uuid" : "f066db2c-ed38-3f37-8d21-81d15fa908fe",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  }
],
  "sharedCache" : {
  "base" : 140703516164096,
  "size" : 21474836480,
  "uuid" : "efc722b9-b3df-3d27-9a7b-c4acaf125abb"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=440.7M resident=0K(0%) swapped_out_or_unallocated=440.7M(100%)\nWritable regions: Total=703.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=703.3M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nIOAccelerator                     32.0M        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           128.1M        9 \nMALLOC guard page                   96K        5 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nRosetta Arena                     4096K        2 \nRosetta Generic                   1048K      259 \nRosetta IndirectBranch              64K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                40K        4 \nRosetta Thread Context              40K        4 \nSTACK GUARD                          4K        1 \nStack                             8708K        2 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                       12.1M       19 \nVM_ALLOCATE (reserved)             468K       42         reserved VM address space (unallocated)\n__DATA                            16.0M      345 \n__DATA_CONST                      16.9M      230 \n__DATA_DIRTY                       632K       96 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       186.1M       64 \n__OBJC_RO                         65.4M        1 \n__OBJC_RW                         1987K        2 \n__TEXT                           254.6M      356 \ndyld private memory                512K        2 \nmapped file                        4.1G     1387 \nshared memory                       32K        2 \nunshared pmap                     3728K        3 \n===========                     =======  ======= \nTOTAL                              5.4G     2843 \nTOTAL, minus reserved VM space     5.0G     2843 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62cdf63ddb3b7109d6d765cc",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_TMDC" : "62cdf6dddb3b7109d6d765cd"
      },
      "deploymentId" : 240000007
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    }
  ],
  "experiments" : [

  ]
}
}

Model: Macmini9,1, BootROM 8419.80.7, proc 8:4:4 processors, 8 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: MAG342CQRV, 3440 x 1440 (UWQHD - Ultra-Wide Quad HD), Main, MirrorOff, Online
Memory Module: LPDDR4, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Nov 30 2022 03:35:43 version 18.20.379.9.7.8.145 FWID 01-9578a936
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: USB30Bus
USB Device: USB3.1 Hub
USB Device: USB2.1 Hub
USB Device: USB 2.0 Hub [MTT]
USB Device: X-Touch One
USB Device: CHERRY Wired Keyboard
USB Device: Console 1
USB Device: USB31Bus
USB Device: Studio 1824c
USB Device: USB31Bus
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.

Somehow the crash report states that x86_64 code was running, but you are on M1, so that shouldn’t be happening. Also check there is not clobbering between app versions and access to any app containers in ~/Library. switching builds. For example, when switching builds, you may wish to delete ~/Library/Containers/ART.

I deleted ~/Library/Containers/ART and ~/Library/Application support/ART, but I still get the same crash report about x86_64 code.