ziglang / zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
https://ziglang.org
MIT License
33.7k stars 2.47k forks source link

Segfault when building compiler in stage 3, macOS Ventura 13.2.1 #16195

Open jrachele opened 1 year ago

jrachele commented 1 year ago

Zig Version

0.11.0-dev.3814+146b79af1

Steps to Reproduce and Observed Behavior

I cloned zig:

git clone --recursive https://github.com/ziglang/zig.git && cd zig

I pasted the following commands from the Wiki:

mkdir build                                                                                                                                     
cd build
cmake .. -DZIG_STATIC_LLVM=ON -DCMAKE_PREFIX_PATH="$(brew --prefix llvm);$(brew --prefix zstd)"
make install

And ended up with this segfault:

> $ make install                                                                                                                                    [±master ✓]
[ 40%] Built target zigcpp
[ 50%] Built target zig-wasm2c
[ 70%] Built target zig1
[ 95%] Built target zig2
[100%] Building stage3
MachO Flush... /bin/sh: line 1: 77248 Segmentation fault: 11  /Users/julianrachele/pkg/zig/build/zig2 build --prefix /Users/julianrachele/pkg/zig/build/stage3 --zig-lib-dir /Users/julianrachele/pkg/zig/lib -Dconfig_h=/Users/julianrachele/pkg/zig/build/config.h -Denable-llvm -Dtarget=native -Dcpu=native -Dversion-string=0.11.0-dev.3814+146b79af1
make[2]: *** [stage3/bin/zig] Error 139
make[1]: *** [CMakeFiles/stage3.dir/all] Error 2
make: *** [all] Error 2

Expected Behavior

No segfault when building Zig

This is with an Intel Macbook Pro 13-inch 2020. 2 GHz Quad-Core Intel Core i5

kubkon commented 1 year ago

Could you rebuild but with debug build instead of release and paste the result? This would point out where we trip an assertion or reach unreachable. Add -DCMAKE_BUILD_TYPE=Debug to your cmake invocation.

jrachele commented 1 year ago

So I attempted to repro the segfault with 0.11.0-dev.3814+146b79af1 a few times, each time would actually cause a kernel panic and my computer would crash. That said, I am running with System Integrity Protection disabled, so that could be a factor.

I updated to the latest: 0.11.0-dev.3892+0a6cd257b and reran with the debug symbols. This time, the crash was slightly different:

MachO Flush... /bin/sh: line 1:  1600 Bus error: 10           /Users/julianrachele/pkg/zig/build/zig2 build --prefix /Users/julianrachele/pkg/zig/build/stage3 --zig-lib-dir /Users/julianrachele/pkg/zig/lib -Dconfig_h=/Users/julianrachele/pkg/zig/build/config.h -Denable-llvm -Dtarget=native -Dcpu=native -Dversion-string=0.11.0-dev.3892+0a6cd257b
make[2]: *** [stage3/bin/zig] Error 138
make[1]: *** [CMakeFiles/stage3.dir/all] Error 2
make: *** [all] Error 2

Here is a crash dump for the latest crash, SIGBUS, on version 0.11.0-dev.3892+0a6cd257b zig-crash-sigbus.txt

And here is a crash dump for the previous crash SIGSEGV, on version 0.11.0-dev.3814+146b79af1 zig-crash-sigsegv.txt

zhaozg commented 11 months ago

Maybe have different reason.

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

