cloudflare / cloudflare/cloudflared

🐛fatal error: failed to parse kernel version from uname runtime: panic before malloc heap initialized

Open
#1,676 0 comments 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

# ./cloudflared-linux-arm -v
fatal error: failed to parse kernel version from uname
runtime: panic before malloc heap initialized

runtime stack:

runtime stack:
runtime.throwruntime.throw(({{0xdec3a10xdec3a1, , 0x290x29}})
)
/usr/local/go/src/runtime/panic.go/usr/local/go/src/runtime/panic.go::12291229 + +0x340x34 fp= fp=0xbed033ec0xbed033ec sp= sp=0xbed033d80xbed033d8 pc= pc=0xb6ce00xb6ce0

runtime.getKernelVersionruntime.getKernelVersion(()
)
/usr/local/go/src/runtime/os_linux.go/usr/local/go/src/runtime/os_linux.go::956956 + +0xc40xc4 fp= fp=0xbed035a40xbed035a4 sp= sp=0xbed033ec0xbed033ec pc= pc=0x70db40x70db4

runtime.configure64bitsTimeOn32BitsArchitecturesruntime.configure64bitsTimeOn32BitsArchitectures((......)
)
/usr/local/go/src/runtime/os_linux32.go/usr/local/go/src/runtime/os_linux32.go::1414

runtime.osinitruntime.osinit(()
)
/usr/local/go/src/runtime/os_linux.go/usr/local/go/src/runtime/os_linux.go::357357 + +0x380x38 fp= fp=0xbed035b00xbed035b0 sp= sp=0xbed035a40xbed035a4 pc= pc=0x701100x70110

runtime.rt0_goruntime.rt0_go(()
)
/usr/local/go/src/runtime/asm_arm.s/usr/local/go/src/runtime/asm_arm.s::167167 + +0x780x78 fp= fp=0xbed035f00xbed035f0 sp= sp=0xbed035b00xbed035b0 pc= pc=0xbcbb00xbcbb0

# uname -a
Linux xxxxx 4.4.35#1 SMP Thu Feb 1 16:29:55 UTC 2024 armv7l armv7l armv7l GNU/Linux

#cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

**Environment and versions**

- Version: 2026.5.1 2026.5.2 2026.6.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.