tiup ctl etcd crashes with bsdthread_register error
Open
Nobody has claimed this yet.
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
Darwin kkegel-0BXML85.dyn.pinadmin.com 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64
tiup ctl:v6.5.0 etcd
-
What did you expect to see?
-
What did you see instead?
Starting component `ctl`: /Users/kkegel/.tiup/components/ctl/v6.5.0/ctl etcd
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x19d2f19, 0x21)
/usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff4f8 sp=0x7ff7bfeff4d8 pc=0x1029881
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff528 sp=0x7ff7bfeff4f8 pc=0x1027403
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff590 sp=0x7ff7bfeff528 pc=0x102c176
runtime.rt0_go(0x7ff7bfeff5c0, 0x1, 0x7ff7bfeff5c0, 0x1000000, 0x1, 0x7ff7bfeff7d8, 0x0, 0x7ff7bfeff80a, 0x7ff7bfeff828, 0x7ff7bfeff847, ...)
/usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff598 sp=0x7ff7bfeff590 pc=0x10528c4
Error: exit status 2
- What version of TiUP are you using (
tiup --version)?
1.11.1 tiup
Go Version: go1.19.2
Git Ref: v1.11.1
GitHash: b95172df211e4f9b643590f2dd8436ad60c72b38
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing tiup ctl:v6.5.0 etcd on the reported Darwin 22.2.0 x86_64 environment and inspect the ctl component launch path shown in the report. Done means the command no longer emits runtime: bsdthread_register error or exits with status 2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100