pingcap / pingcap/tiup

tiup ctl etcd crashes with bsdthread_register error

Open
#2,107 0 comments 0 reactions 0 assignees View on GitHub

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!

  1. 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
  1. What did you expect to see?

  2. 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
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.