Skip to content

signal: bus error on Mac #401

@durgaprasadksv

Description

@durgaprasadksv

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions