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
Comments
Hi All
Hope you’re all safe and well.
You’re probably already aware of this but just in case.
When trying to debug on Apple M1, it comes back with «rosetta error: failed to allocate vm space for aot».
Just wondering if there’s any recommendations please.
Love your work 😊👍
Go doesn’t officially support darwin/arm64 until go1.16, delve won’t ufficially support go1.16 until 1.6.0, we don’t have access to darwin/arm64 machines to port delve to them so support for delve on darwin/arm64 is unplanned. It’s highly unlikely that debuggers can work through rosetta.
I have started with a darwin-arm64 branch on my fork here. https://github.com/oxisto/delve/tree/darwin-arm64
I basically just started this a couple of hours ago. The native code seems to compile (I am pretty sure it is not functional yet), but Go still throws some link errors. I am not too familiar with that kind of low level programming, so I need some more prep time to fully understand all of it.
Beware, you need a recent Go version that can compile darwin/arm64, i.e. installed using go tip.
Update : Ah, looks like I was going down the wrong route using the native backend. I think I might need to have a better understanding of delve first, I will continue with this tomorrow.
The native code has always had problems, the backend that’s being used by default is in pkg/proc/gdbserial, I would focus on that.
The native code has always had problems, the backend that’s being used by default is in pkg/proc/gdbserial, I would focus on that.
Thanks for the pointer in the right direction. I have begun working in this direction on a second fork (https://github.com/oxisto/delve/tree/darwin-arm64-lldb) just by duplicating code for the gdbserver for arm64 now. Spawning an executable works but setting a breakpoint already crashes. I will continue working in this direction then. I will also apply for the mailing list, as you would like to move the discussion there and not on the GitHub issues if I have seen the guidelines correctly.
aarzilli
changed the title
Apple M1 ARM — trying to debug — rosetta error: failed to allocate vm space for aot
Apple M1 ARM support
Dec 19, 2020
Is is possible to test a fork/version currently, or is this issue still awaiting other changes? (:
I’m still seeing these errors on Go 1.16:
API server listening at: 127.0.0.1:3694
rosetta error: failed to allocate vm space for aot
Failed to continue - protocol error E74 during registers read for packet $g;thread:88fee;
Last known immediate stacktrace (goroutine id 0):
?:-1
<unknown>
:0
<unknown>
Should I open a go ticket?
@andig pay attention that you go version
should be 1.16 darwin/arm64 instead of 1.16 darwin/amd64.
I installed go with go version go1.16 darwin/arm64
, and delve 1.6.0, and setup to debug TiDB. which starts fine, but prints wrong var values, and the n
command behave like drunk 😦
btw, I run dlv exec bin/tidb-server
and break server/conn.go:953
, then connect with mysql -uroot -P 4000 -h 127.0.0.1
. the cmd
variable should have value 3
which means query command in mysql protocol, but it shows 200
. Running on amd64 platform and it is correct.
and the next
command will lead me to arbitrary line, which is not useful.
I’m also still seeing this —
go version
go version go1.16.3 darwin/amd64
❯ dlv version
Delve Debugger
Version: 1.6.0
Build: $Id: 8cc9751909843dd55a46e8ea2a561544f70db34d $
Any suggestions? Inside of VSCode, still not working.
@aronchick You need to install the arm64
version of golang. You now have amd64
version of golang, which is not native on Apple M1.
I still have this issue:
I’m using vscode and go and dlv installed using brew:
21-04-27 16:01 % brew install dlv Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 1 formula. ==> Downloading https://ghcr.io/v2/homebrew/core/delve/manifests/1.6.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/delve/blobs/sha256:396965ab785d39bc07d52eb6004f4113d77aa4513d34573e613f03b87567f260 ==> Downloading from https://pkg-containers-az.githubusercontent.com/ghcr1/blobs/sha256:396965ab785d39bc07d52eb6004f4113d77aa4513d34573e613f03b87567f260?se=2021-04-27T21%3A10%3A00Z&sig=IDSYg4McG9VCtlqyACF ######################################################################## 100.0% ==> Pouring delve--1.6.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/delve/1.6.0: 6 files, 13.1MB 21-04-27 16:05 % go version go version go1.16.3 darwin/arm64 21-04-27 16:08 % dlv version Delve Debugger Version: 1.6.0 Build: $Id: 8cc9751909843dd55a46e8ea2a561544f70db34d $ % code --version 1.55.2 3c4e3df9e89829dce27b7b5c24508306b151f30d arm64
but when I run the debugger in vscode I see this error:
API server listening at: 127.0.0.1:41753
Failed to continue - protocol error E74 during registers read for packet $g;thread:21ffc;
Last known immediate stacktrace (goroutine id 0):
?:-1
<unknown>
:0
<unknown>
what am I doing wrong? I have go for arm64 and the dlv also is arm64 and vscode as well
I still have this issue:
I’m using vscode and go and dlv installed using brew:
21-04-27 16:01 % brew install dlv Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 1 formula. ==> Downloading https://ghcr.io/v2/homebrew/core/delve/manifests/1.6.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/delve/blobs/sha256:396965ab785d39bc07d52eb6004f4113d77aa4513d34573e613f03b87567f260 ==> Downloading from https://pkg-containers-az.githubusercontent.com/ghcr1/blobs/sha256:396965ab785d39bc07d52eb6004f4113d77aa4513d34573e613f03b87567f260?se=2021-04-27T21%3A10%3A00Z&sig=IDSYg4McG9VCtlqyACF ######################################################################## 100.0% ==> Pouring delve--1.6.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/delve/1.6.0: 6 files, 13.1MB 21-04-27 16:05 % go version go version go1.16.3 darwin/arm64 21-04-27 16:08 % dlv version Delve Debugger Version: 1.6.0 Build: $Id: 8cc9751909843dd55a46e8ea2a561544f70db34d $ % code --version 1.55.2 3c4e3df9e89829dce27b7b5c24508306b151f30d arm64but when I run the debugger in vscode I see this error:
API server listening at: 127.0.0.1:41753 Failed to continue - protocol error E74 during registers read for packet $g;thread:21ffc; Last known immediate stacktrace (goroutine id 0): ?:-1 <unknown> :0 <unknown>
what am I doing wrong? I have go for arm64 and the dlv also is arm64 and vscode as well
I meet the same problem after update my m1 chip macOS to 11.3 (20E232)
in this version breakpoint in Goland delve can’t get variables and can’t move to next point in normal way.
on Vscode I meet the same problem with you.
So I wonder if there is something wrong with new version of macOS
@s0xzwasd thanks for referring us to the corresponding issue. It works for me
In my case, I fixed it by downloading «Apple Silicon» version of vscode, instead of clicking the big download one, and then deleting and reinstalling all the go-tools.
The issue still exists in new version again. @oxisto
🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ dlv exec client
Type 'help' for list of commands.
(dlv) b main.main
Breakpoint 1 (enabled) set at 0x13d919b for main.main() ./greeter_client/main.go:37
(dlv) c
rosetta error: failed to allocate vm space for aot
Stopped at: 0x0
=> 1: no source available
(dlv) exit
🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ dlv version
Delve Debugger
Version: 1.6.1
Build: de117a2f4f16350a59b06970693d383613399782
🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/zhl/Library/Caches/go-build"
GOENV="/Users/zhl/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/zhl/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/zhl/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.4"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/zhl/go/src/github.com/grpc/grpc-go/examples/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/x2/p8kghjr100j209q5zspdwhgc0000gn/T/go-build2395424900=/tmp/go-build -gno-record-gcc-switches -fno-common"
The issue still exists in new version again. @oxisto
You’re running the amd64 tool chain on apple silicon. You should instead download the Darwin/arm64 version which runs natively on Apple silicon.
The issue still exists in new version again. @oxisto
🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ dlv exec client Type 'help' for list of commands. (dlv) b main.main Breakpoint 1 (enabled) set at 0x13d919b for main.main() ./greeter_client/main.go:37 (dlv) c rosetta error: failed to allocate vm space for aot Stopped at: 0x0 => 1: no source available (dlv) exit 🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ dlv version Delve Debugger Version: 1.6.1 Build: de117a2f4f16350a59b06970693d383613399782 🍺 /Users/zhl/go/src/github.com/grpc/grpc-go/examples/helloworld ☞ git:(master) ✗ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/Users/zhl/Library/Caches/go-build" GOENV="/Users/zhl/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/zhl/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/zhl/go" GOPRIVATE="" GOPROXY="https://goproxy.cn" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GOVCS="" GOVERSION="go1.16.4" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/zhl/go/src/github.com/grpc/grpc-go/examples/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/x2/p8kghjr100j209q5zspdwhgc0000gn/T/go-build2395424900=/tmp/go-build -gno-record-gcc-switches -fno-common"
According to go env
you are using an amd64 version of Go. You need to install the arm64 version of Go to make dlv
function properly on an M1 machine.
make sure vs code or goland are arm64 and in vs code reinstall tools
extender.InitTcpServer(ctx, reset)
Unable to evaluate expression: function calls not allowed without using 'call'
call extender.InitTcpServer(ctx, reset)
Unable to evaluate expression: backend does not support function calls
I’m still unable to invoke function calls using DLV via the debug console.
Chiming in here as I ran into the same E74 during registers read for packet $g;thread:...
issue while trying to run go1.16
on vscode. I was able to resolve this by updating delve to use 1.6.1
for the fix in wrong g address (not exactly sure what this is for but I’m guessing it’s got to do with reading memory address) (src). I was also facing an issue whereby my filepath wasn’t resolving properly in program and the update solved it as well
Not sure if this is the clean way to do it but the way I updated dlv from 1.6 was :
rm -rf $GOPATH/bin/dlv
- run
go install github.com/go-delve/delve/cmd/dlv@v1.6.1
- restarted vscode and the debug was working fine
Hope this helps 😄
When we follow https://ffri.github.io/ProjectChampollion/appendix/ to debug at arm64 instruction-level debug, there are many strange issues, such as:
- If a watchpoint is set, rosetta runtime will fail with «rosetta error: failed to allocate vm space for aot». An example session follows:
[email protected] bt % lldb -- ./runner ./float
(lldb) target create "./runner"
Current executable set to '/Users/lisa/bt/runner' (arm64).
(lldb) settings set -- target.run-args "./float"
(lldb) r
Process 9182 launched: '/Users/lisa/bt/runner' (arm64)
Process 9182 stopped
* thread #2, stop reason = exec
frame #0: 0x00007ffdfffbc3ec runtime`_mh_execute_header + 17388
runtime`_mh_execute_header:
-> 0x7ffdfffbc3ec <+17388>: mov x19, sp
0x7ffdfffbc3f0 <+17392>: and sp, x19, #0xfffffffffffffff0
0x7ffdfffbc3f4 <+17396>: mov x29, sp
0x7ffdfffbc3f8 <+17400>: ldr x20, [x19, #0x20]
Target 0: (runtime) stopped.
(lldb) watchpoint set expression 0x7ffdfffbc3f0 ====> set a watchpoint that won't hit
Watchpoint created: Watchpoint 1: addr = 0x7ffdfffbc3f0 size = 8 state = enabled ...
new value: -7998388550590730625
(lldb) c
Process 9182 resuming
rosetta error: failed to allocate vm space for aot =========> will cause such failure
Process 9182 stopped
* thread #2, stop reason = signal SIGTRAP
frame #0: 0x00007ffdfffd4d38 runtime`_mh_execute_header + 118072
runtime`_mh_execute_header:
-> 0x7ffdfffd4d38 <+118072>: brk #0x1
0x7ffdfffd4d3c <+118076>: stp x20, x19, [sp, #-0x20]!
0x7ffdfffd4d40 <+118080>: stp x29, x30, [sp, #0x10]
0x7ffdfffd4d44 <+118084>: add x29, sp, #0x10 ; =0x10
Target 0: (runtime) stopped.
(lldb)
- command might struck. e.g.
[email protected] bt % lldb -- ./runner ./lazy ===> lazy has a dead loop in main()
(lldb) target create "./runner"
Current executable set to '/Users/lisa/bt/runner' (arm64).
(lldb) settings set -- target.run-args "./lazy"
(lldb) r
Process 9235 launched: '/Users/lisa/bt/runner' (arm64)
Process 9235 stopped
* thread #2, stop reason = exec
frame #0: 0x00007ffdfffbc3ec runtime`_mh_execute_header + 17388
runtime`_mh_execute_header:
-> 0x7ffdfffbc3ec <+17388>: mov x19, sp
0x7ffdfffbc3f0 <+17392>: and sp, x19, #0xfffffffffffffff0
0x7ffdfffbc3f4 <+17396>: mov x29, sp
0x7ffdfffbc3f8 <+17400>: ldr x20, [x19, #0x20]
Target 0: (runtime) stopped.
(lldb) c
Process 9235 resuming
Process 9235 stopped ====> type ctrl+c to stop in the main function of lazy
* thread #2, stop reason = signal SIGSTOP
frame #0: 0x0000000100011018
-> 0x100011018: ldur w0, [x5, #-0x8]
0x10001101c: cmp w0, #0x0 ; =0x0
0x100011020: b.eq 0x100011028
0x100011024: b 0x100011018
Target 0: (runtime) stopped.
(lldb) si ========> stuck here
and so on.
Go doesn’t officially support darwin/arm64 until go1.16, delve won’t ufficially support go1.16 until 1.6.0, we don’t have access to darwin/arm64 machines to port delve to them so support for delve on darwin/arm64 is unplanned. It’s highly unlikely that debuggers can work through rosetta.
I have started with a darwin-arm64 branch on my fork here. https://github.com/oxisto/delve/tree/darwin-arm64
I basically just started this a couple of hours ago. The native code seems to compile (I am pretty sure it is not functional yet), but Go still throws some link errors. I am not too familiar with that kind of low level programming, so I need some more prep time to fully understand all of it.
Beware, you need a recent Go version that can compile darwin/arm64, i.e. installed using go tip.
Update : Ah, looks like I was going down the wrong route using the native backend. I think I might need to have a better understanding of delve first, I will continue with this tomorrow.
The native code has always had problems, the backend that’s being used by default is in pkg/proc/gdbserial, I would focus on that.
The native code has always had problems, the backend that’s being used by default is in pkg/proc/gdbserial, I would focus on that.
Thanks for the pointer in the right direction. I have begun working in this direction on a second fork (https://github.com/oxisto/delve/tree/darwin-arm64-lldb) just by duplicating code for the gdbserver for arm64 now. Spawning an executable works but setting a breakpoint already crashes. I will continue working in this direction then. I will also apply for the mailing list, as you would like to move the discussion there and not on the GitHub issues if I have seen the guidelines correctly.
Is is possible to test a fork of version currently, or is this issue still awaiting other changes? (:
Posted Tue April 19, 2022 03:11 PM
Hi,
SPSS 28.0.0.0 is unable to launch upon installation, giving the error message «stats quit unexpectedly», with the problem details as follows:
————————————-
Translated Report (Full Report Below)
————————————-
Incident Identifier: D06195BB-670F-44E2-9471-36B4CF0E2665
CrashReporter Key: DD0C3CD0-4261-CD4D-EFEB-885956B89C07
Hardware Model: MacBookPro17,1
Process: stats [28390]
Path: /Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/MacOS/stats
Identifier: com.ibm.spss.statistics.one
Version: 28.0.0.0 (28.0.0.0)
Code Type: X86-64 (Native)
Role: Default
Parent Process: launchd [1]
Coalition: com.ibm.spss.statistics.one [38715]
Date/Time: 2022-04-20 02:12:28.3533 +0800
Launch Time: 2022-04-20 02:12:28.2877 +0800
OS Version: macOS 12.3.1 (21E258)
Release Type: User
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7ffd669c8
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [28390]
Triggered by Thread: 0
Application Specific Information:
rosetta error: /var/db/oah/279293133324288_279293133324288/a0ecb0d879424a8c43c5dfebf328d324b91bc9b00963101e39732edaa26161cb/stats.aot: attachment of code signature supplement failed: 1
Thread 0 Crashed:
0 runtime 0x7ff7ffd669c8 0x7ff7ffd49000 + 121288
1 runtime 0x7ff7ffd66a10 0x7ff7ffd49000 + 121360
2 runtime 0x7ff7ffd5d26c 0x7ff7ffd49000 + 82540
3 runtime 0x7ff7ffd5e34c 0x7ff7ffd49000 + 86860
4 runtime 0x7ff7ffd5dac4 0x7ff7ffd49000 + 84676
5 runtime 0x7ff7ffd4cb40 0x7ff7ffd49000 + 15168
6 dyld 0x204e25000 ???
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000003 x2: 0x000000000000003c x3: 0x000000000000002c
x4: 0x0000000000000303 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000009220
x8: 0x00007ff7ffd84000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x00007ff7ffd84934
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x000001b900000100 x15: 0x00007ff7ffd6c828
x16: 0xffffffffffffffe1 x17: 0x00007ff7ffd756ee x18: 0x000000030d95506b x19: 0x00007ff7ffd7a2e1
x20: 0x000000030d955720 x21: 0x0000000104a8c000 x22: 0x0000000000000004 x23: 0x0000000104a8c000
x24: 0x0000000000000003 x25: 0x0000000000000001 x26: 0x000000030d954b80 x27: 0x0000000204ea51c0
x28: 0x000000030d95d950 fp: 0x000000030d953980 lr: 0x00007ff7ffd669c0
sp: 0x000000030d953960 pc: 0x00007ff7ffd669c8 cpsr: 0x60001000
far: 0x000000030d953998 esr: 0xf2000001 (Breakpoint) brk 1
Binary Images:
0x7ff7ffd49000 — 0x7ff7ffd78fff runtime (*) <24497be3-a1b4-360a-b90e-cde9ce78a93b> /usr/libexec/rosetta/runtime
0x204e25000 — 0x204e90fff dyld (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> /usr/lib/dyld
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
————
Full Report
————
{«app_name»:»stats»,»timestamp»:»2022-04-20 02:12:28.00 +0800″,»app_version»:»28.0.0.0″,»slice_uuid»:»4d78330b-b390-3be1-b9fd-c2d06cfbc798″,»build_version»:»28.0.0.0″,»platform»:0,»bundleID»:»com.ibm.spss.statistics.one»,»share_with_app_devs»:1,»is_first_party»:0,»bug_type»:»309″,»os_version»:»macOS 12.3.1 (21E258)»,»incident_id»:»D06195BB-670F-44E2-9471-36B4CF0E2665″,»name»:»stats»}
{
«uptime» : 270000,
«procLaunch» : «2022-04-20 02:12:28.2877 +0800»,
«procRole» : «Default»,
«version» : 2,
«userID» : 501,
«deployVersion» : 210,
«modelCode» : «MacBookPro17,1»,
«procStartAbsTime» : 6564885313044,
«coalitionID» : 38715,
«osVersion» : {
«train» : «macOS 12.3.1»,
«build» : «21E258»,
«releaseType» : «User»
},
«captureTime» : «2022-04-20 02:12:28.3533 +0800»,
«incident» : «D06195BB-670F-44E2-9471-36B4CF0E2665»,
«bug_type» : «309»,
«pid» : 28390,
«procExitAbsTime» : 6564885839409,
«translated» : true,
«cpuType» : «X86-64»,
«procName» : «stats»,
«procPath» : «/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/MacOS/stats»,
«bundleInfo» : {«CFBundleShortVersionString»:»28.0.0.0″,»CFBundleVersion»:»28.0.0.0″,»CFBundleIdentifier»:»com.ibm.spss.statistics.one»},
«storeInfo» : {«deviceIdentifierForVendor»:»AC19CE69-5804-53F6-B2B5-745E7951DCEA»,»thirdParty»:true},
«parentProc» : «launchd»,
«parentPid» : 1,
«coalitionName» : «com.ibm.spss.statistics.one»,
«crashReporterKey» : «DD0C3CD0-4261-CD4D-EFEB-885956B89C07»,
«wakeTime» : 9681,
«sleepWakeUUID» : «0C638CEC-749B-47C0-8C2E-8E74F2F6D2F4»,
«sip» : «enabled»,
«isCorpse» : 1,
«exception» : {«codes»:»0x0000000000000001, 0x00007ff7ffd669c8″,»rawCodes»:[1,140703125891528],»type»:»EXC_BREAKPOINT»,»signal»:»SIGTRAP»},
«termination» : {«flags»:0,»code»:5,»namespace»:»SIGNAL»,»indicator»:»Trace/BPT trap: 5″,»byProc»:»exc handler»,»byPid»:28390},
«asi» : {«runtime»:[«rosetta error: /var/db/oah/279293133324288_279293133324288/a0ecb0d879424a8c43c5dfebf328d324b91bc9b00963101e39732edaa26161cb/stats.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»:0},»targeted»:{«thread_create»:0,»thread_set_state»:0,»task_for_pid»:0},»warnings»:0},
«faultingThread» : 0,
«threads» : [{«triggered»:true,»id»:3084163,»threadState»:{«x»:[{«value»:0},{«value»:3},{«value»:60},{«value»:44},{«value»:771},{«value»:0},{«value»:0},{«value»:37408},{«value»:140703126011904},{«value»:0},{«value»:0},{«value»:140703126014260,»symbolLocation»:204,»symbol»:»__crashreporter_info__»},{«value»:0},{«value»:0},{«value»:1894080577792},{«value»:140703125915688},{«value»:18446744073709551585},{«value»:140703125952238},{«value»:13112791147},{«value»:140703125971681},{«value»:13112792864},{«value»:4373135360},{«value»:4},{«value»:4373135360},{«value»:3},{«value»:1},{«value»:13112789888},{«value»:8672399808,»symbolLocation»:0,»symbol»:»dyld_all_image_infos»},{«value»:13112826192}],»flavor»:»ARM_THREAD_STATE64″,»lr»:{«value»:140703125891520},»cpsr»:{«value»:1610616832},»fp»:{«value»:13112785280},»sp»:{«value»:13112785248},»esr»:{«value»:4060086273,»description»:»(Breakpoint) brk 1″},»pc»:{«value»:140703125891528,»matchesCrashFrame»:1},»far»:{«value»:13112785304}},»frames»:[{«imageOffset»:121288,»imageIndex»:0},{«imageOffset»:121360,»imageIndex»:0},{«imageOffset»:82540,»imageIndex»:0},{«imageOffset»:86860,»imageIndex»:0},{«imageOffset»:84676,»imageIndex»:0},{«imageOffset»:15168,»imageIndex»:0},{«imageOffset»:0,»imageIndex»:1}]}],
«usedImages» : [
{
«source» : «P»,
«arch» : «arm64»,
«base» : 140703125770240,
«size» : 196608,
«uuid» : «24497be3-a1b4-360a-b90e-cde9ce78a93b»,
«path» : «/usr/libexec/rosetta/runtime»,
«name» : «runtime»
},
{
«source» : «P»,
«arch» : «x86_64»,
«base» : 8671875072,
«size» : 442368,
«uuid» : «dd9e80de-fb3b-349b-96a4-46874ad34d11»,
«path» : «/usr/lib/dyld»,
«name» : «dyld»
}
],
«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%)nn VIRTUAL REGION nREGION TYPE SIZE COUNT (non-coalesced) n=========== ======= ======= nSTACK GUARD 56.0M 1 nStack 8176K 1 nVM_ALLOCATE 13.3M 4 nVM_ALLOCATE (reserved) 44K 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 31 n=========== ======= ======= nTOTAL 6.1G 48 nTOTAL, minus reserved VM space 6.1G 48 n»,
«legacyInfo» : {
«threadTriggered» : {
}
},
«trialInfo» : {
«rollouts» : [
{
«rolloutId» : «61af99aeda72d16a4beb7756»,
«factorPackIds» : {
«SIRI_DIALOG_ASSETS» : «6254aef2dadcf4388c93adf7»
},
«deploymentId» : 240000093
},
{
«rolloutId» : «5fc94383418129005b4e9ae0»,
«factorPackIds» : {
},
«deploymentId» : 240000334
}
],
«experiments» : [
]
},
«reportNotes» : [
«dyld_process_snapshot_get_shared_cache failed»
]
}
Model: MacBookPro17,1, BootROM 7459.101.3, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Feb 8 2022 01:44:45 version 18.60.21.0.7.8.126 FWID 01-1cdae627
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: USB3.0 Hub
USB Device: USB3.0 Card Reader
USB Device: 4-Port USB 3.0 Hub
USB Device: BUP Slim
USB Device: USB 10/100/1000 LAN
USB Device: USB2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: USB Gaming Mouse
USB Device: PreSonus AudioBox iTwo
USB Device: USB 2.0 BILLBOARD
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Does anyone know how to fix this?
——————————
russell loo
——————————
#SPSSStatistics
Accepted Reply
Here is The full report:
{«app_name»:»toadEdge»,»timestamp»:»2022-08-18 10:27:48.00 -0600″,»app_version»:»2.4.2″,»slice_uuid»:»309c3362-9c20-e13d-f566-5e8eef1d3d7f»,»build_version»:»20220425.111355″,»platform»:0,»bundleID»:»com.quest.Toad»,»share_with_app_devs»:0,»is_first_party»:0,»bug_type»:»309″,»os_version»:»macOS 12.2.1 (21D62)»,»incident_id»:»4166A55C-C171-46D5-B74F-02F9F22B52AB»,»name»:»toadEdge»}
{
«uptime» : 86000,
«procLaunch» : «2022-08-18 10:27:48.0478 -0600»,
«procRole» : «Default»,
«version» : 2,
«userID» : 501,
«deployVersion» : 210,
«modelCode» : «MacBookPro18,3»,
«procStartAbsTime» : 2074360438950,
«coalitionID» : 22152,
«osVersion» : {
«train» : «macOS 12.2.1»,
«build» : «21D62»,
«releaseType» : «User»
},
«captureTime» : «2022-08-18 10:27:48.0691 -0600»,
«incident» : «4166A55C-C171-46D5-B74F-02F9F22B52AB»,
«bug_type» : «309»,
«pid» : 13214,
«procExitAbsTime» : 2074360763063,
«translated» : true,
«cpuType» : «X86-64»,
«procName» : «toadEdge»,
«procPath» : «/Applications/Toad Edge.app/Contents/MacOS/toadEdge»,
«bundleInfo» : {«CFBundleShortVersionString»:»2.4.2″,»CFBundleVersion»:»20220425.111355″,»CFBundleIdentifier»:»com.quest.Toad»},
«storeInfo» : {«deviceIdentifierForVendor»:»C8807536-5991-5117-B599-745EEC261CE1″,»thirdParty»:true},
«parentProc» : «launchd»,
«parentPid» : 1,
«coalitionName» : «com.quest.Toad»,
«crashReporterKey» : «B9982103-B32E-285B-1B13-B7EFB015AE82»,
«wakeTime» : 863,
«sleepWakeUUID» : «54265365-DC0E-42E3-B5EC-096CE761DAE8»,
«sip» : «enabled»,
«isCorpse» : 1,
«exception» : {«codes»:»0x0000000000000001, 0x00007ff7fffc8af8″,»rawCodes»:[1,140703128390392],»type»:»EXC_BREAKPOINT»,»signal»:»SIGTRAP»},
«termination» : {«flags»:0,»code»:5,»namespace»:»SIGNAL»,»indicator»:»Trace/BPT trap: 5″,»byProc»:»exc handler»,»byPid»:13214},
«asi» : {«runtime»:[«rosetta error: /var/db/oah/279281327407104_279281327407104/2c48b7b0fe1db3047a680d619c13c479316f70a4fd22c90c92aae27911abbfc2/toadEdge.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»:0},»targeted»:{«thread_create»:0,»thread_set_state»:0,»task_for_pid»:0},»warnings»:0},
«faultingThread» : 0,
«threads» : [{«triggered»:true,»id»:1810847,»threadState»:{«x»:[{«value»:0},{«value»:3},{«value»:60},{«value»:44},{«value»:771},{«value»:0},{«value»:0},{«value»:0},{«value»:140703128514560},{«value»:0},{«value»:0},{«value»:140703128516939,»symbolLocation»:195,»symbol»:»crashreporter_info«},{«value»:0},{«value»:0},{«value»:0},{«value»:140703128418344},{«value»:18446744073709551585},{«value»:4294967295},{«value»:12954591355},{«value»:140703128474337},{«value»:12954593072},{«value»:4295012352},{«value»:4},{«value»:4295012352},{«value»:3},{«value»:1},{«value»:12954590096},{«value»:8592323000,»symbolLocation»:0,»symbol»:»dyld_all_image_infos»},{«value»:12954626400}],»flavor»:»ARM_THREAD_STATE64″,»lr»:{«value»:140703128390384},»cpsr»:{«value»:1610616832},»fp»:{«value»:12954585456},»sp»:{«value»:12954585424},»esr»:{«value»:4060086273,»description»:»(Breakpoint) brk 1″},»pc»:{«value»:140703128390392,»matchesCrashFrame»:1},»far»:{«value»:12954585480}},»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» : 140703128272896,
«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.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=21.2M(100%)nn 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) 56K 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» : «622657ce37186c771d5404ad»
},
«deploymentId» : 240000416
},
{
«rolloutId» : «607844aa04477260f58a8077»,
«factorPackIds» : {
«SIRI_MORPHUN_ASSETS» : «6103050cbfe6dc472e1c982a»
},
«deploymentId» : 240000066
},
{
«rolloutId» : «5fb4245a1bbfe8005e33a1e1»,
«factorPackIds» : {
},
"deploymentId" : 240000015
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
},
"deploymentId" : 240000305
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000179
},
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
},
"deploymentId" : 240000025
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000441
}
],
«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
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Replies
Here is The full report:
{«app_name»:»toadEdge»,»timestamp»:»2022-08-18 10:27:48.00 -0600″,»app_version»:»2.4.2″,»slice_uuid»:»309c3362-9c20-e13d-f566-5e8eef1d3d7f»,»build_version»:»20220425.111355″,»platform»:0,»bundleID»:»com.quest.Toad»,»share_with_app_devs»:0,»is_first_party»:0,»bug_type»:»309″,»os_version»:»macOS 12.2.1 (21D62)»,»incident_id»:»4166A55C-C171-46D5-B74F-02F9F22B52AB»,»name»:»toadEdge»}
{
«uptime» : 86000,
«procLaunch» : «2022-08-18 10:27:48.0478 -0600»,
«procRole» : «Default»,
«version» : 2,
«userID» : 501,
«deployVersion» : 210,
«modelCode» : «MacBookPro18,3»,
«procStartAbsTime» : 2074360438950,
«coalitionID» : 22152,
«osVersion» : {
«train» : «macOS 12.2.1»,
«build» : «21D62»,
«releaseType» : «User»
},
«captureTime» : «2022-08-18 10:27:48.0691 -0600»,
«incident» : «4166A55C-C171-46D5-B74F-02F9F22B52AB»,
«bug_type» : «309»,
«pid» : 13214,
«procExitAbsTime» : 2074360763063,
«translated» : true,
«cpuType» : «X86-64»,
«procName» : «toadEdge»,
«procPath» : «/Applications/Toad Edge.app/Contents/MacOS/toadEdge»,
«bundleInfo» : {«CFBundleShortVersionString»:»2.4.2″,»CFBundleVersion»:»20220425.111355″,»CFBundleIdentifier»:»com.quest.Toad»},
«storeInfo» : {«deviceIdentifierForVendor»:»C8807536-5991-5117-B599-745EEC261CE1″,»thirdParty»:true},
«parentProc» : «launchd»,
«parentPid» : 1,
«coalitionName» : «com.quest.Toad»,
«crashReporterKey» : «B9982103-B32E-285B-1B13-B7EFB015AE82»,
«wakeTime» : 863,
«sleepWakeUUID» : «54265365-DC0E-42E3-B5EC-096CE761DAE8»,
«sip» : «enabled»,
«isCorpse» : 1,
«exception» : {«codes»:»0x0000000000000001, 0x00007ff7fffc8af8″,»rawCodes»:[1,140703128390392],»type»:»EXC_BREAKPOINT»,»signal»:»SIGTRAP»},
«termination» : {«flags»:0,»code»:5,»namespace»:»SIGNAL»,»indicator»:»Trace/BPT trap: 5″,»byProc»:»exc handler»,»byPid»:13214},
«asi» : {«runtime»:[«rosetta error: /var/db/oah/279281327407104_279281327407104/2c48b7b0fe1db3047a680d619c13c479316f70a4fd22c90c92aae27911abbfc2/toadEdge.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»:0},»targeted»:{«thread_create»:0,»thread_set_state»:0,»task_for_pid»:0},»warnings»:0},
«faultingThread» : 0,
«threads» : [{«triggered»:true,»id»:1810847,»threadState»:{«x»:[{«value»:0},{«value»:3},{«value»:60},{«value»:44},{«value»:771},{«value»:0},{«value»:0},{«value»:0},{«value»:140703128514560},{«value»:0},{«value»:0},{«value»:140703128516939,»symbolLocation»:195,»symbol»:»crashreporter_info«},{«value»:0},{«value»:0},{«value»:0},{«value»:140703128418344},{«value»:18446744073709551585},{«value»:4294967295},{«value»:12954591355},{«value»:140703128474337},{«value»:12954593072},{«value»:4295012352},{«value»:4},{«value»:4295012352},{«value»:3},{«value»:1},{«value»:12954590096},{«value»:8592323000,»symbolLocation»:0,»symbol»:»dyld_all_image_infos»},{«value»:12954626400}],»flavor»:»ARM_THREAD_STATE64″,»lr»:{«value»:140703128390384},»cpsr»:{«value»:1610616832},»fp»:{«value»:12954585456},»sp»:{«value»:12954585424},»esr»:{«value»:4060086273,»description»:»(Breakpoint) brk 1″},»pc»:{«value»:140703128390392,»matchesCrashFrame»:1},»far»:{«value»:12954585480}},»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» : 140703128272896,
«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.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=21.2M(100%)nn 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) 56K 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» : «622657ce37186c771d5404ad»
},
«deploymentId» : 240000416
},
{
«rolloutId» : «607844aa04477260f58a8077»,
«factorPackIds» : {
«SIRI_MORPHUN_ASSETS» : «6103050cbfe6dc472e1c982a»
},
«deploymentId» : 240000066
},
{
«rolloutId» : «5fb4245a1bbfe8005e33a1e1»,
«factorPackIds» : {
},
"deploymentId" : 240000015
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
},
"deploymentId" : 240000305
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000179
},
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
},
"deploymentId" : 240000025
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000441
}
],
«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
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
For anyone encountering this issue with all Rosetta applications as I did once I rolled back from OS X Ventura’s beta to OS X Monteray, please refer to the following repository with instructions on re-installing Rosetta on OS X Monteray. This will once again allow you to run Rosetta applications sans-crash.
https://github.com/ridafkih/rosetta-launch-failure