go: runtime: morestack_noctxt missing SPWRITE, causes "traceback stuck" assert
What version of Go are you using (go version
)?
$ go version go version go1.18.5 linux/arm64
Does this issue reproduce with the latest release?
yes, repros on go1.19.
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GO111MODULE="" GOARCH="arm64" GOBIN="" GOCACHE="/home/lizf/.cache/go-build" GOENV="/home/lizf/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/lizf/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/lizf/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm64" GOVCS="" GOVERSION="go1.18.5" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3053713255=/tmp/go-build -gno-record-gcc-switches"
What did you do?
Run continuous profiling via scraping /debug/pprof endpoints including mutex and blocking profiles, while performing a workload consuming from Kafka using Sarama and Klauspost Zstd libraries.
runtime.SetBlockProfileRate(100000)
runtime.SetMutexProfileFraction(100)
What did you expect to see?
No crashes.
What did you see instead?
The following crashes implicating unexpected return pc for runtime.sigtramp
and traceback stuck
(assert added in https://go-review.googlesource.com/c/go/+/400575/ by @cherrymui / #52116 which was backported to go1.18.5):
runtime: traceback stuck. pc=0x12eb5 sp=0x4019365840
stack: frame={sp:0x4019365840, fp:0x4019365840} stack=[0x4019364000,0x4019366000)
0x0000004019365740: 0x0000000000ba9494 <github.com/Shopify/sarama.releaseCrc32Field+0x0000000000000034> 0x00000040193657b8
0x0000004019365750: 0x0000000000bcd8e0 <github.com/Shopify/sarama.(*realDecoder).pop+0x0000000000000060> 0x00000040193657c8
0x0000004019365760: 0x0000000000000000 0x0000000000000000
0x0000004019365770: 0x0000000000000700 0x0000000001068260
0x0000004019365780: 0x00000000010ab360 0x0000000000005701
0x0000004019365790: 0x0000000000000000 0x0000000000000000
0x00000040193657a0: 0x0000000000000000 0x0000004000601c00
0x00000040193657b0: 0x000000401c3c7100 0x00000040193657f8
0x00000040193657c0: 0x0000000000bd070c <github.com/Shopify/sarama.(*RecordBatch).decode+0x000000000000037c> 0x000000400ff4e0f0
0x00000040193657d0: 0x0000000000bd064c <github.com/Shopify/sarama.(*RecordBatch).decode+0x00000000000002bc> 0x0000004026c7805f
0x00000040193657e0: 0x0000000000107de8 <strings.HasSuffix+0x0000000000000058> 0x0000000000000000
0x00000040193657f0: 0x0000000000000000 0x00000040193658c8
0x0000004019365800: 0x0000000000bd0eac <github.com/Shopify/sarama.(*Records).decode+0x000000000000009c> 0x0000004017c948c0
0x0000004019365810: 0x0000004026d6cf92 0x0000000000012eb5 <internal/bytealg.IndexByteString+0x0000000000000005>
0x0000004019365820: 0x0000000000012eb5 <internal/bytealg.IndexByteString+0x0000000000000005> 0x0000004019365898
0x0000004019365830: 0x00012ee60001ce60 0x0000000000012eb5 <internal/bytealg.IndexByteString+0x0000000000000005>
0x0000004019365840: >0x0000000000012eb5 <internal/bytealg.IndexByteString+0x0000000000000005> 0x00000000000000d7
0x0000004019365850: 0x0000000000000000 0x0000004019365800
0x0000004019365860: 0x0000000000bd0474 <github.com/Shopify/sarama.(*RecordBatch).decode+0x00000000000000e4> 0x00000040193658b8
0x0000004019365870: 0x0000000000000000 0x0000000000000000
0x0000004019365880: 0x0000000000000000 0x0000000000000000
0x0000004019365890: 0x0000000000000000 0x0000004026d6cf92
0x00000040193658a0: 0x000000400ff4e0f0 0x0000000000000000
0x00000040193658b0: 0x0000000000000000 0x0000000000bd09c0 <github.com/Shopify/sarama.(*RecordBatch).decode.func1+0x0000000000000000>
0x00000040193658c0: 0x000000400ff4e0f0 0x0000004019365918
0x00000040193658d0: 0x0000000000bb6f1c <github.com/Shopify/sarama.(*FetchResponseBlock).decode+0x000000000000033c> 0x0000004012612c80
0x00000040193658e0: 0x000000000154bfa8 0x0000004017c948c0
0x00000040193658f0: 0x0000000000bb6f0c <github.com/Shopify/sarama.(*FetchResponseBlock).decode+0x000000000000032c> 0x0000000000000018
0x0000004019365900: 0x00000000010d87c0 0x0000004000048301
0x0000004019365910: 0x0000004017c94a40 0x00000040193659c8
0x0000004019365920: 0x0000000000bb78e8 <github.com/Shopify/sarama.(*FetchResponse).decode+0x00000000000002a8> 0x0000004009b9fc38
0x0000004019365930: 0x000000000154bfa8 0x0000004017c948c0
fatal error: traceback stuck
goroutine 0 [idle]:
runtime: unexpected return pc for runtime.sigtramp called from 0xffff985dc5c0
stack: frame={sp:0x400eacacd0, fp:0x400eacada0} stack=[0x400eac4000,0x400eacc000)
0x000000400eacabd0: 0x000000400eacac28 0x02c595e603246a9e
0x000000400eacabe0: 0x0000000002c595e5 0x000000400eaba000
0x000000400eacabf0: 0x0000000000000000 0x000000400eac9fe0
0x000000400eacac00: 0x0000004013a80000 0x000000400eacada0
0x000000400eacac10: 0x000000400eacae20 0x000000400eacac98
0x000000400eacac20: 0x000000000007d58c <runtime.sigtrampgo+0x000000000000001c> 0x000000400000001b
0x000000400eacac30: 0x0000004000601c00 0x000000400eacac58
0x000000400eacac40: 0x0000004000603040 0x02bcec7502c540fb
0x000000400eacac50: 0x00246aa103246aa0 0x0000000000000000
0x000000400eacac60: 0x0000000000000000 0x0000000000000000
0x000000400eacac70: 0x0000000000000000 0x0000000000000000
0x000000400eacac80: 0x0000004000603040 0x000000400eacada0
0x000000400eacac90: 0x000000400eacae20 0x000000400eacacc8
0x000000400eacaca0: 0x000000000007cea4 <runtime.sigtramp+0x0000000000000084> 0x000000000000001b
0x000000400eacacb0: 0x000000400eacada0 0x000000400eacae20
0x000000400eacacc0: 0x02c5956e03246a9e 0x000000400eacbff0
0x000000400eacacd0: <0x0000ffff985dc5c0 0x000000400000001b
0x000000400eacace0: 0x000000400eacada0 0x000000400eacae20
0x000000400eacacf0: 0x000000000005abba <runtime.selparkcommit+0x000000000000000a> 0x1265726f74537070
0x000000400eacad00: 0x021210eed9a50809 0x623824220118000a
0x000000400eacad10: 0x302d333733663636 0x0000000000000015
0x000000400eacad20: 0x0000000000000071 0x000000400b753e98
0x000000400eacad30: 0x000000000153a0c0 0x0000004000603040
0x000000400eacad40: 0x000000400eacacc8 0x3e66376972bea4d0
0x000000400eacad50: 0xbebbbd41c5d26bf1 0x3f11566aaf25de2c
0x000000400eacad60: 0xbf66c16c16bebd93 0x3fc5555555555555
0x000000400eacad70: 0x3fcde3175e2d734a 0x3ffc439d143a5197
0x000000400eacad80: 0xbfd1a21a8e7d2cb5 0x0000000000000000
0x000000400eacad90: 0x0404040202020303 0x0000000000000000
0x000000400eacada0: >0x000000000000001b 0x00000000fffffffe
0x000000400eacadb0: 0x0000000000000466 0x0000000000000000
0x000000400eacadc0: 0x0000000000000000 0x0000000000000000
0x000000400eacadd0: 0x0000000000000000 0x0000000000000000
0x000000400eacade0: 0x0000000000000000 0x0000000000000000
0x000000400eacadf0: 0x0000000000000000 0x0000000000000000
0x000000400eacae00: 0x0000000000000000 0x0000000000000000
0x000000400eacae10: 0x0000000000000000 0x0000000000000000
0x000000400eacae20: 0x0000000000000000 0x0000000000000000
0x000000400eacae30: 0x000000400eac4000 0x0000004000000000
0x000000400eacae40: 0x0000000000008000 0x0000000000000000
0x000000400eacae50: 0x0000000000000000 0x0000000000000000
0x000000400eacae60: 0x0000000000000000 0x0000000000000000
0x000000400eacae70: 0x00002a1c49103b0c 0x02bcec6f02b9baa6
0x000000400eacae80: 0x02b9baaf03246a9f 0x02c5956e02bcec75
0x000000400eacae90: 0x0000000000000000 0x0000004013a805d0
runtime.throw({0x1262952?, 0x1fae6c0?})
/usr/local/go/src/runtime/panic.go:992 +0x50
runtime.gentraceback(0x203ad80?, 0x400eac9a90?, 0x400eaca968?, 0x4000603040, 0x0, 0x400eaca968, 0x40, 0x0, 0x0?, 0x6)
/usr/local/go/src/runtime/traceback.go:488 +0xd98
runtime.sigprof(0x79650, 0x400eacac08?, 0x4013a80010?, 0x4000603040, 0x4000601c00)
/usr/local/go/src/runtime/proc.go:4507 +0xf0
runtime.sighandler(0x1b?, 0x4000601c00?, 0x400eacac58?, 0x4000603040?)
/usr/local/go/src/runtime/signal_unix.go:613 +0x514
runtime.sigtrampgo(0x1b, 0x400eacada0, 0x400eacae20)
/usr/local/go/src/runtime/signal_unix.go:477 +0x164
runtime.sigtrampgo(0x1b, 0x400eacada0, 0x400eacae20)
<autogenerated>:1 +0x1c
runtime: unexpected return pc for runtime.sigtramp called from 0xffff985dc5c0
stack: frame={sp:0x400eacacd0, fp:0x400eacada0} stack=[0x400eac4000,0x400eacc000)
0x000000400eacabd0: 0x000000400eacac28 0x02c595e603246a9e
0x000000400eacabe0: 0x0000000002c595e5 0x000000400eaba000
0x000000400eacabf0: 0x0000000000000000 0x000000400eac9fe0
0x000000400eacac00: 0x0000004013a80000 0x000000400eacada0
0x000000400eacac10: 0x000000400eacae20 0x000000400eacac98
0x000000400eacac20: 0x000000000007d58c <runtime.sigtrampgo+0x000000000000001c> 0x000000400000001b
0x000000400eacac30: 0x0000004000601c00 0x000000400eacac58
0x000000400eacac40: 0x0000004000603040 0x02bcec7502c540fb
0x000000400eacac50: 0x00246aa103246aa0 0x0000000000000000
0x000000400eacac60: 0x0000000000000000 0x0000000000000000
0x000000400eacac70: 0x0000000000000000 0x0000000000000000
0x000000400eacac80: 0x0000004000603040 0x000000400eacada0
0x000000400eacac90: 0x000000400eacae20 0x000000400eacacc8
0x000000400eacaca0: 0x000000000007cea4 <runtime.sigtramp+0x0000000000000084> 0x000000000000001b
0x000000400eacacb0: 0x000000400eacada0 0x000000400eacae20
0x000000400eacacc0: 0x02c5956e03246a9e 0x000000400eacbff0
0x000000400eacacd0: <0x0000ffff985dc5c0 0x000000400000001b
0x000000400eacace0: 0x000000400eacada0 0x000000400eacae20
0x000000400eacacf0: 0x000000000005abba <runtime.selparkcommit+0x000000000000000a> 0x1265726f74537070
0x000000400eacad00: 0x021210eed9a50809 0x623824220118000a
0x000000400eacad10: 0x302d333733663636 0x0000000000000015
0x000000400eacad20: 0x0000000000000071 0x000000400b753e98
0x000000400eacad30: 0x000000000153a0c0 0x0000004000603040
0x000000400eacad40: 0x000000400eacacc8 0x3e66376972bea4d0
0x000000400eacad50: 0xbebbbd41c5d26bf1 0x3f11566aaf25de2c
0x000000400eacad60: 0xbf66c16c16bebd93 0x3fc5555555555555
0x000000400eacad70: 0x3fcde3175e2d734a 0x3ffc439d143a5197
0x000000400eacad80: 0xbfd1a21a8e7d2cb5 0x0000000000000000
0x000000400eacad90: 0x0404040202020303 0x0000000000000000
0x000000400eacada0: >0x000000000000001b 0x00000000fffffffe
0x000000400eacadb0: 0x0000000000000466 0x0000000000000000
0x000000400eacadc0: 0x0000000000000000 0x0000000000000000
0x000000400eacadd0: 0x0000000000000000 0x0000000000000000
0x000000400eacade0: 0x0000000000000000 0x0000000000000000
0x000000400eacadf0: 0x0000000000000000 0x0000000000000000
0x000000400eacae00: 0x0000000000000000 0x0000000000000000
0x000000400eacae10: 0x0000000000000000 0x0000000000000000
0x000000400eacae20: 0x0000000000000000 0x0000000000000000
0x000000400eacae30: 0x000000400eac4000 0x0000004000000000
0x000000400eacae40: 0x0000000000008000 0x0000000000000000
0x000000400eacae50: 0x0000000000000000 0x0000000000000000
0x000000400eacae60: 0x0000000000000000 0x0000000000000000
0x000000400eacae70: 0x00002a1c49103b0c 0x02bcec6f02b9baa6
0x000000400eacae80: 0x02b9baaf03246a9f 0x02c5956e02bcec75
0x000000400eacae90: 0x0000000000000000 0x0000004013a805d0
runtime.sigtramp()
/usr/local/go/src/runtime/sys_linux_arm64.s:489 +0x84
goroutine 89 [running]:
runtime: traceback stuck. pc=0x3ff93 sp=0x40048952c0
stack: frame={sp:0x40048952c0, fp:0x40048952c0} stack=[0x4004894000,0x4004896000)
0x00000040048951c0: 0x0000000000000040 0x00000040048951e8
0x00000040048951d0: 0x00000000005019a4 <github.com/klauspost/compress/zstd.(*sequenceDec).init+0x0000000000000054> 0x0000004004895310
0x00000040048951e0: 0x00000040008c6000 0x0000004004895228
0x00000040048951f0: 0x0000000000501b9c <github.com/klauspost/compress/zstd.(*sequenceDecs).initialize+0x000000000000016c> 0x0000004004895338
0x0000004004895200: 0x00000000004e2b84 <github.com/klauspost/compress/zstd.(*blockDec).decodeCompressed+0x0000000000000164> 0x0000004000530058
0x0000004004895210: 0x00000040002e22a0 0x00000000006c0001 <text/template/parse.(*endNode).Copy+0x0000000000000001>
0x0000004004895220: 0x0000000f00800005 0x000001fd00280903
0x0000004004895230: 0x00000000004e2ebc <github.com/klauspost/compress/zstd.(*blockDec).prepareSequences+0x000000000000025c> 0x000000000003ff93 <runtime.goroutineProfileWithLabels.func4.1+0x0000000000000003>
0x0000004004895240: 0x00000000000ee1a4 <os.UserHomeDir+0x00000000000000c4> 0x0000000000000811
0x0000004004895250: 0x0000000000000015 0x0000000000020000 <runtime.advanceEvacuationMark+0x0000000000000000>
0x0000004004895260: 0x00000000006c0001 <text/template/parse.(*endNode).Copy+0x0000000000000001> 0x0000000000000000
0x0000004004895270: 0x0000000000000006 0x0000000f00800005
0x0000004004895280: 0x000001fd00280903 0x0000000000000000
0x0000004004895290: 0x000000400720ea00 0x0000004004895338
0x00000040048952a0: 0x00000000004e2a78 <github.com/klauspost/compress/zstd.(*blockDec).decodeCompressed+0x0000000000000058> 0x0000004000530058
0x00000040048952b0: 0x00000040002e22a0 0x00000000000ee1a4 <os.UserHomeDir+0x00000000000000c4>
0x00000040048952c0: >0x000000000003ff93 <runtime.goroutineProfileWithLabels.func4.1+0x0000000000000003> 0x0000000000020000 <runtime.advanceEvacuationMark+0x0000000000000000>
0x00000040048952d0: 0x0000004009f42000 0x00000040002e22a0
0x00000040048952e0: 0x0000000000001a81 0x0000004009f42000
0x00000040048952f0: 0x0000004005b17500 0x000000400720ea00
0x0000004004895300: 0x0000004004a28a00 0x00000040002e22a0
0x0000004004895310: 0x0000004003bcf000 0x000000400885150c
0x0000004004895320: 0x000000000000467b 0x000000000002ba01 <runtime.gcStart+0x0000000000000701>
0x0000004004895330: 0x000000000000002e 0x0000004004895398
0x0000004004895340: 0x00000000004e1974 <github.com/klauspost/compress/zstd.(*blockDec).decodeBuf+0x0000000000000284> 0x0000004000530058
0x0000004004895350: 0x0000000000000000 0x0000000000000000
0x0000004004895360: 0x0000000000000000 0x0000004000530050
0x0000004004895370: 0x0000000000000000 0x0000000000000000
0x0000004004895380: 0x0000000000000000 0x0000000000020000 <runtime.advanceEvacuationMark+0x0000000000000000>
0x0000004004895390: 0x0000000000000000 0x0000004004895458
0x00000040048953a0: 0x00000000004fd2cc <github.com/klauspost/compress/zstd.(*frameDec).runDecoder+0x000000000000016c> 0x000000400058c000
0x00000040048953b0: 0x0000004000530050 0x0000000000000000
fatal error: traceback stuck
goroutine 0 [idle]:
runtime: unexpected return pc for runtime.sigtramp called from 0xffffabfd25c0
stack: frame={sp:0x400000acd0, fp:0x400000ada0} stack=[0x4000004000,0x400000c000)
0x000000400000abd0: 0x000000400000ac28 0x0000000000000000
0x000000400000abe0: 0x0000000000000000 0x0000004000002000
0x000000400000abf0: 0x0000000000000000 0x0000000000000000
0x000000400000ac00: 0x0000000000000000 0x000000400000ada0
0x000000400000ac10: 0x000000400000ae20 0x000000400000ac98
0x000000400000ac20: 0x000000000007d58c <runtime.sigtrampgo+0x000000000000001c> 0x000000400000001b
0x000000400000ac30: 0x0000000002046680 0x000000400000ac58
0x000000400000ac40: 0x0000004000521d40 0x0000000000000000
0x000000400000ac50: 0x0000000000000000 0x0000000000000000
0x000000400000ac60: 0x0000000000000000 0x0000000000000000
0x000000400000ac70: 0x0000000000000000 0x0000000000000000
0x000000400000ac80: 0x0000004000521d40 0x000000400000ada0
0x000000400000ac90: 0x000000400000ae20 0x000000400000acc8
0x000000400000aca0: 0x000000000007cea4 <runtime.sigtramp+0x0000000000000084> 0x000000000000001b
0x000000400000acb0: 0x000000400000ada0 0x000000400000ae20
0x000000400000acc0: 0x0000000000000000 0x000000400000bff0
0x000000400000acd0: <0x0000ffffabfd25c0 0x000000000000001b
0x000000400000ace0: 0x000000400000ada0 0x000000400000ae20
0x000000400000acf0: 0x0000000000000009 0x0000000000000015
0x000000400000ad00: 0x0000000000000000 0x00000040008c9fab
0x000000400000ad10: 0x000000000001ff93 <runtime.evacuate+0x00000000000004b3> 0x0000000000000009
0x000000400000ad20: 0x000000000000032d 0x00000040048953d0
0x000000400000ad30: 0x0000000002078100 0x0000004000521d40
0x000000400000ad40: 0x000000400000acc8 0x3e66376972bea4d0
0x000000400000ad50: 0xbebbbd41c5d26bf1 0x3f11566aaf25de2c
0x000000400000ad60: 0xbf66c16c16bebd93 0x3fc5555555555555
0x000000400000ad70: 0x3fb8fcd2e18d7b62 0x3ffe7032d1e7284a
0x000000400000ad80: 0xbfbab6204490a1e0 0x0000000000000000
0x000000400000ad90: 0x0000000000000000 0x0000000000000000
0x000000400000ada0: >0x000000000000001b 0x00000000fffffffe
0x000000400000adb0: 0x0000000000004d16 0x0000000000000000
0x000000400000adc0: 0x0000000000000000 0x0000000000000000
0x000000400000add0: 0x0000000000000000 0x0000000000000000
0x000000400000ade0: 0x0000000000000000 0x0000000000000000
0x000000400000adf0: 0x0000000000000000 0x0000000000000000
0x000000400000ae00: 0x0000000000000000 0x0000000000000000
0x000000400000ae10: 0x0000000000000000 0x0000000000000000
0x000000400000ae20: 0x0000000000000000 0x0000000000000000
0x000000400000ae30: 0x0000004000004000 0x0000000000000000
0x000000400000ae40: 0x0000000000008000 0x0000000000000000
0x000000400000ae50: 0x0000000000000000 0x0000000000000000
0x000000400000ae60: 0x0000000000000000 0x0000000000000000
0x000000400000ae70: 0x0000000000000000 0x0000000000000000
0x000000400000ae80: 0x0000000000000000 0x0000000000000000
0x000000400000ae90: 0x0000000000000000 0x0000000000000000
runtime.throw({0x1275238?, 0x1fbe760?})
/usr/local/go/src/runtime/panic.go:992 +0x50
runtime.gentraceback(0x204afc0?, 0x0?, 0x400000a968?, 0x4000521d40, 0x0, 0x400000a968, 0x40, 0x0, 0x0?, 0x6)
/usr/local/go/src/runtime/traceback.go:488 +0xd98
runtime.sigprof(0x79650, 0x400000ac08?, 0x0?, 0x4000521d40, 0x2046680)
/usr/local/go/src/runtime/proc.go:4507 +0xf0
runtime.sighandler(0x1b?, 0x2046680?, 0x400000ac58?, 0x4000521d40?)
/usr/local/go/src/runtime/signal_unix.go:613 +0x514
runtime.sigtrampgo(0x1b, 0x400000ada0, 0x400000ae20)
/usr/local/go/src/runtime/signal_unix.go:477 +0x164
runtime.sigtrampgo(0x1b, 0x400000ada0, 0x400000ae20)
<autogenerated>:1 +0x1c
runtime: unexpected return pc for runtime.sigtramp called from 0xffffabfd25c0
stack: frame={sp:0x400000acd0, fp:0x400000ada0} stack=[0x4000004000,0x400000c000)
0x000000400000abd0: 0x000000400000ac28 0x0000000000000000
0x000000400000abe0: 0x0000000000000000 0x0000004000002000
0x000000400000abf0: 0x0000000000000000 0x0000000000000000
0x000000400000ac00: 0x0000000000000000 0x000000400000ada0
0x000000400000ac10: 0x000000400000ae20 0x000000400000ac98
0x000000400000ac20: 0x000000000007d58c <runtime.sigtrampgo+0x000000000000001c> 0x000000400000001b
0x000000400000ac30: 0x0000000002046680 0x000000400000ac58
0x000000400000ac40: 0x0000004000521d40 0x0000000000000000
0x000000400000ac50: 0x0000000000000000 0x0000000000000000
0x000000400000ac60: 0x0000000000000000 0x0000000000000000
0x000000400000ac70: 0x0000000000000000 0x0000000000000000
0x000000400000ac80: 0x0000004000521d40 0x000000400000ada0
0x000000400000ac90: 0x000000400000ae20 0x000000400000acc8
0x000000400000aca0: 0x000000000007cea4 <runtime.sigtramp+0x0000000000000084> 0x000000000000001b
0x000000400000acb0: 0x000000400000ada0 0x000000400000ae20
0x000000400000acc0: 0x0000000000000000 0x000000400000bff0
0x000000400000acd0: <0x0000ffffabfd25c0 0x000000000000001b
0x000000400000ace0: 0x000000400000ada0 0x000000400000ae20
0x000000400000acf0: 0x0000000000000009 0x0000000000000015
0x000000400000ad00: 0x0000000000000000 0x00000040008c9fab
0x000000400000ad10: 0x000000000001ff93 <runtime.evacuate+0x00000000000004b3> 0x0000000000000009
0x000000400000ad20: 0x000000000000032d 0x00000040048953d0
0x000000400000ad30: 0x0000000002078100 0x0000004000521d40
0x000000400000ad40: 0x000000400000acc8 0x3e66376972bea4d0
0x000000400000ad50: 0xbebbbd41c5d26bf1 0x3f11566aaf25de2c
0x000000400000ad60: 0xbf66c16c16bebd93 0x3fc5555555555555
0x000000400000ad70: 0x3fb8fcd2e18d7b62 0x3ffe7032d1e7284a
0x000000400000ad80: 0xbfbab6204490a1e0 0x0000000000000000
0x000000400000ad90: 0x0000000000000000 0x0000000000000000
0x000000400000ada0: >0x000000000000001b 0x00000000fffffffe
0x000000400000adb0: 0x0000000000004d16 0x0000000000000000
0x000000400000adc0: 0x0000000000000000 0x0000000000000000
0x000000400000add0: 0x0000000000000000 0x0000000000000000
0x000000400000ade0: 0x0000000000000000 0x0000000000000000
0x000000400000adf0: 0x0000000000000000 0x0000000000000000
0x000000400000ae00: 0x0000000000000000 0x0000000000000000
0x000000400000ae10: 0x0000000000000000 0x0000000000000000
0x000000400000ae20: 0x0000000000000000 0x0000000000000000
0x000000400000ae30: 0x0000004000004000 0x0000000000000000
0x000000400000ae40: 0x0000000000008000 0x0000000000000000
0x000000400000ae50: 0x0000000000000000 0x0000000000000000
0x000000400000ae60: 0x0000000000000000 0x0000000000000000
0x000000400000ae70: 0x0000000000000000 0x0000000000000000
0x000000400000ae80: 0x0000000000000000 0x0000000000000000
0x000000400000ae90: 0x0000000000000000 0x0000000000000000
runtime.sigtramp()
/usr/local/go/src/runtime/sys_linux_arm64.s:489 +0x84
goroutine 197 [running]:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 68 (25 by maintainers)
Commits related to this issue
- [release-branch.go1.18] runtime: mark morestack_noctxt SPWRITE on LR architectures On LR architectures, morestack (and morestack_noctxt) are called with a special calling convention, where the caller... — committed to golang/go by cherrymui 2 years ago
- [release-branch.go1.19] runtime: mark morestack_noctxt SPWRITE on LR architectures On LR architectures, morestack (and morestack_noctxt) are called with a special calling convention, where the caller... — committed to golang/go by cherrymui 2 years ago
- runtime: mark morestack_noctxt SPWRITE on LR architectures On LR architectures, morestack (and morestack_noctxt) are called with a special calling convention, where the caller doesn't save LR on stac... — committed to rajbarik/go by cherrymui 2 years ago
- [release-branch.go1.19] runtime: mark morestack_noctxt SPWRITE on LR architectures On LR architectures, morestack (and morestack_noctxt) are called with a special calling convention, where the caller... — committed to tailscale/go by cherrymui 2 years ago
- runtime: mark morestack_noctxt SPWRITE for linux/loong64 ref. CL 425396 Updates #54332. Change-Id: I1a235b0cca4dbf79cf61cf5f40b594fc2d940857 Reviewed-on: https://go-review.googlesource.com/c/go/+/4... — committed to golang/go by abner-chenc 2 years ago
- runtime: mark morestack_noctxt SPWRITE for linux/loong64 ref. CL 425396 Updates #54332. Change-Id: I1a235b0cca4dbf79cf61cf5f40b594fc2d940857 Reviewed-on: https://go-review.googlesource.com/c/go/+/4... — committed to xen0n/go by abner-chenc 2 years ago
Found the problem – the pod was a lingering holdover of the previous build, despite running chronologically long after the new release should have gone. It did not have the patch. You are good to propose the
MOVD RSP, RSP
patch for 1.20 release and for 1.19 and for 1.18 backport trains.thank you thank you thank you @cherrymui and @prattmic for your patience.
I think I made the hourly cutoff for our build train, will report if I see any crashes this afternoon or over the weekend; if no crashes by Monday, then we can assume that was the fix.
@lizthegrey Could you try if this patch makes any difference? Thanks!
Oddly, no. What’s also odd is that the
kubectl log
output stops after a small number of goroutines, rather than printing all the way through. I’ll see if our fluentbit exporter got the entire thing and report back.It’s a coincidence, sarama/zstd is about 30-40% of the workload of this app, and libhoney-go is 10%.
No, we run on Ubuntu 22.04 containers with standard libc
2.35-0ubuntu3.1
. No use of cgoAlso repros with go1.19.0
https://github.com/golang/go/blob/go1.19/src/runtime/asm_arm64.s#L323-L324