Clayton on Nostr: I found a weird crash that seems to involve running #golang apps compiled for amd64 ...
I found a weird crash that seems to involve running #golang apps compiled for amd64 on an aarch64 system using #qemu.
It seems to be related to the Go GC, GOGC=off works. Go 1.20 also works.
The crash output from Go runtime is in this issue, but I've been able to reproduce this when building a very simple hello world app for amd64:
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2382Both Go's runtime/GC and qemu are complicated things I suck at debugging 😞
Help me fediverse, you're my only hope.
Published at
2024-09-04 18:58:05Event JSON
{
"id": "e4db919c20ee8459ce1afaac796345fef90f474d4759d7ae0080706bdccac6aa",
"pubkey": "935d56f9b5e97312161ebe6a818dab078eae46e2d723de635134ea7d6db15521",
"created_at": 1725476285,
"kind": 1,
"tags": [
[
"t",
"golang"
],
[
"t",
"qemu"
],
[
"proxy",
"https://freeradical.zone/@craftyguy/113080813864890961",
"web"
],
[
"proxy",
"https://freeradical.zone/users/craftyguy/statuses/113080813864890961",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://freeradical.zone/users/craftyguy/statuses/113080813864890961",
"pink.momostr"
],
[
"-"
]
],
"content": "I found a weird crash that seems to involve running #golang apps compiled for amd64 on an aarch64 system using #qemu. \n\nIt seems to be related to the Go GC, GOGC=off works. Go 1.20 also works.\n\nThe crash output from Go runtime is in this issue, but I've been able to reproduce this when building a very simple hello world app for amd64:\n\nhttps://gitlab.com/postmarketOS/pmbootstrap/-/issues/2382\n\nBoth Go's runtime/GC and qemu are complicated things I suck at debugging 😞\n\nHelp me fediverse, you're my only hope.",
"sig": "07fd7c6cc888bd7e59170ae74ad9fe8d859a7a0c9ac9de75b3af68d1238f2258bc1f26ef2d6a04656ce91ceb612d55bdca8907f50b2876e409015060739f71db"
}