Process:               zig2 [16818]
Path:                  /Users/USER/*/zig2
Identifier:            zig2
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        Exited process [16817]
Responsible:           alacritty [79796]
User ID:               501

Date/Time:             2023-09-27 15:28:20.8633 +0800
OS Version:            macOS 13.4.1 (22F82)
Report Version:        12
Bridge OS Version:     7.5 (20P5060)
Anonymous UUID:        D1249EF5-CBA7-C606-E3EE-836D51B6A088

Sleep/Wake UUID:       B6BB1EC0-3350-45D8-8F24-09CAE776E09D

Time Awake Since Boot: 79000 seconds
Time Since Wake:       24195 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 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

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

VM Region Info: 0 is not in any region.  Bytes before following region: 4356612096
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      103aca000-1150f2000    [278.2M] r-x/r-x SM=COW  ...s/USER/*/zig2

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   zig2                                   0x1041c2ae3 multi_array_list_MultiArrayList_28InternPool_Item_29_items__anon_102167__102167 + 227 (zig2.c:696071)
1   zig2                                   0x104641bc6 InternPool_isRuntimeValue__17743 + 118 (zig2.c:1520346)
2   zig2                                   0x10464188a value_Value_isRuntimeValue__21969 + 138 (zig2.c:1610627)
3   zig2                                   0x1046416de Sema_resolveMaybeUndefValAllowVariablesMaybeRuntime__95074 + 2030 (zig2.c:1237800)
4   zig2                                   0x104640bd6 Sema_resolveMaybeUndefValAllowVariables__95073 + 86 (zig2.c:792107)
5   zig2                                   0x1048df73e Sema_resolveMaybeUndefValIntable__95072 + 78 (zig2.c:1525594)
6   zig2                                   0x104b4b055 Sema_analyzeArithmetic__95321 + 2597 (zig2.c:1540893)
7   zig2                                   0x1047dbc21 Sema_zirArithmetic__95305 + 1201 (zig2.c:1170266)
8   zig2                                   0x1047168bc Sema_analyzeBodyInner__95053 + 34076 (zig2.c:766377)
9   zig2                                   0x10470de19 Sema_analyzeBodyBreak__95051 + 89 (zig2.c:556582)
10  zig2                                   0x10471d0ac Sema_analyzeBodyInner__95053 + 60684 (zig2.c:768603)
11  zig2                                   0x104bcf8b0 Sema_resolveBlockBody__95169 + 240 (zig2.c:1591190)
12  zig2                                   0x104852807 Sema_zirBlock__95168 + 2967 (zig2.c:1214737)
13  zig2                                   0x1047214dd Sema_analyzeBodyInner__95053 + 78141 (zig2.c:769728)
14  zig2                                   0x1046f2f88 Sema_analyzeBody__95049 + 72 (zig2.c:739284)
15  zig2                                   0x1051af0f4 Module_analyzeFnBody__16012 + 10212 (zig2.c:740176)
16  zig2                                   0x104538a6a Module_ensureFuncBodyAnalyzed__15989 + 810 (zig2.c:547447)
17  zig2                                   0x10433c42a Compilation_processOneJob__4983 + 730 (zig2.c:426398)
18  zig2                                   0x104316d8f Compilation_performAllTheWork__4982 + 5263 (zig2.c:427557)
19  zig2                                   0x1042fd083 Compilation_update__4966 + 13411 (zig2.c:326679)
20  zig2                                   0x1040a5f6e main_updateModule__220 + 686 (zig2.c:335965)
21  zig2                                   0x10405bdd3 main_cmdBuild__227 + 25267 (zig2.c:352554)
22  zig2                                   0x104020e57 main_mainArgs__197 + 3223 (zig2.c:352997)
23  zig2                                   0x10401afa4 main_main__195 + 484 (zig2.c:274063)
24  zig2                                   0x10401ac6a main + 410 (zig2.c:273775)
25  dyld                                0x7ff80d43c41f start + 1903

