fabiangreffrath / woof

Woof! is a continuation of the Boom/MBF bloodline of Doom source ports.
GNU General Public License v2.0
216 stars 37 forks source link

macOS (homebrew build) crash on loading savegames #1330

Closed DeusDenton closed 9 months ago

DeusDenton commented 11 months ago

I'm using the latest build (12.0.2) on macOS on arm64, installed via brew. I'm not sure who maintains this package - if it's not you, please do tell me to go away :)

The game crashes when loading any savegame, including ones it just made. This happens regardless of which iwads and pwads are loaded.

[1] 38562 bus error woof

Any ideas? Thanks!

fabiangreffrath commented 11 months ago

I'm using the latest build (12.0.2) on macOS on arm64, installed via brew. I'm not sure who maintains this package - if it's not you, please do tell me to go away :)

Indeed, we have nothing to do with the homebrew build, but you are welcome to stay nevertheless. πŸ˜‰

[1] 38562 bus error woof

This is a bit sparse information. Any chance to run the game in a debugger and catch the crash?

fabiangreffrath commented 11 months ago

Maybe @mikeday0 has an idea?

DeusDenton commented 11 months ago

Thanks for trying anyway :) My bad - full crash log below - should have posted this before. Is this of any help? If not, I'll try running it through some debug tools.

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

