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

gopsutil/cpu cause debug(go-delve) exception on apple silicon #1021

Closed
Cluas opened this issue Jan 16, 2021 · 1 comment
Closed

gopsutil/cpu cause debug(go-delve) exception on apple silicon #1021

Cluas opened this issue Jan 16, 2021 · 1 comment

Comments

@Cluas
Copy link

Cluas commented Jan 16, 2021

Describe the bug
gopsutil/cpu cause debug(go-delve) exception

see screenshot

To Reproduce

package main

import (
	"fmt"

	"github.com/shirou/gopsutil/cpu"
)

func main() {
	a:=1
	fmt.Println(a)
	v, _ = cpu.Info()
	// convert to JSON. String() is also implemented
	fmt.Println(v)
}

Expected behavior

see screenshot

Environment (please complete the following information):
Mac OS arm64

Additional context
image
image

@shirou
Copy link
Owner

shirou commented Jan 16, 2021

duplicate #1000

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

No branches or pull requests

3 participants