Local Community

Crash on Apple Silicon

Bug Summary

Hi,
I just downloaded local on my new M1 MacBook Pro, however it does not start but crashes immediately.

Steps to reproduce

As precisely as you can, list the steps it takes to reliably reproduce the issue. There seems to be a problem with Rosetta (“attachment of code signature supplement failed”).

Environment Info

Describe your environment.

  • OS: macOS Monterey 12.2.1
  • Local 6.3.0

Log

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

Incident Identifier: 2A6A165B-8DDC-4089-9C3B-8119712C517D
CrashReporter Key:   94D1308D-FF40-48CD-9594-0826867BC263
Hardware Model:      MacBookPro18,3
Process:             Local [37173]
Path:                /Applications/Local.app/Contents/MacOS/Local
Identifier:          com.getflywheel.lightning.local
Version:             6.3.0 (6.3.0.20220214.4)
Code Type:           X86-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           com.getflywheel.lightning.local [15898]

Date/Time:           2022-03-09 13:42:18.1067 +0100
Launch Time:         2022-03-09 13:42:18.0815 +0100
OS Version:          macOS 12.2.1 (21D62)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7ffd60af8
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [37173]

Triggered by Thread:  0

Application Specific Information:
rosetta error: /var/db/oah/279281327407104_279281327407104/8c9a7234b389da90e706fcacd553a222e3fec4276ddf95f73a14f6f3bdf2b9ce/Local.aot: attachment of code signature supplement failed: 1


Thread 0 Crashed:
0   runtime                       	    0x7ff7ffd60af8 0x7ff7ffd44000 + 117496
1   runtime                       	    0x7ff7ffd60b40 0x7ff7ffd44000 + 117568
2   runtime                       	    0x7ff7ffd57440 0x7ff7ffd44000 + 78912
3   runtime                       	    0x7ff7ffd58518 0x7ff7ffd44000 + 83224
4   runtime                       	    0x7ff7ffd57c94 0x7ff7ffd44000 + 81044
5   runtime                       	    0x7ff7ffd47a80 0x7ff7ffd44000 + 14976
6   ???                           	               0x3 ???


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000003   x2: 0x000000000000003c   x3: 0x000000000000002c
    x4: 0x0000000000000303   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x00007ff7ffd7f000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x00007ff7ffd7f948
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x00007ff7ffd67828
   x16: 0xffffffffffffffe1  x17: 0x00000000ffffffff  x18: 0x000000030574809b  x19: 0x00007ff7ffd752e1
   x20: 0x0000000305748750  x21: 0x0000000100b2b000  x22: 0x0000000000000004  x23: 0x0000000100b2b000
   x24: 0x0000000000000003  x25: 0x0000000000000001  x26: 0x0000000305747bb0  x27: 0x0000000200c4a1b8
   x28: 0x0000000305750980   fp: 0x0000000305746990   lr: 0x00007ff7ffd60af0
    sp: 0x0000000305746970   pc: 0x00007ff7ffd60af8 cpsr: 0x60001000
   far: 0x00000003057469a8  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
    0x7ff7ffd44000 -     0x7ff7ffd73fff runtime (*) <faca02c7-0a4c-3629-a746-55ddcfee9116> /usr/libexec/rosetta/runtime
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

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