Thread 1:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 2:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 3:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 4:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 5:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 6:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 7:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 8:
0   libsystem_kernel.dylib              0x7ff80d7623a2 __ulock_wait2 + 10
1   zig2                                   0x10401efef Thread_Futex_DarwinImpl_wait__155146 + 175 (zig2.c:1378096)
2   zig2                                   0x11022d8a5 Thread_Futex_wait__112738 + 53 (zig2.c:979565)
3   zig2                                   0x110230285 Thread_Futex_Deadline_wait__177760 + 117 (zig2.c:1787840)
4   zig2                                   0x10413f30f Thread_Condition_FutexImpl_wait__14998 + 671 (zig2.c:1750529)
5   zig2                                   0x10413f03a Thread_Condition_wait__14965 + 90 (zig2.c:1383486)
6   zig2                                   0x10413eee6 Thread_Pool_worker__14929 + 486 (zig2.c:985304)
7   zig2                                   0x10413eced Thread_callFn__anon_101603__101603 + 29 (zig2.c:690161)
8   zig2                                   0x10413e9e8 Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553 + 40 (zig2.c:492764)
9   libsystem_pthread.dylib             0x7ff80d7961d3 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff80d791bd3 thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007fdcca64e594  rbx: 0x00007ff7000000f3  rcx: 0x00007ff7bc41f998  rdx: 0x000000000000c8a4
  rdi: 0x00007ff7bc41fa28  rsi: 0x0000000000000480  rbp: 0x00007ff7bc41fae0  rsp: 0x0000000000000004
   r8: 0x00007ff7000000f3   r9: 0x0000000000000004  r10: 0x0000000000000004  r11: 0xffffffffffffffd0
  r12: 0x00007ff7bc433e28  r13: 0x00007ff7bc433e60  r14: 0x00007ff7bc433e70  r15: 0x00007ff7bc433cf0
  rip: 0x00000001041c2ae3  rfl: 0x0000000000010202  cr2: 0x0000000000000000

