Skip to content

Conversation

karman-docker
Copy link
Contributor

@karman-docker karman-docker commented Feb 11, 2025

Crashing thread - found in docker/for-mac#7588

 panic: runtime error: index out of range [1] with length 1

goroutine 1124 [running]:
github.com/jaypipes/ghw/pkg/cpu.populateSysctlOutput()
github.com/jaypipes/ghw@v0.13.0/pkg/cpu/cpu_darwin.go:87 +0x204
github.com/jaypipes/ghw/pkg/cpu.(*Info).load(0x14001c11260)
github.com/jaypipes/ghw@v0.13.0/pkg/cpu/cpu_darwin.go:17 +0x20
github.com/jaypipes/ghw/pkg/context.(*Context).Do(0x1400038c780, 0x14001f21c58) 
github.com/jaypipes/ghw@v0.13.0/pkg/context/context.go:125 +0x78
github.com/jaypipes/ghw/pkg/cpu.New({0x0?, 0x14000e14100?, 0x2?})

Signed-off-by: Manju Karikatti <manju.karikatti@docker.com>
Copy link
Owner

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you for the PR @karman-docker, appreciated! :)

@jaypipes jaypipes merged commit 8f0a31c into jaypipes:main Feb 12, 2025
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants