创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
4.19.90-25.43.v2101.ky10.aarch64
Kubernetes版本信息
v1.22.12。 单节点
容器运行时
Docker v19.03.15
KubeSphere版本信息
kubesphere v3.3.1。 kk安装
问题是什么
devops-argocd-applicationset-controller 出现了fatal error: lfstack.push
镜像信息
quay.io/argoproj/argocd-applicationset:v0.4.1
"Architecture": "amd64"
我安装了QEMU架构模拟器,所以可以在aarch64的服务器上使用amd64架构的镜像。
以下为容器日志
runtime: lfstack.push invalid packing: node=0xfffc5265b7c0 cnt=0x1 packed=0xfffc5265b7c00001 -> node=0xfffffffc5265b7c0
fatal error: lfstack.push
runtime stack:
runtime.throw({0x22ca6e2, 0x39857a8})
/usr/local/go/src/runtime/panic.go:1198 +0x71
runtime.(*lfstack).push(0x10, 0xc00004c080)
/usr/local/go/src/runtime/lfstack.go:30 +0x125
runtime.(*spanSetBlockAlloc).free(...)
/usr/local/go/src/runtime/mspanset.go:292
runtime.(*spanSet).reset(0x3995a40)
/usr/local/go/src/runtime/mspanset.go:265 +0x70
runtime.finishsweep_m()
/usr/local/go/src/runtime/mgcsweep.go:145 +0x8a
runtime.gcStart.func1()
/usr/local/go/src/runtime/mgc.go:660 +0x17
runtime.systemstack()
/usr/local/go/src/runtime/asm_amd64.s:383 +0x49
goroutine 1 [running, locked to thread]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:350 fp=0xc00053ef48 sp=0xc00053ef40 pc=0x462b40
runtime.gcStart({0xfffc79731878, 0x2500, 0x53f010})
/usr/local/go/src/runtime/mgc.go:659 +0x449 fp=0xc00053efc8 sp=0xc00053ef48 pc=0x4199c9
runtime.mallocgc(0x2310, 0x209d7e0, 0x1)
/usr/local/go/src/runtime/malloc.go:1180 +0x83d fp=0xc00053f048 sp=0xc00053efc8 pc=0x40d0dd
runtime.newarray(0xc000215620, 0xc0002a5d50)
/usr/local/go/src/runtime/malloc.go:1256 +0x52 fp=0xc00053f070 sp=0xc00053f048 pc=0x40d332
runtime.makeBucketArray(0xc00053f160, 0xa9, 0x1f0a6a0)
/usr/local/go/src/runtime/map.go:362 +0x18e fp=0xc00053f0b0 sp=0xc00053f070 pc=0x40e16e
runtime.hashGrow(0xc00053f340, 0xc0006b9e60)
/usr/local/go/src/runtime/map.go:1036 +0x79 fp=0xc00053f0f0 sp=0xc00053f0b0 pc=0x40fbb9
runtime.mapassign(0x1f0aac0, 0xc0006b9e60, 0xc0004195e0)
/usr/local/go/src/runtime/map.go:648 +0xd4 fp=0xc00053f170 sp=0xc00053f0f0 pc=0x40e994
k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypeWithName(0xc000419030, {{0x22be5f0, 0x4}, {0x22bd8d7, 0x2}, {0x1cd6e06, 0xa}}, {0x25ce0b8, 0xc0003cc000})
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme.go:174 +0x2a8 fp=0xc00053f3e0 sp=0xc00053f170 pc=0x9c00e8
k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypes(0x22e2ed5, {{0x22be5f0, 0x22c6f4e}, {0x22bd8d7, 0x22c6dfa}}, {0xc00053f560, 0xa, 0x19})
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme.go:148 +0x1e5 fp=0xc00053f4d0 sp=0xc00053f3e0 pc=0x9bfd85
k8s.io/api/apps/v1.addKnownTypes(0xc000419030)
/go/pkg/mod/k8s.io/api@v0.23.1/apps/v1/register.go:46 +0x24b fp=0xc00053f610 sp=0xc00053f4d0 pc=0xe4676b
k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme(0x2, 0x22c6dfa)
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme_builder.go:29 +0x5c fp=0xc00053f648 sp=0xc00053f610 pc=0x9c541c
k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme-fm(0xc0004e37c0)
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme_builder.go:27 +0x2c fp=0xc00053f668 sp=0xc00053f648 pc=0xb6058c
k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme(0x25d03b8, 0xc00018d310)
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme_builder.go:29 +0x5c fp=0xc00053f6a0 sp=0xc00053f668 pc=0x9c541c
k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme-fm(0xc000360c40)
/go/pkg/mod/k8s.io/apimachinery@v0.23.1/pkg/runtime/scheme_builder.go:27 +0x2c fp=0xc00053f6c0 sp=0xc00053f6a0 pc=0xb6058c
k8s.io/client-go/kubernetes/scheme.init.0()
/go/pkg/mod/k8s.io/client-go@v0.23.1/kubernetes/scheme/register.go:143 +0x44 fp=0xc00053f6f8 sp=0xc00053f6c0 pc=0x14b1dc4
runtime.doInit(0x387fc80)
/usr/local/go/src/runtime/proc.go:6498 +0x123 fp=0xc00053f830 sp=0xc00053f6f8 pc=0x444143
runtime.doInit(0x3876460)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053f968 sp=0xc00053f830 pc=0x444091
runtime.doInit(0x387ed60)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053faa0 sp=0xc00053f968 pc=0x444091
runtime.doInit(0x38747e0)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053fbd8 sp=0xc00053faa0 pc=0x444091
runtime.doInit(0x387ea20)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053fd10 sp=0xc00053fbd8 pc=0x444091
runtime.doInit(0x386a380)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053fe48 sp=0xc00053fd10 pc=0x444091
runtime.doInit(0x3879400)
/usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc00053ff80 sp=0xc00053fe48 pc=0x444091
runtime.main()
/usr/local/go/src/runtime/proc.go:238 +0x1e6 fp=0xc00053ffe0 sp=0xc00053ff80 pc=0x436f26
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00053ffe8 sp=0xc00053ffe0 pc=0x464c21
goroutine 18 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x0)
/go/pkg/mod/k8s.io/klog/v2@v2.30.0/klog.go:1181 +0x6a
created by k8s.io/klog/v2.init.0
/go/pkg/mod/k8s.io/klog/v2@v2.30.0/klog.go:420 +0xfb
goroutine 19 [select]:
github.com/patrickmn/go-cache.(*janitor).Run(0xc00038f970, 0x0)
/go/pkg/mod/github.com/patrickmn/go-cache@v2.1.0+incompatible/cache.go:1079 +0x89
created by github.com/patrickmn/go-cache.runJanitor
/go/pkg/mod/github.com/patrickmn/go-cache@v2.1.0+incompatible/cache.go:1099 +0xf2