Logical CPU:     4
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  70 ff ff ff 48 89 85 68-ff ff ff 48 8b 85 68 ff  p...H..h...H..h.
  ff ff 0f 10 00 0f 10 48-10 0f 29 4d a0 0f 29 45  .......H..)M..)E
  90 0f 28 45 90 0f 28 4d-a0 48 89 e0 0f 11 48 10  ..(E..(M.H....H.
  0f 11 00 e8 85 7d fc ff-48 89 85 38 ff ff ff 48  .....}..H..8...H
  89 95 40 ff ff ff 0f 10-85 38 ff ff ff 0f 29 45  ..@......8....)E
  f0 48 8b 45 f0 48 8b 55-f8 48 81 c4 f0 00 00 00  .H.E.H.U.H......
 [5d]c3 66 66 2e 0f 1f 84-00 00 00 00 00 55 48 89  ].ff.........UH. <==
  e5 48 81 ec f0 00 00 00-48 8d 45 10 48 8b 48 10  .H......H.E.H.H.
  48 89 4d c0 0f 10 00 0f-29 45 b0 48 8d 45 b0 48  H.M.....)E.H.E.H
  89 45 e8 48 8b 45 e8 48-8b 48 10 48 89 4d e0 0f  .E.H.E.H.H.H.M..
  10 00 0f 29 45 d0 48 8b-4d e0 48 89 e0 48 89 48  ...)E.H.M.H..H.H
  10 0f 28 45 d0 0f 11 00-48 8d bd 48 ff ff ff e8  ..(E....H..H....

Binary Images:
       0x103aca000 -        0x1150f1fff zig2 (*) <00f8d709-9cff-382c-8351-3889cde7faef> /Users/USER/*/zig2
       0x11961a000 -        0x11a105fff libz3.4.12.2.0.dylib (*) <edf174d5-c005-3b6a-817e-5a8d1eba2263> /usr/local/Cellar/z3/4.12.2/lib/libz3.4.12.2.0.dylib
       0x118934000 -        0x118a0bfff libxml2.2.dylib (*) <a564c714-959a-3f57-9fa4-8d4253388333> /usr/local/Cellar/libxml2/2.11.5/lib/libxml2.2.dylib
       0x118ce8000 -        0x118e6ffff libicui18n.73.2.dylib (*) <6063ea70-69ae-3733-8f20-fc9fc834fb95> /usr/local/Cellar/icu4c/73.2/lib/libicui18n.73.2.dylib
       0x118f8c000 -        0x1190b7fff libicuuc.73.2.dylib (*) <37041e93-a601-3a30-8a20-de3b4f45fb1d> /usr/local/Cellar/icu4c/73.2/lib/libicuuc.73.2.dylib
       0x11c29f000 -        0x11e12efff libicudata.73.2.dylib (*) <07edd9b5-d303-3543-9bd5-98750f54ffa1> /usr/local/Cellar/icu4c/73.2/lib/libicudata.73.2.dylib
    0x7ff80d436000 -     0x7ff80d4ce5cf dyld (*) <5db85b72-c63a-3182-91e5-5c942ec30e48> /usr/lib/dyld
    0x7ff80d756000 -     0x7ff80d78fff7 libsystem_kernel.dylib (*) <eb4e80a0-99da-32dc-b9ad-394fbb50a0ac> /usr/lib/system/libsystem_kernel.dylib
    0x7ff80d790000 -     0x7ff80d79bfff libsystem_pthread.dylib (*) <8cb0b396-011f-31f2-8915-94cde1abae84> /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: 693
    thread_create: 0
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                           274.9M      479 
MALLOC guard page                   16K        4 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                         32K        8 
Stack                            256.1M       10 
Stack (reserved)                 128.0M        1         reserved VM address space (unallocated)
Stack Guard                          4K        1 
VM_ALLOCATE                          4K        1 
__DATA                            1176K       45 
__DATA_CONST                      5468K       41 
__DATA_DIRTY                        63K       23 
__LINKEDIT                       224.6M        8 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2013K        2 
__TEXT                           329.7M       51 
dyld private memory                420K        4 
shared memory                       16K        2 
===========                     =======  ======= 
TOTAL                              1.6G      683 
TOTAL, minus reserved VM space     1.1G      683 

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

{"app_name":"zig2","timestamp":"2023-09-27 15:28:26.00 +0800","app_version":"","slice_uuid":"00f8d709-9cff-382c-8351-3889cde7faef","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.4.1 (22F82)","roots_installed":0,"incident_id":"A81CF74A-2427-4185-9E2A-F11AC1D561BA","name":"zig2"}
{
  "uptime" : 79000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 841,
  "osVersion" : {
    "train" : "macOS 13.4.1",
    "build" : "22F82",
    "releaseType" : "User"
  },
  "captureTime" : "2023-09-27 15:28:20.8633 +0800",
  "incident" : "A81CF74A-2427-4185-9E2A-F11AC1D561BA",
  "pid" : 16818,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-09-27 15:28:16.7290 +0800",
  "procStartAbsTime" : 79043551275374,
  "procExitAbsTime" : 79047685013642,
  "procName" : "zig2",
  "procPath" : "\/Users\/USER\/*\/zig2",
  "parentProc" : "Exited process",
  "parentPid" : 16817,
  "coalitionName" : "org.alacritty",
  "crashReporterKey" : "D1249EF5-CBA7-C606-E3EE-836D51B6A088",
  "responsiblePid" : 79796,
  "responsibleProc" : "alacritty",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 0,
  "wakeTime" : 24195,
  "bridgeVersion" : {"build":"20P5060","train":"7.5"},
  "sleepWakeUUID" : "B6BB1EC0-3350-45D8-8F24-09CAE776E09D",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4356612096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      103aca000-1150f2000    [278.2M] r-x\/r-x SM=COW  ...s\/USER\/*\/zig2",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":16818},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4356612096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      103aca000-1150f2000    [278.2M] r-x\/r-x SM=COW  ...s\/USER\/*\/zig2",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":693},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":7206662,"instructionState":{"instructionStream":{"bytes":[112,255,255,255,72,137,133,104,255,255,255,72,139,133,104,255,255,255,15,16,0,15,16,72,16,15,41,77,160,15,41,69,144,15,40,69,144,15,40,77,160,72,137,224,15,17,72,16,15,17,0,232,133,125,252,255,72,137,133,56,255,255,255,72,137,149,64,255,255,255,15,16,133,56,255,255,255,15,41,69,240,72,139,69,240,72,139,85,248,72,129,196,240,0,0,0,93,195,102,102,46,15,31,132,0,0,0,0,0,85,72,137,229,72,129,236,240,0,0,0,72,141,69,16,72,139,72,16,72,137,77,192,15,16,0,15,41,69,176,72,141,69,176,72,137,69,232,72,139,69,232,72,139,72,16,72,137,77,224,15,16,0,15,41,69,208,72,139,77,224,72,137,224,72,137,72,16,15,40,69,208,15,17,0,72,141,189,72,255,255,255,232],"offset":96}},"threadState":{"r13":{"value":140701992173152},"rax":{"value":140586265142676},"rflags":{"value":66050},"cpu":{"value":4},"r14":{"value":140701992173168},"rsi":{"value":1152},"r8":{"value":140698833649907},"cr2":{"value":0},"rdx":{"value":51364},"r10":{"value":4},"r9":{"value":4},"r15":{"value":140701992172784},"rbx":{"value":140698833649907},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":18446744073709551568},"rip":{"value":4363922147,"matchesCrashFrame":1},"rbp":{"value":140701992090336},"rsp":{"value":4},"r12":{"value":140701992173096},"rcx":{"value":140701992090008},"flavor":"x86_THREAD_STATE","rdi":{"value":140701992090152}},"queue":"com.apple.main-thread","frames":[{"imageOffset":7310051,"sourceLine":696071,"sourceFile":"zig2.c","symbol":"multi_array_list_MultiArrayList_28InternPool_Item_29_items__anon_102167__102167","imageIndex":0,"symbolLocation":227},{"imageOffset":12024774,"sourceLine":1520346,"sourceFile":"zig2.c","symbol":"InternPool_isRuntimeValue__17743","imageIndex":0,"symbolLocation":118},{"imageOffset":12023946,"sourceLine":1610627,"sourceFile":"zig2.c","symbol":"value_Value_isRuntimeValue__21969","imageIndex":0,"symbolLocation":138},{"imageOffset":12023518,"sourceLine":1237800,"sourceFile":"zig2.c","symbol":"Sema_resolveMaybeUndefValAllowVariablesMaybeRuntime__95074","imageIndex":0,"symbolLocation":2030},{"imageOffset":12020694,"sourceLine":792107,"sourceFile":"zig2.c","symbol":"Sema_resolveMaybeUndefValAllowVariables__95073","imageIndex":0,"symbolLocation":86},{"imageOffset":14767934,"sourceLine":1525594,"sourceFile":"zig2.c","symbol":"Sema_resolveMaybeUndefValIntable__95072","imageIndex":0,"symbolLocation":78},{"imageOffset":17305685,"sourceLine":1540893,"sourceFile":"zig2.c","symbol":"Sema_analyzeArithmetic__95321","imageIndex":0,"symbolLocation":2597},{"imageOffset":13704225,"sourceLine":1170266,"sourceFile":"zig2.c","symbol":"Sema_zirArithmetic__95305","imageIndex":0,"symbolLocation":1201},{"imageOffset":12896444,"sourceLine":766377,"sourceFile":"zig2.c","symbol":"Sema_analyzeBodyInner__95053","imageIndex":0,"symbolLocation":34076},{"imageOffset":12860953,"sourceLine":556582,"sourceFile":"zig2.c","symbol":"Sema_analyzeBodyBreak__95051","imageIndex":0,"symbolLocation":89},{"imageOffset":12923052,"sourceLine":768603,"sourceFile":"zig2.c","symbol":"Sema_analyzeBodyInner__95053","imageIndex":0,"symbolLocation":60684},{"imageOffset":17848496,"sourceLine":1591190,"sourceFile":"zig2.c","symbol":"Sema_resolveBlockBody__95169","imageIndex":0,"symbolLocation":240},{"imageOffset":14190599,"sourceLine":1214737,"sourceFile":"zig2.c","symbol":"Sema_zirBlock__95168","imageIndex":0,"symbolLocation":2967},{"imageOffset":12940509,"sourceLine":769728,"sourceFile":"zig2.c","symbol":"Sema_analyzeBodyInner__95053","imageIndex":0,"symbolLocation":78141},{"imageOffset":12750728,"sourceLine":739284,"sourceFile":"zig2.c","symbol":"Sema_analyzeBody__95049","imageIndex":0,"symbolLocation":72},{"imageOffset":24006900,"sourceLine":740176,"sourceFile":"zig2.c","symbol":"Module_analyzeFnBody__16012","imageIndex":0,"symbolLocation":10212},{"imageOffset":10938986,"sourceLine":547447,"sourceFile":"zig2.c","symbol":"Module_ensureFuncBodyAnalyzed__15989","imageIndex":0,"symbolLocation":810},{"imageOffset":8856618,"sourceLine":426398,"sourceFile":"zig2.c","symbol":"Compilation_processOneJob__4983","imageIndex":0,"symbolLocation":730},{"imageOffset":8703375,"sourceLine":427557,"sourceFile":"zig2.c","symbol":"Compilation_performAllTheWork__4982","imageIndex":0,"symbolLocation":5263},{"imageOffset":8597635,"sourceLine":326679,"sourceFile":"zig2.c","symbol":"Compilation_update__4966","imageIndex":0,"symbolLocation":13411},{"imageOffset":6143854,"sourceLine":335965,"sourceFile":"zig2.c","symbol":"main_updateModule__220","imageIndex":0,"symbolLocation":686},{"imageOffset":5840339,"sourceLine":352554,"sourceFile":"zig2.c","symbol":"main_cmdBuild__227","imageIndex":0,"symbolLocation":25267},{"imageOffset":5598807,"sourceLine":352997,"sourceFile":"zig2.c","symbol":"main_mainArgs__197","imageIndex":0,"symbolLocation":3223},{"imageOffset":5574564,"sourceLine":274063,"sourceFile":"zig2.c","symbol":"main_main__195","imageIndex":0,"symbolLocation":484},{"imageOffset":5573738,"sourceLine":273775,"sourceFile":"zig2.c","symbol":"main","imageIndex":0,"symbolLocation":410},{"imageOffset":25631,"symbol":"start","symbolLocation":1903,"imageIndex":6}]},{"id":7206691,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206692,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206693,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206694,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206695,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206696,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206697,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":7206698,"frames":[{"imageOffset":50082,"symbol":"__ulock_wait2","symbolLocation":10,"imageIndex":7},{"imageOffset":5591023,"sourceLine":1378096,"sourceFile":"zig2.c","symbol":"Thread_Futex_DarwinImpl_wait__155146","imageIndex":0,"symbolLocation":175},{"imageOffset":209074341,"sourceLine":979565,"sourceFile":"zig2.c","symbol":"Thread_Futex_wait__112738","imageIndex":0,"symbolLocation":53},{"imageOffset":209085061,"sourceLine":1787840,"sourceFile":"zig2.c","symbol":"Thread_Futex_Deadline_wait__177760","imageIndex":0,"symbolLocation":117},{"imageOffset":6771471,"sourceLine":1750529,"sourceFile":"zig2.c","symbol":"Thread_Condition_FutexImpl_wait__14998","imageIndex":0,"symbolLocation":671},{"imageOffset":6770746,"sourceLine":1383486,"sourceFile":"zig2.c","symbol":"Thread_Condition_wait__14965","imageIndex":0,"symbolLocation":90},{"imageOffset":6770406,"sourceLine":985304,"sourceFile":"zig2.c","symbol":"Thread_Pool_worker__14929","imageIndex":0,"symbolLocation":486},{"imageOffset":6769901,"sourceLine":690161,"sourceFile":"zig2.c","symbol":"Thread_callFn__anon_101603__101603","imageIndex":0,"symbolLocation":29},{"imageOffset":6769128,"sourceLine":492764,"sourceFile":"zig2.c","symbol":"Thread_PosixThreadImpl_spawn__anon_83535_Instance_entryFn__83553","imageIndex":0,"symbolLocation":40},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4356612096,
    "size" : 291667968,
    "uuid" : "00f8d709-9cff-382c-8351-3889cde7faef",
    "path" : "\/Users\/USER\/*\/zig2",
    "name" : "zig2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4720795648,
    "size" : 11452416,
    "uuid" : "edf174d5-c005-3b6a-817e-5a8d1eba2263",
    "path" : "\/usr\/local\/Cellar\/z3\/4.12.2\/lib\/libz3.4.12.2.0.dylib",
    "name" : "libz3.4.12.2.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4707270656,
    "size" : 884736,
    "uuid" : "a564c714-959a-3f57-9fa4-8d4253388333",
    "path" : "\/usr\/local\/Cellar\/libxml2\/2.11.5\/lib\/libxml2.2.dylib",
    "name" : "libxml2.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4711153664,
    "size" : 1605632,
    "uuid" : "6063ea70-69ae-3733-8f20-fc9fc834fb95",
    "path" : "\/usr\/local\/Cellar\/icu4c\/73.2\/lib\/libicui18n.73.2.dylib",
    "name" : "libicui18n.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4713922560,
    "size" : 1228800,
    "uuid" : "37041e93-a601-3a30-8a20-de3b4f45fb1d",
    "path" : "\/usr\/local\/Cellar\/icu4c\/73.2\/lib\/libicuuc.73.2.dylib",
    "name" : "libicuuc.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4767477760,
    "size" : 32047104,
    "uuid" : "07edd9b5-d303-3543-9bd5-98750f54ffa1",
    "path" : "\/usr\/local\/Cellar\/icu4c\/73.2\/lib\/libicudata.73.2.dylib",
    "name" : "libicudata.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703351136256,
    "size" : 624080,
    "uuid" : "5db85b72-c63a-3182-91e5-5c942ec30e48",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703354413056,
    "size" : 237560,
    "uuid" : "eb4e80a0-99da-32dc-b9ad-394fbb50a0ac",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703354650624,
    "size" : 49152,
    "uuid" : "8cb0b396-011f-31f2-8915-94cde1abae84",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703350513664,
  "size" : 21474836480,
  "uuid" : "e15dc6ac-9320-3b97-95de-b6e917a43ec4"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=554.3M resident=0K(0%) swapped_out_or_unallocated=554.3M(100%)\nWritable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                    8K        1 \nMALLOC                           274.9M      479 \nMALLOC guard page                   16K        4 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                         32K        8 \nStack                            256.1M       10 \nStack (reserved)                 128.0M        1         reserved VM address space (unallocated)\nStack Guard                          4K        1 \nVM_ALLOCATE                          4K        1 \n__DATA                            1176K       45 \n__DATA_CONST                      5468K       41 \n__DATA_DIRTY                        63K       23 \n__LINKEDIT                       224.6M        8 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2013K        2 \n__TEXT                           329.7M       51 \ndyld private memory                420K        4 \nshared memory                       16K        2 \n===========                     =======  ======= \nTOTAL                              1.6G      683 \nTOTAL, minus reserved VM space     1.1G      683 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "4620c4d96973096b423bfd4aebf529d75f302183",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 240000014
    },
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000401
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "3a3cf641-8471-4e4e-9ad4-81d0ede970fd",
      "experimentId" : "64a84dae90d82611a0bd7d3d",
      "deploymentId" : 400000010
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}
kubkon commented 7 months ago

I have recently completely revamped MachO code - would you mind trying again and see if it still segfaults for you @jrachele ?