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

runtime: bsdthread_register error #383

Open
robocop-bob opened this issue Jan 19, 2022 · 2 comments
Open

runtime: bsdthread_register error #383

robocop-bob opened this issue Jan 19, 2022 · 2 comments

Comments

@robocop-bob
Copy link

robocop-bob commented Jan 19, 2022

compliance-masonry get ( with opencontrol/freedonia-compliance example ) returns error:

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x10d96d1, 0x21)
	/usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff778 sp=0x7ff7bfeff758 pc=0x1026161
runtime.goenvs()
	/usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff7a8 sp=0x7ff7bfeff778 pc=0x1023ce3
runtime.schedinit()
	/usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff810 sp=0x7ff7bfeff7a8 pc=0x1028a56
runtime.rt0_go(0x7ff7bfeff840, 0x2, 0x7ff7bfeff840, 0x1000000, 0x2, 0x7ff7bfeff9f0, 0x7ff7bfeffa03, 0x0, 0x7ff7bfeffa07, 0x7ff7bfeffa29, ...)
	/usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff818 sp=0x7ff7bfeff810 pc=0x104d374

MacOs:

uname -a
Darwin mr.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64

Go:

go version
go version go1.17.6 darwin/amd64
@ireardon
Copy link

Looks like the solution should be to update the Go version compliance-masonry is built with: https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue

But the build already seems to be using 1.15: https://github.com/opencontrol/compliance-masonry/blob/master/.travis.yml#L12

@ireardon
Copy link

Looks like the build Go version was updated after the latest 1.1.6 release: https://github.com/opencontrol/compliance-masonry/releases

@shawndwells @rogeruiz are you open to cutting another release?

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

2 participants