Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86-64 Chromium Beta + 64-Bit Binaries crash on macOS Sonoma (14.0) Beta 4 #5533

Closed
AmiuLittle opened this issue Jul 28, 2023 · 18 comments
Closed
Labels
Platform: MacOS The issue specifically occurs on MacOS platforms.
Milestone

Comments

@AmiuLittle
Copy link

Details

Specs

Machine: MacBook Pro 13" M1
CPU: Rosetta2 (x86_64 -> Apple Silicon)
Ram: 16 GB
GPU: Apple M1
Gmod Version: x86-64 - Chromium Beta + 64-Bit Binaries (unsure of exact version because I can't get in the game)
Startup Args: -nochromium -w 1920 -h 1200

On July 25th at around 1:00 AM EST was playing gmod on macOS Sonoma Beta 3 before I decided to update to Beta 4 and it was working fine. I ran gmod after I had updated to Beta 4 and it is now crashing before it even starts.

In the crash dump generated it says EXC_BAD_ACCESS. I have my own project called LuaSPM where I am attempting to make high level bindings of Lua for the Swift Package Manager and I have come across this bug myself. It seems to be related to how macOS deals with the low level Lua API code. I've tried to reproduce the same EXC_BAD_ACCESS error on my linux machine and it's fine.

Recreated crash dump by following steps for recreation

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

Process:               gmod [4328]
Path:                  /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/gmod
Identifier:            com.facepunch.garrysmod
Version:               1.0
Code Type:             ARM-64 (Translated)
Parent Process:        steam_osx [1993]
Responsible:           steam_osx [1993]
User ID:               501

Date/Time:             2023-07-27 23:12:14.6763 -0400
OS Version:            macOS 14.0 (23A5301g)
Report Version:        12
Anonymous UUID:        0D1F8511-B134-5068-72C3-FC9E5FFEF776

Sleep/Wake UUID:       D33D7798-90CA-4394-85BA-C71BDBA54F33

Time Awake Since Boot: 10000 seconds
Time Since Wake:       8682 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x10D5730C4 vs 0x10D541EA7)

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 [4328]

VM Region Info: 0 is not in any region.  Bytes before following region: 4373098496
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      104a83000-104a84000    [    4K] r-x/rwx SM=COW  ...ts/MacOS/gmod

Error Formulating Crash Report:
PC register does not match crashing frame (0x10D5730C4 vs 0x10D541EA7)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libvstdlib.dylib              	       0x10d541ea7 operator new(unsigned long) + 23
1   Network                       	    0x7ff82217b670 std::__1::deque<void (nw::object::*)(), std::__1::allocator<void (nw::object::*)()>>::__add_back_capacity() + 288
2   Network                       	    0x7ff822a9645e __cxx_global_var_init + 174
3   dyld                          	       0x204d91da6 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const::$_0::operator()() const + 182
4   dyld                          	       0x204dd374f invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 241
5   dyld                          	       0x204dc7943 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 543
6   dyld                          	       0x204d7507f dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 249
7   dyld                          	       0x204dc6b0c dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 176
8   dyld                          	       0x204dd333a dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 470
9   dyld                          	       0x204d8ead8 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 222
10  dyld                          	       0x204d98018 dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const + 30
11  dyld                          	       0x204d8eccd dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 181
12  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
13  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
14  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
15  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
16  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
17  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
18  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
19  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
20  dyld                          	       0x204d8ecaf dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
21  dyld                          	       0x204d91e1c dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const::$_1::operator()() const + 98
22  dyld                          	       0x204d8ed63 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 93
23  dyld                          	       0x204db0ced dyld4::APIs::runAllInitializersForMain() + 317
24  dyld                          	       0x204d7a261 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3397
25  dyld                          	       0x204d7933f start + 1839

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffc492b4 0x7ff7ffc45000 + 17076


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000008   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x000000030d8f9550   x5: 0x000000030d8f9550   x6: 0x0000000000000008   x7: 0x000000010d467880
    x8: 0x0000000000000000   x9: 0xffffffff00000000  x10: 0x0000000000000000  x11: 0x000000030d8f97d0
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000001  x15: 0x000000030d8f95e8
   x16: 0x000000010d59fa1e  x17: 0x0000000000000000  x18: 0x000000010cb05b80  x19: 0x0000000104a96000
   x20: 0x00000000000007ff  x21: 0x000000010cb0ae60  x22: 0x000000010d55e000  x23: 0x00007ff85e546660
   x24: 0x000000010d541e90  x25: 0xfffffffef2abe170  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x000000010d541e90   fp: 0x0000000044000000   lr: 0x0000000000000000
    sp: 0x000000010cb05b80   pc: 0x000000010d5730c4 cpsr: 0x44001000
   far: 0x0000000000000000  esr: 0x92000005 (Data Abort) byte read Translation fault