{"app_name":"Local","timestamp":"2022-03-09 13:42:18.00 +0100","app_version":"6.3.0","slice_uuid":"b5aa9f60-d5df-30e4-a5e7-60255f5c487e","build_version":"6.3.0.20220214.4","platform":0,"bundleID":"com.getflywheel.lightning.local","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"2A6A165B-8DDC-4089-9C3B-8119712C517D","name":"Local"}
{
  "uptime" : 88000,
  "procLaunch" : "2022-03-09 13:42:18.0815 +0100",
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "procStartAbsTime" : 2122059436823,
  "coalitionID" : 15898,
  "osVersion" : {
    "train" : "macOS 12.2.1",
    "build" : "21D62",
    "releaseType" : "User"
  },
  "captureTime" : "2022-03-09 13:42:18.1067 +0100",
  "incident" : "2A6A165B-8DDC-4089-9C3B-8119712C517D",
  "bug_type" : "309",
  "pid" : 37173,
  "procExitAbsTime" : 2122059715909,
  "translated" : true,
  "cpuType" : "X86-64",
  "procName" : "Local",
  "procPath" : "\/Applications\/Local.app\/Contents\/MacOS\/Local",
  "bundleInfo" : {"CFBundleShortVersionString":"6.3.0","CFBundleVersion":"6.3.0.20220214.4","CFBundleIdentifier":"com.getflywheel.lightning.local"},
  "storeInfo" : {"deviceIdentifierForVendor":"42487537-1BEF-5C00-8E7D-79A4D7C41595","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.getflywheel.lightning.local",
  "crashReporterKey" : "94D1308D-FF40-48CD-9594-0826867BC263",
  "wakeTime" : 312,
  "sleepWakeUUID" : "4B81E466-CE28-4DCA-9ECD-6CF94329F3CE",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x00007ff7ffd60af8","rawCodes":[1,140703125867256],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":37173},
  "asi" : {"runtime":["rosetta error: \/var\/db\/oah\/279281327407104_279281327407104\/8c9a7234b389da90e706fcacd553a222e3fec4276ddf95f73a14f6f3bdf2b9ce\/Local.aot: attachment of code signature supplement failed: 1"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":9},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":2079032,"threadState":{"x":[{"value":0},{"value":3},{"value":60},{"value":44},{"value":771},{"value":0},{"value":0},{"value":0},{"value":140703125991424},{"value":0},{"value":0},{"value":140703125993800,"symbolLocation":192,"symbol":"__crashreporter_info__"},{"value":0},{"value":0},{"value":0},{"value":140703125895208},{"value":18446744073709551585},{"value":4294967295},{"value":12976423067},{"value":140703125951201},{"value":12976424784},{"value":4306677760},{"value":4},{"value":4306677760},{"value":3},{"value":1},{"value":12976421808},{"value":8602821048,"symbolLocation":0,"symbol":"dyld_all_image_infos"},{"value":12976458112}],"flavor":"ARM_THREAD_STATE64","lr":{"value":140703125867248},"cpsr":{"value":1610616832},"fp":{"value":12976417168},"sp":{"value":12976417136},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":140703125867256,"matchesCrashFrame":1},"far":{"value":12976417192}},"frames":[{"imageOffset":117496,"imageIndex":0},{"imageOffset":117568,"imageIndex":0},{"imageOffset":78912,"imageIndex":0},{"imageOffset":83224,"imageIndex":0},{"imageOffset":81044,"imageIndex":0},{"imageOffset":14976,"imageIndex":0},{"imageOffset":3,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703125749760,
    "size" : 196608,
    "uuid" : "faca02c7-0a4c-3629-a746-55ddcfee9116",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=840K resident=0K(0%) swapped_out_or_unallocated=840K(100%)\nWritable regions: Total=21.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=21.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                       13.1M        4 \nVM_ALLOCATE (reserved)             256K        1         reserved VM address space (unallocated)\n__DATA                              80K        3 \n__DATA_CONST                        80K        1 \n__LINKEDIT                         240K        4 \n__TEXT                             624K        2 \nmapped file                        6.0G       27 \n===========                     =======  ======= \nTOTAL                              6.0G       44 \nTOTAL, minus reserved VM space     6.0G       44 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "621d4d11f441df278b2334c9"
      },
      "deploymentId" : 240000409
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000263
    },
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000119
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
      },
      "deploymentId" : 240000305
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

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

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

Model: MacBookPro18,3, BootROM 7429.81.3, proc 8:6:2 processors, 16 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Dec 13 2021 17:12:34 version 20.10.853.31.8.7.109 FWID 01-804e92d8
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.