Process:               woof [39108]
Path:                  /opt/homebrew/*/woof
Identifier:            woof
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        zsh [38068]
Responsible:           iTerm2 [1285]
User ID:               501

Date/Time:             2023-12-14 09:10:28.3304 +0000
OS Version:            macOS 14.2 (23C64)
Report Version:        12
Anonymous UUID:        AF5546DF-8ED2-0988-CB72-88FF569BBCB4

Time Awake Since Boot: 84000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x000000511004eec0
Exception Codes:       0x0000000000000002, 0x000000511004eec0

Termination Reason:    Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process:   exc handler [39108]

VM Region Info: 0x511004eec0 is in 0x1000000000-0x7000000000;  bytes after start: 279441632960  bytes before end: 132875227455
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---/--- SM=NUL  ...(unallocated)
--->  GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---/--- SM=NUL  ...(unallocated)
      GAP OF 0x5f9000000000 BYTES
      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-/rwx SM=PRV  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   woof                                   0x1027cb094 P_UnArchiveSpecials + 436
1   woof                                   0x10278aa7c G_Ticker + 3748
2   woof                                   0x10278224c TryRunTics + 1084
3   woof                                   0x1027852f8 D_DoomMain + 6832
4   woof                                   0x1027942cc main + 108
5   dyld                                   0x18d1810e0 start + 2360

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

Thread 2:
0   libsystem_pthread.dylib                0x18d4fce28 start_wqthread + 0

Thread 3:: caulk.messenger.shared:17
0   libsystem_kernel.dylib                 0x18d4c17f0 semaphore_wait_trap + 8
1   caulk                                  0x197888690 caulk::semaphore::timed_wait(double) + 212
2   caulk                                  0x197888544 caulk::concurrent::details::worker_thread::run() + 36
3   caulk                                  0x197888244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
5   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 4:: caulk.messenger.shared:high
0   libsystem_kernel.dylib                 0x18d4c17f0 semaphore_wait_trap + 8
1   caulk                                  0x197888690 caulk::semaphore::timed_wait(double) + 212
2   caulk                                  0x197888544 caulk::concurrent::details::worker_thread::run() + 36
3   caulk                                  0x197888244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
5   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 5:: caulk::deferred_logger
0   libsystem_kernel.dylib                 0x18d4c17f0 semaphore_wait_trap + 8
1   caulk                                  0x197888690 caulk::semaphore::timed_wait(double) + 212
2   caulk                                  0x197888544 caulk::concurrent::details::worker_thread::run() + 36
3   caulk                                  0x197888244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
5   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 6:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib                 0x18d4c1874 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x18d4d3cf0 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18d4ca4b0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x18d4c1bf8 mach_msg + 24
4   CoreAudio                              0x18fe4bca0 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 96
5   CoreAudio                              0x18fd22b84 HALC_ProxyIOContext::IOWorkLoop() + 4260
6   CoreAudio                              0x18fd213b0 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 108
7   CoreAudio                              0x18fea0564 HALC_IOThread::Entry(void*) + 88
8   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
9   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 7:
0   libsystem_kernel.dylib                 0x18d4c17f0 semaphore_wait_trap + 8
1   libdispatch.dylib                      0x18d350eac _dispatch_sema4_wait + 28
2   libdispatch.dylib                      0x18d35155c _dispatch_semaphore_wait_slow + 132
3   libopenal.1.23.1.dylib                 0x1030ff08c EventThread(ALCcontext*) + 784
4   libopenal.1.23.1.dylib                 0x1030ff57c void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, int (*)(ALCcontext*), ALCcontext*>>(void*) + 52
5   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
6   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 8:
0   libsystem_pthread.dylib                0x18d4fce28 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib                0x18d4fce28 start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib                0x18d4fce28 start_wqthread + 0

Thread 11:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x18d4c1874 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x18d4d3cf0 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18d4ca4b0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x18d4c1bf8 mach_msg + 24
4   CoreFoundation                         0x18d5dfbf4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18d5de4bc __CFRunLoopRun + 1208
6   CoreFoundation                         0x18d5dd9ac CFRunLoopRunSpecific + 608
7   AppKit                                 0x190ee4510 _NSEventThread + 144
8   libsystem_pthread.dylib                0x18d502034 _pthread_start + 136
9   libsystem_pthread.dylib                0x18d4fce3c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000600003a48208   x1: 0x0000000084631004   x2: 0x00000000000000a0   x3: 0x0000000000000009
    x4: 0x0000000000000001   x5: 0x00000000000001e0   x6: 0x0000600003a481e0   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x000000511004ee28  x10: 0x000000015806b9f8  x11: 0x0000000000000000
   x12: 0x00006000009552e8  x13: 0x00000000001ff800  x14: 0x00000000000007fb  x15: 0x0000000084631004
   x16: 0x0000000000000003  x17: 0x0000000084830ffb  x18: 0x0000000000000000  x19: 0x00000001027d2c34
   x20: 0x00000001027c156c  x21: 0x0000600003a48208  x22: 0x00000001028c0350  x23: 0x00000001028c0400
   x24: 0x00000001027bb5c0  x25: 0x00000001028c0660  x26: 0x000000010283d1f0  x27: 0x00000001027d2e78
   x28: 0x0000000000000140   fp: 0x000000016d68b170   lr: 0x00000001027cafa0
    sp: 0x000000016d68b110   pc: 0x00000001027cb094 cpsr: 0x60001000
   far: 0x000000511004eec0  esr: 0x92000045 (Data Abort) byte write Translation fault

Binary Images:
       0x10e5f0000 -        0x10e5fbfff libobjc-trampolines.dylib (*) <7778e0d7-361a-378d-9438-3b2bb48c2154> /usr/lib/libobjc-trampolines.dylib
       0x105a0c000 -        0x105b43fff com.apple.audio.units.Components (1.14) <06275638-4d71-370d-bf96-b30a567270e1> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
       0x102ff8000 -        0x102ffbfff libSDL2_net-2.0.0.dylib (*) <6ddec3f7-de66-31f3-bba8-ec75df9bd7e3> /opt/homebrew/*/libSDL2_net-2.0.0.dylib
       0x1030ec000 -        0x10318bfff libopenal.1.23.1.dylib (*) <13ee9e7f-7180-322d-937e-c9ad26c94858> /opt/homebrew/*/libopenal.1.23.1.dylib
       0x103244000 -        0x10329ffff libsndfile.1.0.37.dylib (*) <f2123a1c-55a3-39e7-a860-2d2f5edaf17d> /opt/homebrew/*/libsndfile.1.0.37.dylib
       0x1032bc000 -        0x103303fff libfluidsynth.3.2.2.dylib (*) <078bf9bd-c765-3361-bf1d-beebae3793e8> /opt/homebrew/*/libfluidsynth.3.2.2.dylib
       0x103380000 -        0x1033e7fff libxmp.4.dylib (*) <4115d8e6-8d0f-31de-987f-6a23602af026> /opt/homebrew/*/libxmp.4.dylib
       0x10357c000 -        0x10368ffff libSDL2-2.0.0.dylib (*) <4fa6f1fe-d90d-306d-a243-dc6a4acc6458> /opt/homebrew/*/libSDL2-2.0.0.dylib
       0x103020000 -        0x103027fff libogg.0.8.5.dylib (*) <034f056a-21a2-38df-8083-3d71bd6d0f1f> /opt/homebrew/*/libogg.0.8.5.dylib
       0x103400000 -        0x103477fff libvorbisenc.2.dylib (*) <fe001fda-1412-3c4f-b7a3-b75a91f22d37> /opt/homebrew/*/libvorbisenc.2.dylib
       0x103074000 -        0x10309bfff libFLAC.12.dylib (*) <dd80a021-746a-37d9-8fec-aa632d2699ee> /opt/homebrew/*/libFLAC.12.dylib
       0x103508000 -        0x10354bfff libopus.0.dylib (*) <18d8ad2b-9f79-3596-b941-1f32dcbee214> /opt/homebrew/*/libopus.0.dylib
       0x1036f8000 -        0x10372ffff libmpg123.0.dylib (*) <8c9e8201-8a2e-3e6c-be33-ad945642381e> /opt/homebrew/*/libmpg123.0.dylib
       0x103744000 -        0x103777fff libmp3lame.0.dylib (*) <3a72093f-1e3b-385a-841e-faf56748ee12> /opt/homebrew/*/libmp3lame.0.dylib
       0x1030b4000 -        0x1030d7fff libvorbis.0.dylib (*) <5f833549-f8dc-35c3-b379-03b1672e8bac> /opt/homebrew/*/libvorbis.0.dylib
       0x1038e4000 -        0x1039d3fff libglib-2.0.0.dylib (*) <c3c3f473-6698-3b0d-8607-0f468b6c4b63> /opt/homebrew/*/libglib-2.0.0.dylib
       0x10300c000 -        0x10300ffff libgthread-2.0.0.dylib (*) <8259d5ae-290d-3e70-ab80-8cc5c0ea504f> /opt/homebrew/*/libgthread-2.0.0.dylib
       0x1034b4000 -        0x1034cbfff libintl.8.dylib (*) <00fe864a-7259-3f14-8dc2-ad6e85504fef> /opt/homebrew/*/libintl.8.dylib
       0x1034dc000 -        0x1034ebfff libportaudio.2.dylib (*) <c612e3d9-7e9e-3275-8d96-9bbb84dc5e59> /opt/homebrew/*/libportaudio.2.dylib
       0x10380c000 -        0x103837fff libreadline.8.2.dylib (*) <92bb0617-b270-3c78-a2cc-66f80de3b979> /opt/homebrew/*/libreadline.8.2.dylib
       0x103a0c000 -        0x103a7ffff libpcre2-8.0.dylib (*) <a02c2f70-1f04-38dc-ab6d-41d8b391cb88> /opt/homebrew/*/libpcre2-8.0.dylib
       0x102774000 -        0x102867fff woof (*) <42753529-d841-367e-8879-10a88cb82612> /opt/homebrew/*/woof
       0x18d17b000 -        0x18d20f347 dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18d4fb000 -        0x18d507ff3 libsystem_pthread.dylib (*) <a7d94c96-7b1f-3229-9bea-048d037c3292> /usr/lib/system/libsystem_pthread.dylib
       0x18d4c0000 -        0x18d4fafff libsystem_kernel.dylib (*) <ca94fc21-bc40-3b43-b65d-b87ece9e1d48> /usr/lib/system/libsystem_kernel.dylib
       0x197886000 -        0x1978affff com.apple.audio.caulk (1.0) <25e50b84-b506-3db7-9a91-3824b9b8b880> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
       0x18fb38000 -        0x19022afff com.apple.audio.CoreAudio (5.0) <2c54c60c-a5af-39f4-8286-0cb88fa43367> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
       0x18d34d000 -        0x18d393fff libdispatch.dylib (*) <a53d555d-f748-3010-83fe-385c660a81bd> /usr/lib/system/libdispatch.dylib
       0x18d562000 -        0x18da39fff com.apple.CoreFoundation (6.9) <47e4ec09-8f6e-30a8-99d0-34024d4f8122> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x190d81000 -        0x19209bfff com.apple.AppKit (6.9) <f3527312-e426-3f7c-b77b-2bf49d1b7c04> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG image                           352K        2 
ColorSync                          592K       29 
CoreAnimation                      208K       13 
CoreGraphics                        32K        2 
Foundation                          48K        2 
Image IO                            16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                             1.5G       54 
MALLOC guard page                  192K       12 
STACK GUARD                       56.2M       12 
Stack                             13.8M       12 
VM_ALLOCATE                        736K       18 
__AUTH                            1724K      316 
__AUTH_CONST                      23.7M      513 
__CTF                               824        1 
__DATA                            10.3M      519 
__DATA_CONST                      27.0M      539 
__DATA_DIRTY                      1502K      172 
__FONT_DATA                          4K        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       893.4M       23 
__OBJC_RO                         71.1M        1 
__OBJC_RW                         2168K        1 
__TEXT                           488.2M      554 
dyld private memory                272K        2 
mapped file                      180.0M       26 
shared memory                      912K       14 
===========                     =======  ======= 
TOTAL                              3.2G     2844 

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

{"app_name":"woof","timestamp":"2023-12-14 09:10:30.00 +0000","app_version":"","slice_uuid":"42753529-d841-367e-8879-10a88cb82612","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.2 (23C64)","roots_installed":0,"incident_id":"2FCEA903-E73A-4C3A-A0DC-13C1E6933C25","name":"woof"}
{
  "uptime" : 84000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac14,3",
  "coalitionID" : 914,
  "osVersion" : {
    "train" : "macOS 14.2",
    "build" : "23C64",
    "releaseType" : "User"
  },
  "captureTime" : "2023-12-14 09:10:28.3304 +0000",
  "codeSigningMonitor" : 1,
  "incident" : "2FCEA903-E73A-4C3A-A0DC-13C1E6933C25",
  "pid" : 39108,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-12-14 09:10:22.9201 +0000",
  "procStartAbsTime" : 2037128801805,
  "procExitAbsTime" : 2037255537790,
  "procName" : "woof",
  "procPath" : "\/opt\/homebrew\/*\/woof",
  "parentProc" : "zsh",
  "parentPid" : 38068,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "AF5546DF-8ED2-0988-CB72-88FF569BBCB4",
  "responsiblePid" : 1285,
  "responsibleProc" : "iTerm2",
  "codeSigningID" : "woof-5555494442753529d841367e887910a88cb82612",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570425857,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"CilAuapiALkKLUC5qmYAuQoxQLmqagC5CuEAkQg1gLnKAgD5qDoA+Q==","atPC":"NU0A+agKQPmIAAC0KP\/\/sAhRP5GoCgD54AMVqvclAJTgAxWq2Jj\/lw=="},
  "sip" : "enabled",
  "vmRegionInfo" : "0x511004eec0 is in 0x1000000000-0x7000000000;  bytes after start: 279441632960  bytes before end: 132875227455\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n      GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV  ",
  "exception" : {"codes":"0x0000000000000002, 0x000000511004eec0","rawCodes":[2,348161109696],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x000000511004eec0"},
  "termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":39108},
  "vmregioninfo" : "0x511004eec0 is in 0x1000000000-0x7000000000;  bytes after start: 279441632960  bytes before end: 132875227455\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n      GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV  ",
  "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":1886424,"threadState":{"x":[{"value":105553177379336},{"value":2221084676},{"value":160},{"value":9},{"value":1},{"value":480},{"value":105553177379296},{"value":0},{"value":0},{"value":348161109544},{"value":5771803128},{"value":0},{"value":105553126052584},{"value":2095104},{"value":2043},{"value":2221084676},{"value":3},{"value":2223181819},{"value":0},{"value":4336725044,"symbolLocation":0,"symbol":"T_Friction"},{"value":4336653676,"symbolLocation":0,"symbol":"P_MobjThinker"},{"value":105553177379336},{"value":4337697616,"symbolLocation":0,"symbol":"save_p"},{"value":4337697792,"symbolLocation":0,"symbol":"sectors"},{"value":4336629184,"symbolLocation":0,"symbol":"T_FireFlicker"},{"value":4337698400,"symbolLocation":0,"symbol":"thinkercap"},{"value":4337160688,"symbolLocation":84,"symbol":"recoil_values"},{"value":4336725624,"symbolLocation":0,"symbol":"T_Pusher"},{"value":320}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4336693152},"cpsr":{"value":1610616832},"fp":{"value":6130545008},"sp":{"value":6130544912},"esr":{"value":2449473605,"description":"(Data Abort) byte write Translation fault"},"pc":{"value":4336693396,"matchesCrashFrame":1},"far":{"value":348161109696}},"queue":"com.apple.main-thread","frames":[{"imageOffset":356500,"symbol":"P_UnArchiveSpecials","symbolLocation":436,"imageIndex":21},{"imageOffset":92796,"symbol":"G_Ticker","symbolLocation":3748,"imageIndex":21},{"imageOffset":57932,"symbol":"TryRunTics","symbolLocation":1084,"imageIndex":21},{"imageOffset":70392,"symbol":"D_DoomMain","symbolLocation":6832,"imageIndex":21},{"imageOffset":131788,"symbol":"main","symbolLocation":108,"imageIndex":21},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":22}]},{"id":1886443,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":24}],"threadState":{"x":[{"value":6131101696},{"value":8707},{"value":6130565120},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6131101696},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665784872},"far":{"value":0}}},{"id":1886444,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":24}],"threadState":{"x":[{"value":6131675136},{"value":12291},{"value":6131138560},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6131675136},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665784872},"far":{"value":0}}},{"id":1886445,"name":"caulk.messenger.shared:17","threadState":{"x":[{"value":14},{"value":105553128157242},{"value":0},{"value":6132248682},{"value":105553128157216},{"value":25},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8268352328},{"value":0},{"value":105553166929808},{"value":105553166929808},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6837274256},"cpsr":{"value":2147487744},"fp":{"value":6132248448},"sp":{"value":6132248416},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541616},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":26},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":26},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":26},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}]},{"id":1886446,"name":"caulk.messenger.shared:high","threadState":{"x":[{"value":14},{"value":14083},{"value":14083},{"value":11},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":1},{"value":105553121847192},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8268352328},{"value":0},{"value":105553166928352},{"value":105553166928352},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6837274256},"cpsr":{"value":2147487744},"fp":{"value":6132821888},"sp":{"value":6132821856},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541616},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":26},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":26},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":26},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}]},{"id":1886506,"name":"caulk::deferred_logger","threadState":{"x":[{"value":14},{"value":105553165881207},{"value":0},{"value":6133395559},{"value":105553165881184},{"value":22},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8268352328},{"value":0},{"value":105553168974104},{"value":105553168974104},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6837274256},"cpsr":{"value":2147487744},"fp":{"value":6133395328},"sp":{"value":6133395296},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541616},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":26},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":26},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":26},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}]},{"id":1886507,"name":"com.apple.audio.IOThread.client","threadState":{"x":[{"value":268451845},{"value":17179869187},{"value":103079215123},{"value":62467},{"value":1576252997632},{"value":269393233707008},{"value":32},{"value":0},{"value":18446744073709550527},{"value":62723},{"value":367},{"value":1},{"value":62723},{"value":4340961280},{"value":0},{"value":974018052096000},{"value":18446744073709551569},{"value":8268346832},{"value":0},{"value":0},{"value":32},{"value":269393233707008},{"value":1576252997632},{"value":62467},{"value":6133968080},{"value":103079215123},{"value":17179869187},{"value":17179869187},{"value":3}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6665616624},"cpsr":{"value":536875008},"fp":{"value":6133967744},"sp":{"value":6133967664},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541748},"far":{"value":0}},"frames":[{"imageOffset":6260,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":81136,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":25},{"imageOffset":42160,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":25},{"imageOffset":7160,"symbol":"mach_msg","symbolLocation":24,"imageIndex":25},{"imageOffset":3226784,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":96,"imageIndex":27},{"imageOffset":2009988,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":4260,"imageIndex":27},{"imageOffset":2003888,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":108,"imageIndex":27},{"imageOffset":3573092,"symbol":"HALC_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":27},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}]},{"id":1886564,"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":16044,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":28},{"imageOffset":17756,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":28},{"imageOffset":77964,"symbol":"EventThread(ALCcontext*)","symbolLocation":784,"imageIndex":3},{"imageOffset":79228,"symbol":"void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, int (*)(ALCcontext*), ALCcontext*>>(void*)","symbolLocation":52,"imageIndex":3},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}],"threadState":{"x":[{"value":14},{"value":8589934595},{"value":171798697235},{"value":264995187196419},{"value":14680198217728},{"value":264995187195904},{"value":48},{"value":0},{"value":0},{"value":1},{"value":0},{"value":0},{"value":4697653312},{"value":512},{"value":4697653312},{"value":512},{"value":18446744073709551580},{"value":8182570984},{"value":0},{"value":105553158589712},{"value":105553158589648},{"value":18446744073709551615},{"value":0},{"value":4697653248},{"value":0},{"value":0},{"value":4294967295},{"value":6134541856},{"value":1}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6664031916},"cpsr":{"value":1610616832},"fp":{"value":6134541728},"sp":{"value":6134541712},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541616},"far":{"value":0}}},{"id":1886595,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":24}],"threadState":{"x":[{"value":6135115776},{"value":78851},{"value":6134579200},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6135115776},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665784872},"far":{"value":0}}},{"id":1886604,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":24}],"threadState":{"x":[{"value":6135689216},{"value":78595},{"value":6135152640},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6135689216},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665784872},"far":{"value":0}}},{"id":1886607,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":24}],"threadState":{"x":[{"value":6136262656},{"value":0},{"value":6135726080},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6136262656},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6665784872},"far":{"value":0}}},{"id":1886649,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":330983064731648},{"value":0},{"value":330983064731648},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":77063},{"value":0},{"value":1},{"value":77063},{"value":30419},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8268346832},{"value":0},{"value":4294967295},{"value":2},{"value":330983064731648},{"value":0},{"value":330983064731648},{"value":6136832104},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6665616624},"cpsr":{"value":4096},"fp":{"value":6136831952},"sp":{"value":6136831872},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6665541748},"far":{"value":0}},"frames":[{"imageOffset":6260,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":25},{"imageOffset":81136,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":25},{"imageOffset":42160,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":25},{"imageOffset":7160,"symbol":"mach_msg","symbolLocation":24,"imageIndex":25},{"imageOffset":515060,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":29},{"imageOffset":509116,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":29},{"imageOffset":506284,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":29},{"imageOffset":1455376,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":30},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":24},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":24}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4536074240,
    "size" : 49152,
    "uuid" : "7778e0d7-361a-378d-9438-3b2bb48c2154",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4389388288,
    "CFBundleShortVersionString" : "1.14",
    "CFBundleIdentifier" : "com.apple.audio.units.Components",
    "size" : 1277952,
    "uuid" : "06275638-4d71-370d-bf96-b30a567270e1",
    "path" : "\/System\/Library\/Components\/CoreAudio.component\/Contents\/MacOS\/CoreAudio",
    "name" : "CoreAudio",
    "CFBundleVersion" : "1.14"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4345266176,
    "size" : 16384,
    "uuid" : "6ddec3f7-de66-31f3-bba8-ec75df9bd7e3",
    "path" : "\/opt\/homebrew\/*\/libSDL2_net-2.0.0.dylib",
    "name" : "libSDL2_net-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4346265600,
    "size" : 655360,
    "uuid" : "13ee9e7f-7180-322d-937e-c9ad26c94858",
    "path" : "\/opt\/homebrew\/*\/libopenal.1.23.1.dylib",
    "name" : "libopenal.1.23.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4347674624,
    "size" : 376832,
    "uuid" : "f2123a1c-55a3-39e7-a860-2d2f5edaf17d",
    "path" : "\/opt\/homebrew\/*\/libsndfile.1.0.37.dylib",
    "name" : "libsndfile.1.0.37.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4348166144,
    "size" : 294912,
    "uuid" : "078bf9bd-c765-3361-bf1d-beebae3793e8",
    "path" : "\/opt\/homebrew\/*\/libfluidsynth.3.2.2.dylib",
    "name" : "libfluidsynth.3.2.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4348968960,
    "size" : 425984,
    "uuid" : "4115d8e6-8d0f-31de-987f-6a23602af026",
    "path" : "\/opt\/homebrew\/*\/libxmp.4.dylib",
    "name" : "libxmp.4.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4351049728,
    "size" : 1130496,
    "uuid" : "4fa6f1fe-d90d-306d-a243-dc6a4acc6458",
    "path" : "\/opt\/homebrew\/*\/libSDL2-2.0.0.dylib",
    "name" : "libSDL2-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4345430016,
    "size" : 32768,
    "uuid" : "034f056a-21a2-38df-8083-3d71bd6d0f1f",
    "path" : "\/opt\/homebrew\/*\/libogg.0.8.5.dylib",
    "name" : "libogg.0.8.5.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4349493248,
    "size" : 491520,
    "uuid" : "fe001fda-1412-3c4f-b7a3-b75a91f22d37",
    "path" : "\/opt\/homebrew\/*\/libvorbisenc.2.dylib",
    "name" : "libvorbisenc.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4345774080,
    "size" : 163840,
    "uuid" : "dd80a021-746a-37d9-8fec-aa632d2699ee",
    "path" : "\/opt\/homebrew\/*\/libFLAC.12.dylib",
    "name" : "libFLAC.12.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4350574592,
    "size" : 278528,
    "uuid" : "18d8ad2b-9f79-3596-b941-1f32dcbee214",
    "path" : "\/opt\/homebrew\/*\/libopus.0.dylib",
    "name" : "libopus.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4352606208,
    "size" : 229376,
    "uuid" : "8c9e8201-8a2e-3e6c-be33-ad945642381e",
    "path" : "\/opt\/homebrew\/*\/libmpg123.0.dylib",
    "name" : "libmpg123.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4352917504,
    "size" : 212992,
    "uuid" : "3a72093f-1e3b-385a-841e-faf56748ee12",
    "path" : "\/opt\/homebrew\/*\/libmp3lame.0.dylib",
    "name" : "libmp3lame.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4346036224,
    "size" : 147456,
    "uuid" : "5f833549-f8dc-35c3-b379-03b1672e8bac",
    "path" : "\/opt\/homebrew\/*\/libvorbis.0.dylib",
    "name" : "libvorbis.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4354621440,
    "size" : 983040,
    "uuid" : "c3c3f473-6698-3b0d-8607-0f468b6c4b63",
    "path" : "\/opt\/homebrew\/*\/libglib-2.0.0.dylib",
    "name" : "libglib-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4345348096,
    "size" : 16384,
    "uuid" : "8259d5ae-290d-3e70-ab80-8cc5c0ea504f",
    "path" : "\/opt\/homebrew\/*\/libgthread-2.0.0.dylib",
    "name" : "libgthread-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4350230528,
    "size" : 98304,
    "uuid" : "00fe864a-7259-3f14-8dc2-ad6e85504fef",
    "path" : "\/opt\/homebrew\/*\/libintl.8.dylib",
    "name" : "libintl.8.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4350394368,
    "size" : 65536,
    "uuid" : "c612e3d9-7e9e-3275-8d96-9bbb84dc5e59",
    "path" : "\/opt\/homebrew\/*\/libportaudio.2.dylib",
    "name" : "libportaudio.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4353736704,
    "size" : 180224,
    "uuid" : "92bb0617-b270-3c78-a2cc-66f80de3b979",
    "path" : "\/opt\/homebrew\/*\/libreadline.8.2.dylib",
    "name" : "libreadline.8.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4355833856,
    "size" : 475136,
    "uuid" : "a02c2f70-1f04-38dc-ab6d-41d8b391cb88",
    "path" : "\/opt\/homebrew\/*\/libpcre2-8.0.dylib",
    "name" : "libpcre2-8.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4336336896,
    "size" : 999424,
    "uuid" : "42753529-d841-367e-8879-10a88cb82612",
    "path" : "\/opt\/homebrew\/*\/woof",
    "name" : "woof"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6662107136,
    "size" : 607048,
    "uuid" : "324e4ad9-e01f-3183-b09f-3e20b326643a",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6665777152,
    "size" : 53236,
    "uuid" : "a7d94c96-7b1f-3229-9bea-048d037c3292",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6665535488,
    "size" : 241664,
    "uuid" : "ca94fc21-bc40-3b43-b65d-b87ece9e1d48",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6837264384,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.audio.caulk",
    "size" : 172032,
    "uuid" : "25e50b84-b506-3db7-9a91-3824b9b8b880",
    "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
    "name" : "caulk"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6705872896,
    "CFBundleShortVersionString" : "5.0",
    "CFBundleIdentifier" : "com.apple.audio.CoreAudio",
    "size" : 7286784,
    "uuid" : "2c54c60c-a5af-39f4-8286-0cb88fa43367",
    "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio",
    "name" : "CoreAudio",
    "CFBundleVersion" : "5.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6664015872,
    "size" : 290816,
    "uuid" : "a53d555d-f748-3010-83fe-385c660a81bd",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6666199040,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5079040,
    "uuid" : "47e4ec09-8f6e-30a8-99d0-34024d4f8122",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2202"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6725046272,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 20033536,
    "uuid" : "f3527312-e426-3f7c-b77b-2bf49d1b7c04",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.30.108"
  }
],
  "sharedCache" : {
  "base" : 6661357568,
  "size" : 4061216768,
  "uuid" : "9787f614-d6d0-32d2-ac62-6596e786e862"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nCG image                           352K        2 \nColorSync                          592K       29 \nCoreAnimation                      208K       13 \nCoreGraphics                        32K        2 \nFoundation                          48K        2 \nImage IO                            16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                             1.5G       54 \nMALLOC guard page                  192K       12 \nSTACK GUARD                       56.2M       12 \nStack                             13.8M       12 \nVM_ALLOCATE                        736K       18 \n__AUTH                            1724K      316 \n__AUTH_CONST                      23.7M      513 \n__CTF                               824        1 \n__DATA                            10.3M      519 \n__DATA_CONST                      27.0M      539 \n__DATA_DIRTY                      1502K      172 \n__FONT_DATA                          4K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       893.4M       23 \n__OBJC_RO                         71.1M        1 \n__OBJC_RW                         2168K        1 \n__TEXT                           488.2M      554 \ndyld private memory                272K        2 \nmapped file                      180.0M       26 \nshared memory                      912K       14 \n===========                     =======  ======= \nTOTAL                              3.2G     2844 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "63e9502950437cff6e55280aac1a353806b31fbb",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6246d6a916a70b047e454124",
      "factorPackIds" : {

      },
      "deploymentId" : 240000010
    },
    {
      "rolloutId" : "63f9578e238e7b23a1f3030a",
      "factorPackIds" : {

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

  ]
}
}
rfomin commented 11 months ago

We don't have debug symbols on macOS, right? It's hard to get the line number from this P_UnArchiveSpecials + 436.

Can you build Woof from source? Here are the commands:

brew install git ninja cmake sdl2 sdl2_net openal-soft libsndfile fluid-synth libxmp
git clone https://github.com/fabiangreffrath/woof.git
cd woof
cmake -B build -G Ninja
cmake --build build

You will get executable in /woof/build/src directory.

Pedro-Beirao commented 11 months ago

Just tested with a local build. Its only crashing after make install is executed. I'll try to find the reason that this is happening (nvm I wasnt testing it correctly)

It doesnt crash with a local build

DeusDenton commented 11 months ago

@rfomin - interesting - I built from source and that build works fine. So it's clearly something with the homebrew build :)

rfomin commented 11 months ago

Thanks for testing! Hmm Homebrew formula looks simple: https://github.com/Homebrew/homebrew-core/blob/master/Formula/w/woof-doom.rb I'm not sure what's wrong here. Maybe cmake --install build not working?

fabiangreffrath commented 11 months ago

But why would it crash with a bus error then?

rfomin commented 11 months ago

But why would it crash with a bus error then?

Maybe it can't find something in the autoload or port directories. Then it's a bug.

mikeday0 commented 11 months ago

No crash when loading a game with the Homebrew Woof 12.0.2 Intel Monterey build.

mikeday0 commented 11 months ago

@DeusDenton @Pedro-Beirao What happens if you install Woof using brew install woof-doom --build-from-source?

Pedro-Beirao commented 11 months ago

@DeusDenton @Pedro-Beirao What happens if you install Woof using brew install woof-doom --build-from-source?

It does not crash that way

I would also like to say that using make install on a local build, installs woof to a path only used by x64 binaries, even though Im compiling to arm64. I think I'll try to make a PR to fix that maybe this weekend

DeusDenton commented 11 months ago

@DeusDenton @Pedro-Beirao What happens if you install Woof using brew install woof-doom --build-from-source?

Still crashes the same way when loading a savegame. I wonder if it's this particular machine. I will test on my Macbook later.

Edit: exactly the same crash on my M1 Macbook Air using the Homebrew build.

mikeday0 commented 11 months ago

Next thing to try is:

brew uninstall woof-doom
brew install woof-doom --HEAD

You never said earlier but I assume you didn't see any crashing with the Woof 12.0.0 Homebrew binary?

DeusDenton commented 11 months ago

Next thing to try is:

brew uninstall woof-doom
brew install woof-doom --HEAD

You never said earlier but I assume you didn't see any crashing with the Woof 12.0.0 Homebrew binary?

Error: No head is defined for woof-doom.

I never tried woof-doom before the current build I'm afraid, I've been on the hunt for new source ports while playing a bunch of WADs from this year's cacowards.

There clearly is something odd about the homebrew build. The binary I built from source works great.

fabiangreffrath commented 11 months ago

Our CI only covers macos on Intel, right? Is there a way to extend this to ARM as well?

rfomin commented 11 months ago

Our CI only covers macos on Intel, right? Is there a way to extend this to ARM as well?

Looks like they're not free: https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

mikeday0 commented 11 months ago

@DeusDenton

Sorry to bother again, but can you try these steps? First:

brew uninstall woof-doom
brew install woof-doom --build-from source

See if this crashes. I know this is the same thing I had you do before, but this time I want to make sure that the Homebrew binary (the "bottle" in Homebrew parlance) isn't still on your system.

Then, I want you to try building from the release tag in the git repo. Run:

git clone https://github.com/fabiangreffrath/woof.git
cd woof
git checkout woof_12.0.2
cmake -B build -G Ninja
cmake --build build

Then run the executable in ./build/src and see if it crashes.

DeusDenton commented 11 months ago

No problem, happy to help you solve this one!

Uninstalling the brew build and reinstalling with --build-from-source didn't fix it.

I was able to build from source from the git tree previously but trying on the woof_12.0.2 tag it's complaining about openAL being missing πŸ€”

DeusDenton commented 11 months ago

cmake on the latest tree:

-- Found OpenAL: /opt/homebrew/Cellar/openal-soft/1.23.1/lib/libopenal.dylib

cmake on the 12.0.2 tag:

Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.28.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)

mikeday0 commented 11 months ago

Trying running export PKG_CONFIG_PATH="/opt/homebrew/opt/openal-soft/lib/pkgconfig" before the cmake step. (This issue has been kindly fixed by @Pedro-Beirao in master already but not in the 12.0.2 tag. That's why you didn't see it earlier.)

DeusDenton commented 11 months ago

Trying running export PKG_CONFIG_PATH="/opt/homebrew/opt/openal-soft/lib/pkgconfig" before the cmake step. (This issue has been kindly fixed by @Pedro-Beirao in master already but not in the 12.0.2 tag. That's why you didn't see it earlier.)

Ah, nice!

Builds, runs, loads savegames without crashing.

Pedro-Beirao commented 11 months ago

Using --build-from-source worked for me. I really dont understand how it could be crashing for you.

Can you do "which woof" to check if you are running the correct binary?

mikeday0 commented 11 months ago

I think the next step is to run:

brew uninstall woof-doom
brew install --build-from-source --debug-symbols woof-doom

And then see if we can capture anything useful for Fabian and rfomin from the crash.

fabiangreffrath commented 10 months ago

Does this remain unreproducible?

fabiangreffrath commented 10 months ago
git clone https://github.com/fabiangreffrath/woof.git
cd woof
git checkout woof_12.0.2
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build

@DeusDenton What if you add -DCMAKE_BUILD_TYPE=Release to the first cmake invocation?

PS: Because that's what Homebrew uses by default: https://github.com/Homebrew/brew/blob/21a6f93cc4839377f0bc2a0782181c91ad9643c5/Library/Homebrew/formula.rb#L1648

rfomin commented 10 months ago

P_UnArchiveSpecials + 436

This may be the problem (size_t is unsigned, perhaps this code does not work in release build):

diff --git a/src/p_saveg.c b/src/p_saveg.c
index 9d79d92..cd9661e 100644
--- a/src/p_saveg.c
+++ b/src/p_saveg.c
@@ -2595,7 +2595,7 @@ void P_UnArchiveSpecials (void)
           saveg_read_vldoor_t(door);

           //jff 1/31/98 unarchive line remembered by door as well
-          door->line = (size_t)door->line!=-1? &lines[(size_t)door->line] : NULL;
+          door->line = (intptr_t)door->line!=-1? &lines[(size_t)door->line] : NULL;

           door->sector->ceilingdata = door;       //jff 2/22/98
           door->thinker.function.p1 = (actionf_p1)T_VerticalDoor;
fabiangreffrath commented 10 months ago

Wow, that'd be a great catch!

Pedro-Beirao commented 10 months ago

Ive been testing

arm64 brew build (release) - crash x64 brew build (release) - fine

arm64 brew build-from-source - fine

arm64 local build (debug) - fine arm64 local build (release) - fine

rfomin commented 10 months ago

arm64 local build (release) - fine

It looks like we can't test it, but I fixed it anyway: https://github.com/fabiangreffrath/woof/pull/1370

I wonder what Homebrew uses to build all the packages, cross-compile or actual arm64 machines?

mikeday0 commented 10 months ago

I wonder what Homebrew uses to build all the packages, cross-compile or actual arm64 machines?

Github action for the latest woof-doom bottles. The build logs are available as artifacts.

fabiangreffrath commented 10 months ago

I'd be curious how the brew build performs with the p_saveg.c changes from latest HEAD. πŸ€”

rfomin commented 10 months ago

I'd be curious how the brew build performs with the p_saveg.c changes from latest HEAD. πŸ€”

I guess we will find out after the release.

mikeday0 commented 10 months ago

I added the β€”HEAD option to the woof-doom formula yesterday. The change was approved, just waiting for it to be merged in.

EDIT: Now merged!

fabiangreffrath commented 10 months ago

I added the β€”HEAD option to the woof-doom formula yesterday. The change was approved, just waiting for it to be merged in.

Great, thank you!

mikeday0 commented 9 months ago

Woof 14.0.0 is now available on Homebrew. @DeusDenton and @Pedro-Beirao can you check if the new version resolves this issue?

Pedro-Beirao commented 9 months ago

Can confirm that it is no longer crashing πŸ‘

rfomin commented 9 months ago

Can confirm that it is no longer crashing πŸ‘

Good news, thank you!

Does mouse controls in the menu work for you? User reports that it does not work correctly: [doomworkd]

DeusDenton commented 9 months ago

Yup, working beautifully now. Thanks very much @mikeday0 , and thanks everyone working on this great port.

Per @rfomin, no, I'm not getting a cursor in the menu. Am I supposed to? Is this a new feature? It's not something I'd ever want to use anyway - I never used the mouse in the menu in gzdoom et al.

rfomin commented 9 months ago

Per @rfomin, no, I'm not getting a cursor in the menu.

Wow, no cursor at all? Then it turns out SDL2 works very differently on macOS.

Am I supposed to? Is this a new feature? It's not something I'd ever want to use anyway - I never used the mouse in the menu in gzdoom et al.

Yes, it's a new feature, and it's better than in GZDoom if works properly.

Pedro-Beirao commented 9 months ago

Yes mouse controls in the menu are working fine, but there is a problem.

MacOS has something called hiDPI, and if the monitor has it enabled, then this bug happens. If hiDPI is disabled, then it works fine

rfomin commented 9 months ago

MacOS has something called hiDPI, and if the monitor has it enabled, then this bug happens. If hiDPI is disabled, then it works fine

Thanks! I will try to fix it.

I think we can close this issue, thank you all.