Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac上启动报错fatal error: runtime: bsdthread_register error 如何解决啊 #33

Open
zhangzhidao opened this issue Feb 4, 2021 · 7 comments

Comments

@zhangzhidao
Copy link

mac版本10.15.7 (19H2)
./ding -config=./ding.cfg -subdomain=abcde 8080

fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)

runtime stack:
runtime.throw(0x14c6f23, 0x3f)
/usr/local/go/src/runtime/panic.go:619 +0x81 fp=0x7ffeefbff9e8 sp=0x7ffeefbff9c8 pc=0x102a911
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:127 +0x9e fp=0x7ffeefbffa18 sp=0x7ffeefbff9e8 pc=0x10284ae
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:496 +0xa4 fp=0x7ffeefbffa70 sp=0x7ffeefbffa18 pc=0x102d1d4
runtime.rt0_go(0x7ffeefbffaa0, 0x4, 0x7ffeefbffaa0, 0x0, 0x4, 0x7ffeefbffbc8, 0x7ffeefbffbcf, 0x7ffeefbffbe2, 0x7ffeefbffbf3, 0x0, ...)
/usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ffeefbffa78 sp=0x7ffeefbffa70 pc=0x10540d4

@seandong
Copy link

seandong commented Oct 8, 2021

+1

@starlifezzz
Copy link

+1
runtime stack:
runtime.throw(0x14bd408, 0x21)
/usr/local/go/src/runtime/panic.go:619 +0x81 fp=0x7ff7bfeff818 sp=0x7ff7bfeff7f8 pc=0x102a911
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff848 sp=0x7ff7bfeff818 pc=0x1028493
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:496 +0xa4 fp=0x7ff7bfeff8a0 sp=0x7ff7bfeff848 pc=0x102d1d4
runtime.rt0_go(0x7ff7bfeff8d0, 0x4, 0x7ff7bfeff8d0, 0x1000000, 0x4, 0x7ff7bfeffa40, 0x7ff7bfeffa47, 0x7ff7bfeffa5a, 0x7ff7bfeffa78, 0x0, ...)
/usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff8a8 sp=0x7ff7bfeff8a0 pc=0x10540d4
感觉服务器凉凉了

@knewbie
Copy link

knewbie commented Nov 17, 2021

+1

2 similar comments
@roylly
Copy link

roylly commented Dec 23, 2021

+1

@delonzhou
Copy link

+1

@delonzhou
Copy link

看这个,需要钉钉用新的go重新编译。
https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue

@randolph555
Copy link

有解决办法吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants