Skip to content

not starting with huge environment #1333

@lobeck

Description

@lobeck

I've started an EC2 Instance with bottlerocket-aws-k8s-1.32-aarch64-v1.46.0-431fe75a in an EKS cluster today.

I'm trying to run it with the following command: kubectl run goten -it --image=gotenberg/gotenberg:8 --restart=Never --command -- bash

When I now try to run it, it immediately exists with exit code 127. Sometimes I get

fatal error: failed to get system page size
runtime: panic before malloc heap initialized

runtime stack:
runtime.throw({0xa71330?, 0x128bde0?})
	/usr/local/go/src/runtime/panic.go:1101 +0x38 fp=0xffffc3b0a1f0 sp=0xffffc3b0a1c0 pc=0x84428
runtime.mallocinit()
	/usr/local/go/src/runtime/malloc.go:387 +0x328 fp=0xffffc3b0a230 sp=0xffffc3b0a1f0 pc=0x25c18
runtime.schedinit()
	/usr/local/go/src/runtime/proc.go:836 +0xe8 fp=0xffffc3b0a2c0 sp=0xffffc3b0a230 pc=0x520d8
runtime.rt0_go()
	/usr/local/go/src/runtime/asm_arm64.s:86 +0xa4 fp=0xffffc3b0a2f0 sp=0xffffc3b0a2c0 pc=0x89ae4

The same binary has no issues on other ARM nodes with for example Ubuntu as base image.

Additional debug:

gotenberg@goten:~$ gotenberg
gotenberg@goten:~$ id
uid=1001(gotenberg) gid=1001(gotenberg) groups=1001(gotenberg),0(root)
gotenberg@goten:~$ uname -a
Linux goten 6.1.147 #1 SMP Mon Aug 25 22:48:50 UTC 2025 aarch64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions