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

signal: bus error on Mac #401

Open
durgaprasadksv opened this issue Jan 29, 2024 · 0 comments
Open

signal: bus error on Mac #401

durgaprasadksv opened this issue Jan 29, 2024 · 0 comments

Comments

@durgaprasadksv
Copy link

I have the following error

signal: bus error when trying to run this simple code on Mac running go version go1.19 darwin/amd64

func main() {
	iso := v8.NewIsolate() 
	ctx1 := v8.NewContext(iso) // new context within the VM
	ctx1.RunScript("const multiply = (a, b) => a * b", "math.js")
}

How can I fix this?

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

1 participant