Binary Images:
       0x204d73000 -        0x204e12fff dyld (*) <dcd97144-b830-3a04-8f8b-513e3aa02fed> /usr/lib/dyld
       0x10d439000 -        0x10d45bfff libtier0.dylib (*) <60ad6751-df44-3613-a2e6-060e0a448b8d> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/libtier0.dylib
       0x10d541000 -        0x10d55dfff libvstdlib.dylib (*) <bb9df2c0-8d0e-3be1-aad4-05373aaf2392> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/libvstdlib.dylib
    0x7ff7ffc45000 -     0x7ff7ffc74fff runtime (*) <31538c50-034b-3469-ae9f-0fffbd6f4de1> /usr/libexec/rosetta/runtime
       0x10caa0000 -        0x10caf3fff libRosettaRuntime (*) <29e3f175-b88d-3239-bd82-326cde98f820> /Library/Apple/*/libRosettaRuntime
       0x104a83000 -        0x104a83fff com.facepunch.garrysmod (*) <c15358cf-81e2-39c0-be88-ac6da0d18e3f> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/gmod
    0x7ff8220e3000 -     0x7ff822d0fffc com.apple.Network (1.0) <9638209a-f861-3443-abf7-c79526d08f07> /System/Library/Frameworks/Network.framework/Versions/A/Network
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                           521.1M       11 
MALLOC guard page                   96K        6 
Rosetta Arena                     4096K        2 
Rosetta Generic                    828K      204 
Rosetta IndirectBranch              32K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack                20K        2 
Rosetta Thread Context              20K        2 
Stack                             8176K        1 
Stack Guard                       56.0M        1 
VM_ALLOCATE                       13.0M        6 
VM_ALLOCATE (reserved)              16K        3         reserved VM address space (unallocated)
__DATA                            15.7M      285 
__DATA_CONST                      10.9M      175 
__DATA_DIRTY                       462K       92 
__FONT_DATA                        2352        1 
__LINKEDIT                       169.7M       10 
__OBJC_RO                         70.4M        1 
__OBJC_RW                         2146K        2 
__TEXT                           226.5M      301 
dyld private memory               4360K        4 
mapped file                        7.2G      509 
shared memory                       64K        4 
unshared pmap                     5712K        3 
===========                     =======  ======= 
TOTAL                              8.4G     1628 
TOTAL, minus reserved VM space     8.4G     1628 



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

{"app_name":"gmod","timestamp":"2023-07-27 23:12:14.00 -0400","app_version":"","slice_uuid":"c15358cf-81e2-39c0-be88-ac6da0d18e3f","build_version":"1.0","platform":1,"bundleID":"com.facepunch.garrysmod","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A5301g)","roots_installed":0,"name":"gmod","incident_id":"01361652-B733-4795-A9A1-646AE0D5E338"}
{
  "uptime" : 10000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "coalitionID" : 2251,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A5301g",
    "releaseType" : "User"
  },
  "captureTime" : "2023-07-27 23:12:14.6763 -0400",
  "codeSigningMonitor" : 1,
  "incident" : "01361652-B733-4795-A9A1-646AE0D5E338",
  "pid" : 4328,
  "translated" : true,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-07-27 23:12:14.6350 -0400",
  "procStartAbsTime" : 252240089614,
  "procExitAbsTime" : 252241073758,
  "procName" : "gmod",
  "procPath" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/gmod",
  "bundleInfo" : {"CFBundleVersion":"1.0","CFBundleIdentifier":"com.facepunch.garrysmod"},
  "storeInfo" : {"deviceIdentifierForVendor":"CBF09F53-A44A-51B7-A299-7F9F75B96695","thirdParty":true},
  "parentProc" : "steam_osx",
  "parentPid" : 1993,
  "coalitionName" : "com.valvesoftware.steam",
  "crashReporterKey" : "0D1F8511-B134-5068-72C3-FC9E5FFEF776",
  "responsiblePid" : 1993,
  "responsibleProc" : "steam_osx",
  "codeSigningID" : "com.facepunch.garrysmod",
  "codeSigningTeamID" : "57WLRCG33K",
  "codeSigningFlags" : 570491649,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"hCAAkbqWABSFjB\/45QMEquADB6pW\/\/\/wwSJA+ScAQPnhAED55gMAqg==","atPC":"NgBA+TWcAJR3\/v\/Q96Y6kZgAABC3Yr+pl4wf+MACP9aFAED4hCAAkQ=="},
  "wakeTime" : 8682,
  "sleepWakeUUID" : "D33D7798-90CA-4394-85BA-C71BDBA54F33",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4373098496\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      104a83000-104a84000    [    4K] r-x\/rwx SM=COW  ...ts\/MacOS\/gmod",
  "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":4328},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4373098496\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      104a83000-104a84000    [    4K] r-x\/rwx SM=COW  ...ts\/MacOS\/gmod",
  "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":162203,"threadState":{"x":[{"value":8},{"value":0},{"value":0},{"value":0},{"value":13112415568},{"value":13112415568},{"value":8},{"value":4517689472},{"value":0},{"value":18446744069414584320},{"value":0},{"value":13112416208},{"value":0},{"value":0},{"value":1},{"value":13112415720},{"value":4518967838},{"value":0},{"value":4507851648},{"value":4373176320},{"value":2047},{"value":4507872864},{"value":4518699008},{"value":140704711206496},{"value":4518583952,"symbolLocation":0,"symbol":"operator new(unsigned long)"},{"value":18446744069190967664},{"value":0},{"value":0},{"value":4518583952,"symbolLocation":0,"symbol":"operator new(unsigned long)"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":1140854784},"fp":{"value":1140850688},"sp":{"value":4507851648},"esr":{"value":2449473541,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4518785220,"matchesCrashFrame":0},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3751,"symbol":"operator new(unsigned long)","symbolLocation":23,"imageIndex":2},{"imageOffset":624240,"symbol":"std::__1::deque<void (nw::object::*)(), std::__1::allocator<void (nw::object::*)()>>::__add_back_capacity()","symbolLocation":288,"imageIndex":6},{"imageOffset":10171486,"symbol":"__cxx_global_var_init","symbolLocation":174,"imageIndex":6},{"imageOffset":126374,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const::$_0::operator()() const","symbolLocation":182,"imageIndex":0},{"imageOffset":395087,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":241,"imageIndex":0},{"imageOffset":346435,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":543,"imageIndex":0},{"imageOffset":8319,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":249,"imageIndex":0},{"imageOffset":342796,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":176,"imageIndex":0},{"imageOffset":394042,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":470,"imageIndex":0},{"imageOffset":113368,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":222,"imageIndex":0},{"imageOffset":151576,"symbol":"dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const","symbolLocation":30,"imageIndex":0},{"imageOffset":113869,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":181,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":113839,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":126492,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const::$_1::operator()() const","symbolLocation":98,"imageIndex":0},{"imageOffset":114019,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":93,"imageIndex":0},{"imageOffset":253165,"symbol":"dyld4::APIs::runAllInitializersForMain()","symbolLocation":317,"imageIndex":0},{"imageOffset":29281,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3397,"imageIndex":0},{"imageOffset":25407,"symbol":"start","symbolLocation":1839,"imageIndex":0}]},{"id":162204,"name":"com.apple.rosetta.exceptionserver","threadState":{"x":[{"value":268451845},{"value":17314086914},{"value":0},{"value":16522739187712},{"value":10741713207296},{"value":9908489551872},{"value":2616},{"value":0},{"value":2307},{"value":4517384192},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551569},{"value":0},{"value":4507893073},{"value":0},{"value":2616},{"value":9908489551872},{"value":10741713207296},{"value":16522739187712},{"value":0},{"value":4507890456},{"value":17314086914},{"value":4517384224},{"value":259}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":1677725696},"fp":{"value":4507890336},"sp":{"value":4507890256},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":140703124722356},"far":{"value":4768782096}},"frames":[{"imageOffset":17076,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8671145984,
    "size" : 655360,
    "uuid" : "dcd97144-b830-3a04-8f8b-513e3aa02fed",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4517498880,
    "size" : 143360,
    "uuid" : "60ad6751-df44-3613-a2e6-060e0a448b8d",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/libtier0.dylib",
    "name" : "libtier0.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4518580224,
    "size" : 118784,
    "uuid" : "bb9df2c0-8d0e-3be1-aad4-05373aaf2392",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/libvstdlib.dylib",
    "name" : "libvstdlib.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124705280,
    "size" : 196608,
    "uuid" : "31538c50-034b-3469-ae9f-0fffbd6f4de1",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4507435008,
    "size" : 344064,
    "uuid" : "29e3f175-b88d-3239-bd82-326cde98f820",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4373098496,
    "CFBundleIdentifier" : "com.facepunch.garrysmod",
    "size" : 4096,
    "uuid" : "c15358cf-81e2-39c0-be88-ac6da0d18e3f",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/gmod",
    "name" : "gmod",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703699972096,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.Network",
    "size" : 12767229,
    "uuid" : "9638209a-f861-3443-abf7-c79526d08f07",
    "path" : "\/System\/Library\/Frameworks\/Network.framework\/Versions\/A\/Network",
    "name" : "Network",
    "CFBundleVersion" : "1"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703576555520,
  "size" : 21474836480,
  "uuid" : "5fe68581-528f-37f5-8c76-3d1bec7ad4b2"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=396.2M resident=0K(0%) swapped_out_or_unallocated=396.2M(100%)\nWritable regions: Total=684.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=684.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                    8K        1 \nMALLOC                           521.1M       11 \nMALLOC guard page                   96K        6 \nRosetta Arena                     4096K        2 \nRosetta Generic                    828K      204 \nRosetta IndirectBranch              32K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                20K        2 \nRosetta Thread Context              20K        2 \nStack                             8176K        1 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                       13.0M        6 \nVM_ALLOCATE (reserved)              16K        3         reserved VM address space (unallocated)\n__DATA                            15.7M      285 \n__DATA_CONST                      10.9M      175 \n__DATA_DIRTY                       462K       92 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       169.7M       10 \n__OBJC_RO                         70.4M        1 \n__OBJC_RW                         2146K        2 \n__TEXT                           226.5M      301 \ndyld private memory               4360K        4 \nmapped file                        7.2G      509 \nshared memory                       64K        4 \nunshared pmap                     5712K        3 \n===========                     =======  ======= \nTOTAL                              8.4G     1628 \nTOTAL, minus reserved VM space     8.4G     1628 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "53490d6d118177c94af37344f736349f273accd8",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "632e3df958740028737bffc0",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_NL_OVERRIDES" : "64b53cc951cbb02ce3442e68"
      },
      "deploymentId" : 250000341
    },
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 250000327
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "4ccdf464-f25f-42e3-b9cf-a994729468b8",
      "experimentId" : "63e69d9847bae55eb0b064a6",
      "deploymentId" : 500000016
    },
    {
      "treatmentId" : "36e66435-7941-4c71-bd45-6746b3f6364d",
      "experimentId" : "618a9ffa4b3765609b8b80c1",
      "deploymentId" : 400000055
    }
  ]
},
  "reportNotes" : [
  "PC register does not match crashing frame (0x10D5730C4 vs 0x10D541EA7)"
]
}

Model: MacBookPro17,1, BootROM 10151.0.255.0.4, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jul  8 2023 18:08:48 version 18.20.438.0.7.8.162 FWID 01-f7533da5
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

There are no more crash logs or dumps
no .mdmp files found in "steamapps/common/GarrysMod/"
"steamapps/common/GarrysMod/crashes/" does not exist

Steps to reproduce

  1. install macOS Sonoma Beta 4 and Rosetta2 on an Apple Silicon Mac
  2. Install Gmod x86-64 Chromium Beta + 64-Bit Binaries and add the start up arguments -nochromium -w 1920 -h 1200
  3. Hit run game
@robotboy655 robotboy655 added this to the x64 milestone Jul 28, 2023
@robotboy655 robotboy655 added the Platform: MacOS The issue specifically occurs on MacOS platforms. label Jul 28, 2023
@robotboy655
Copy link
Contributor

robotboy655 commented Jul 28, 2023

Since this started happening after OS update, it may be worthwhile to report this to Apple itself while the OS is still in beta.

@AmiuLittle
Copy link
Author

alright, I'll send them some feedback a about it. I figured they wouldn't really care but we'll see

@AmiuLittle
Copy link
Author

macOS Sonoma has updated to beta 5, still no luck

crash report:

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

Process:               gmod [4455]
Path:                  /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/gmod
Identifier:            com.facepunch.garrysmod
Version:               1.0
Code Type:             X86-64 (Translated)
Parent Process:        steam_osx [1252]
Responsible:           steam_osx [1252]
User ID:               501

Date/Time:             2023-08-09 10:25:57.6399 -0700
OS Version:            macOS 14.0 (23A5312d)
Report Version:        12
Anonymous UUID:        0D1F8511-B134-5068-72C3-FC9E5FFEF776

Sleep/Wake UUID:       643B8419-34D7-459A-BAA0-EBC12922ECD2

Time Awake Since Boot: 1700 seconds
Time Since Wake:       1249 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x108D98EA7)

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 [4455]

VM Region Info: 0 is not in any region.  Bytes before following region: 4299268096
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      10041a000-10041b000    [    4K] r-x/rwx SM=COW  ...ts/MacOS/gmod

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x108D98EA7)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libvstdlib.dylib              	       0x108d98ea7 operator new(unsigned long) + 23
1   Network                       	    0x7ff816102f90 std::__1::deque<void (nw::object::*)(), std::__1::allocator<void (nw::object::*)()>>::__add_back_capacity() + 288
2   Network                       	    0x7ff816a2004e __cxx_global_var_init + 174
3   dyld                          	       0x200580f16 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const::$_0::operator()() const + 182
4   dyld                          	       0x2005c271f invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 241
5   dyld                          	       0x2005b6913 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 543
6   dyld                          	       0x20056407f dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 249
7   dyld                          	       0x2005b5adc dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 176
8   dyld                          	       0x2005c230a dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 470
9   dyld                          	       0x20057dc48 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 222
10  dyld                          	       0x200587084 dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const + 30
11  dyld                          	       0x20057de3d dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 181
12  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
13  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
14  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
15  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
16  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
17  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
18  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
19  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
20  dyld                          	       0x20057de1f dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 151
21  dyld                          	       0x200580f8c dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const::$_1::operator()() const + 98
22  dyld                          	       0x20057ded3 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 93
23  dyld                          	       0x20059f9ed dyld4::APIs::runAllInitializersForMain() + 317
24  dyld                          	       0x200569261 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3397
25  dyld                          	       0x20056833f start + 1839

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffe5c2b4 0x7ff7ffe58000 + 17076


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000008  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000108e6f880  rsi: 0x0000000000000008  rbp: 0x0000000304a7f580  rsp: 0x0000000304a7f580
   r8: 0x0000000000000000   r9: 0xffffffff00000000  r10: 0x0000000000000000  r11: 0x0000000304a7f800
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000304a7f618
  rip: <unavailable>       rfl: 0x0000000000000247
 tmp0: 0x0000000108db5000 tmp1: 0x00007ff8525fac80 tmp2: 0x0000000108d98e90


Binary Images:
       0x200562000 -        0x200601fff dyld (*) <5c9108dd-ac40-3268-a7d4-902f63bc26a4> /usr/lib/dyld
       0x108e41000 -        0x108e63fff libtier0.dylib (*) <60ad6751-df44-3613-a2e6-060e0a448b8d> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/libtier0.dylib
       0x108d98000 -        0x108db4fff libvstdlib.dylib (*) <bb9df2c0-8d0e-3be1-aad4-05373aaf2392> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/libvstdlib.dylib
    0x7ff7ffe58000 -     0x7ff7ffe87fff runtime (*) <31538c50-034b-3469-ae9f-0fffbd6f4de1> /usr/libexec/rosetta/runtime
       0x108437000 -        0x10848afff libRosettaRuntime (*) <29e3f175-b88d-3239-bd82-326cde98f820> /Library/Apple/*/libRosettaRuntime
       0x10041a000 -        0x10041afff com.facepunch.garrysmod (*) <c15358cf-81e2-39c0-be88-ac6da0d18e3f> /Users/USER/Library/Application Support/Steam/*/GarrysMod_Signed.app/Contents/MacOS/gmod
    0x7ff81606b000 -     0x7ff816c99ff4 com.apple.Network (1.0) <d958ca22-c6d6-3d36-a79d-fe587bb54abc> /System/Library/Frameworks/Network.framework/Versions/A/Network
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                           521.1M       11 
MALLOC guard page                   96K        6 
Rosetta Arena                     4096K        2 
Rosetta Generic                    828K      204 
Rosetta IndirectBranch              32K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack                20K        2 
Rosetta Thread Context              20K        2 
Stack                             8176K        1 
Stack Guard                       56.0M        1 
VM_ALLOCATE                       13.7M        7 
VM_ALLOCATE (reserved)              16K        3         reserved VM address space (unallocated)
__DATA                            15.6M      282 
__DATA_CONST                      10.9M      176 
__DATA_DIRTY                       462K       92 
__FONT_DATA                        2352        1 
__LINKEDIT                       173.9M       10 
__OBJC_RO                         70.4M        1 
__OBJC_RW                         2148K        2 
__TEXT                           224.7M      301 
dyld private memory               4360K        4 
mapped file                        7.1G      512 
shared memory                       64K        4 
unshared pmap                     5072K        3 
===========                     =======  ======= 
TOTAL                              8.4G     1630 
TOTAL, minus reserved VM space     8.4G     1630 



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

{"app_name":"gmod","timestamp":"2023-08-09 10:26:14.00 -0700","app_version":"","slice_uuid":"c15358cf-81e2-39c0-be88-ac6da0d18e3f","build_version":"1.0","platform":1,"bundleID":"com.facepunch.garrysmod","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A5312d)","roots_installed":0,"name":"gmod","incident_id":"C15E514F-89F9-47CB-9678-78A197C2E91D"}
{
  "uptime" : 1700,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "coalitionID" : 1101,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A5312d",
    "releaseType" : "User"
  },
  "captureTime" : "2023-08-09 10:25:57.6399 -0700",
  "codeSigningMonitor" : 1,
  "incident" : "C15E514F-89F9-47CB-9678-78A197C2E91D",
  "pid" : 4455,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-08-09 10:25:55.3433 -0700",
  "procStartAbsTime" : 41406010820,
  "procExitAbsTime" : 41461122288,
  "procName" : "gmod",
  "procPath" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/gmod",
  "bundleInfo" : {"CFBundleVersion":"1.0","CFBundleIdentifier":"com.facepunch.garrysmod"},
  "storeInfo" : {"deviceIdentifierForVendor":"EF2FB520-9700-5141-9E1B-FF11BA27AA13","thirdParty":true},
  "parentProc" : "steam_osx",
  "parentPid" : 1252,
  "coalitionName" : "com.valvesoftware.steam",
  "crashReporterKey" : "0D1F8511-B134-5068-72C3-FC9E5FFEF776",
  "responsiblePid" : 1252,
  "responsibleProc" : "steam_osx",
  "codeSigningID" : "com.facepunch.garrysmod",
  "codeSigningTeamID" : "57WLRCG33K",
  "codeSigningFlags" : 570491649,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "wakeTime" : 1249,
  "sleepWakeUUID" : "643B8419-34D7-459A-BAA0-EBC12922ECD2",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4299268096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      10041a000-10041b000    [    4K] r-x\/rwx SM=COW  ...ts\/MacOS\/gmod",
  "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":4455},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4299268096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      10041a000-10041b000    [    4K] r-x\/rwx SM=COW  ...ts\/MacOS\/gmod",
  "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":52949,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":12963018112},"r12":{"value":0},"rosetta":{"tmp2":{"value":4443442832},"tmp1":{"value":140704510618752},"tmp0":{"value":4443557888}},"rbx":{"value":0},"r8":{"value":0},"r15":{"value":12963018264},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":4444321920},"r9":{"value":18446744069414584320},"r13":{"value":0},"rflags":{"value":583},"rax":{"value":8},"rsp":{"value":12963018112},"r11":{"value":12963018752},"rcx":{"value":0},"r14":{"value":1},"rsi":{"value":8}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3751,"symbol":"operator new(unsigned long)","symbolLocation":23,"imageIndex":2},{"imageOffset":622480,"symbol":"std::__1::deque<void (nw::object::*)(), std::__1::allocator<void (nw::object::*)()>>::__add_back_capacity()","symbolLocation":288,"imageIndex":6},{"imageOffset":10178638,"symbol":"__cxx_global_var_init","symbolLocation":174,"imageIndex":6},{"imageOffset":126742,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const::$_0::operator()() const","symbolLocation":182,"imageIndex":0},{"imageOffset":395039,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":241,"imageIndex":0},{"imageOffset":346387,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":543,"imageIndex":0},{"imageOffset":8319,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":249,"imageIndex":0},{"imageOffset":342748,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":176,"imageIndex":0},{"imageOffset":393994,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":470,"imageIndex":0},{"imageOffset":113736,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":222,"imageIndex":0},{"imageOffset":151684,"symbol":"dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const","symbolLocation":30,"imageIndex":0},{"imageOffset":114237,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":181,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":114207,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":151,"imageIndex":0},{"imageOffset":126860,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const::$_1::operator()() const","symbolLocation":98,"imageIndex":0},{"imageOffset":114387,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":93,"imageIndex":0},{"imageOffset":252397,"symbol":"dyld4::APIs::runAllInitializersForMain()","symbolLocation":317,"imageIndex":0},{"imageOffset":29281,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3397,"imageIndex":0},{"imageOffset":25407,"symbol":"start","symbolLocation":1839,"imageIndex":0}]},{"id":52989,"name":"com.apple.rosetta.exceptionserver","threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":11008001179648},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":19821274071040},"tmp0":{"value":10741713207296}},"rbx":{"value":19821274071040},"r8":{"value":2563},"r15":{"value":0},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":4443852800},"r13":{"value":0},"rflags":{"value":582},"rax":{"value":268451845},"rsp":{"value":10741713207296},"r11":{"value":0},"rcx":{"value":17314086914},"r14":{"value":0},"rsi":{"value":2616}},"frames":[{"imageOffset":17076,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8595578880,
    "size" : 655360,
    "uuid" : "5c9108dd-ac40-3268-a7d4-902f63bc26a4",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4444131328,
    "size" : 143360,
    "uuid" : "60ad6751-df44-3613-a2e6-060e0a448b8d",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/libtier0.dylib",
    "name" : "libtier0.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4443439104,
    "size" : 118784,
    "uuid" : "bb9df2c0-8d0e-3be1-aad4-05373aaf2392",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/libvstdlib.dylib",
    "name" : "libvstdlib.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703126880256,
    "size" : 196608,
    "uuid" : "31538c50-034b-3469-ae9f-0fffbd6f4de1",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4433604608,
    "size" : 344064,
    "uuid" : "29e3f175-b88d-3239-bd82-326cde98f820",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4299268096,
    "CFBundleIdentifier" : "com.facepunch.garrysmod",
    "size" : 4096,
    "uuid" : "c15358cf-81e2-39c0-be88-ac6da0d18e3f",
    "path" : "\/Users\/USER\/Library\/Application Support\/Steam\/*\/GarrysMod_Signed.app\/Contents\/MacOS\/gmod",
    "name" : "gmod",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703498153984,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.Network",
    "size" : 12775413,
    "uuid" : "d958ca22-c6d6-3d36-a79d-fe587bb54abc",
    "path" : "\/System\/Library\/Frameworks\/Network.framework\/Versions\/A\/Network",
    "name" : "Network",
    "CFBundleVersion" : "1"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703374606336,
  "size" : 21474836480,
  "uuid" : "9a1c0af6-f115-373a-be1a-36acb29a5389"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=398.6M resident=0K(0%) swapped_out_or_unallocated=398.6M(100%)\nWritable regions: Total=685.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=685.0M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                    8K        1 \nMALLOC                           521.1M       11 \nMALLOC guard page                   96K        6 \nRosetta Arena                     4096K        2 \nRosetta Generic                    828K      204 \nRosetta IndirectBranch              32K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                20K        2 \nRosetta Thread Context              20K        2 \nStack                             8176K        1 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                       13.7M        7 \nVM_ALLOCATE (reserved)              16K        3         reserved VM address space (unallocated)\n__DATA                            15.6M      282 \n__DATA_CONST                      10.9M      176 \n__DATA_DIRTY                       462K       92 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       173.9M       10 \n__OBJC_RO                         70.4M        1 \n__OBJC_RW                         2148K        2 \n__TEXT                           224.7M      301 \ndyld private memory               4360K        4 \nmapped file                        7.1G      512 \nshared memory                       64K        4 \nunshared pmap                     5072K        3 \n===========                     =======  ======= \nTOTAL                              8.4G     1630 \nTOTAL, minus reserved VM space     8.4G     1630 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "23aab7221cbc34731f2f722bc50e3d6acb535cf4",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6246d6a916a70b047e454124",
      "factorPackIds" : {

      },
      "deploymentId" : 240000010
    },
    {
      "rolloutId" : "64879f872dccf40610e75860",
      "factorPackIds" : {
        "REMINDERS_GROCERY" : "64bee6af8b7f0e739e4fbdd9"
      },
      "deploymentId" : 250000007
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    },
    {
      "treatmentId" : "36e66435-7941-4c71-bd45-6746b3f6364d",
      "experimentId" : "618a9ffa4b3765609b8b80c1",
      "deploymentId" : 400000055
    }
  ]
},
  "reportNotes" : [
  "PC register does not match crashing frame (0x0 vs 0x108D98EA7)"
]
}

Model: MacBookPro17,1, BootROM 10151.0.305.0.1, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jul  8 2023 18:08:48 version 18.20.438.0.7.8.162 FWID 01-f7533da5
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

@Shavin257
Copy link

same this happened to me. I am on the beta as well.

@AmiuLittle
Copy link
Author

If you use whisky to run the windows version, set gmod for the 64-bit beta, and then tell it to run 32-bit after hitting play it runs!

I have no clue why, but you have to install gmod Lua menu for the menus
it also runs >100 fps for me most of the time

I've had a few ideas for other workarounds but I found little success or performance with them

1. you could run windows 11 arm in a VM using UTM and run GMod on that

It's very slow, I got 5 fps tops and it took up a lot of space on my computer

2. you could use Asahi Linux

Is not complete enough at the moment to run any x86 programs, maybe by then end of August it'll be ready

@carterpeel
Copy link

also having this issue. hope the ball keeps rolling on x86 games for asahi linux

@AmiuLittle
Copy link
Author

AmiuLittle commented Aug 12, 2023

A little bit of an update with GMod and Whisky

when a lot of textures load in at once, like when when the 725 shotgun from the Modern Warfare SWEPS mod is shot, the game freezes for a bit, the only fix I have to this is turning down your graphics quality.

On the note of changing graphics settings: changing your graphics settings while connected to a game will crash GMod

There's also a few other oddities regarding texture rendering and the fact that chromium is not working.

tbh I'm waiting on Asahi Linux to support x86 programs so that I can start running normal GMod again

@carterpeel
Copy link

A little bit of an update with GMod and Whisky

when a lot of textures load in at once, like when when the 725 shotgun from the Modern Warfare SWEPS mod is shot, the game freezes for a bit, the only fix I have to this is turning down your graphics quality.

On the note of changing graphics settings: changing your graphics settings while connected to a game will crash GMod

There's also a few other oddities regarding texture rendering and the fact that chromium is not working.

tbh I'm waiting on Asahi Linux to support x86 programs so that I can start running normal GMod again

I am going to try Whisky.

@msmr14
Copy link

msmr14 commented Aug 20, 2023

Confirmed, gmod doesn't work and won't open

@msmr14
Copy link

msmr14 commented Aug 20, 2023

By the way, a very useful thing to not prescribe -nochromium and fix the menu in the gmod
https://github.com/solsticegamestudios/GModCEFCodecFix/releases
It's a life saver

@AmiuLittle
Copy link
Author

https://github.com/solsticegamestudios/GModCEFCodecFix/releases

I didn't know I needed this until now +o+
thank you!

@AmiuLittle
Copy link
Author

AmiuLittle commented Aug 23, 2023

macOS Sonoma has updated to beta 6 and gmod seems to be working again, I will do some testing and if nothing breaks past chromium just not working on macOS I will close this issue

@AmiuLittle
Copy link
Author

GMod is working again, and with CEFCodecFix it's like playing on a beefier version of my old gaming setup that my uncle got me when I first started playing.

tomorrow I can test multiplayer or someone else can sooner and if that is working fine I think we can close this issue

@msmr14
Copy link

msmr14 commented Aug 25, 2023

With the latest MacOs update, I have everything working again
image

@AmiuLittle
Copy link
Author

Multiplayer is fine, I was able to connect with no problems
lets hope another update doesn't break gmod again

@AkikoKumagara
Copy link

AkikoKumagara commented Nov 10, 2023

A similar crash is reportedly happening to some users on the current version of Sonoma, but specifically only ones with Apple CPUs/Rosetta now. All Intel and AMD systems tested running macOS with GMod CEF Codec Fix applied seem to operate as expected.

See solsticegamestudios/GModCEFCodecFix#87

I don't understand this because it doesn't seem to affect everyone on Apple CPUs, which I would expect if the issue is with Rosetta itself. If anyone else is still having problems, it might be worth another look at this issue and comparing crash logs with other users.

@chimojs
Copy link

chimojs commented Nov 10, 2023

Apple mentions a similar issue at https://developer.apple.com/documentation/macos-release-notes/macos-14-release-notes. It says

Rosetta
Resolved Issues
Fixed: Intel applications might quit unexpectedly on launch under Rosetta. (110021755)

So a system upgradation could help.

@AkikoKumagara
Copy link

AkikoKumagara commented Nov 11, 2023

Apple mentions a similar issue at https://developer.apple.com/documentation/macos-release-notes/macos-14-release-notes. It says

Rosetta
Resolved Issues
Fixed: Intel applications might quit unexpectedly on launch under Rosetta. (110021755)

So a system upgradation could help.

It's a good point, but I'm talking about people who are specifically on 14.0 and 14.1 already being affected by this crash.

Edit: Though it is possible many of these people are on a beta build and don't realize it/report it to us... I'll investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: MacOS The issue specifically occurs on MacOS platforms.
Projects
None yet
Development

No branches or pull requests

7 participants