You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
//go:noinlinefunccrash(xint) {
panic(x)
}
funcmain() {
crash(5)
}
Based on the release notes for the 1.17 beta 1 I've tried to check the new stack trace format. I've put together a simple program, which crashes und purpose. If run on darwin/arm64 the output is as expected:
The same program cross compiled to linux/amd64 does not contain the value 0x5 but instead shows 0xc0000001a0. The output of 0xc0000001a0 is consistent for multiple machines and builds. I've tried to repeat this test with a windows machine and the output is also _0xc0000001a0. I'm not sure if this is related to linux<>darwin or to arm64<>amd64.
What did you expect to see?
I would expect to see 0x5 under linux/amd64 as well.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Based on the release notes for the 1.17 beta 1 I've tried to check the new stack trace format. I've put together a simple program, which crashes und purpose. If run on darwin/arm64 the output is as expected:
darwin/arm64
The same program cross compiled to linux/amd64 does not contain the value 0x5 but instead shows 0xc0000001a0. The output of 0xc0000001a0 is consistent for multiple machines and builds. I've tried to repeat this test with a windows machine and the output is also _0xc0000001a0. I'm not sure if this is related to linux<>darwin or to arm64<>amd64.
What did you expect to see?
I would expect to see 0x5 under linux/amd64 as well.
What did you see instead?
linux/amd64
The text was updated successfully, but these errors were encountered: