Skip to content

flake: enterprise/wsproxy/wsproxysdk -- runtime error: unsafe.Slice: ptr is nil and len is not zero #691

Closed as duplicate of#688
@sreya

Description

@sreya

Seen here

=== FAIL: enterprise/wsproxy/wsproxysdk  (0.00s)
panic: runtime error: unsafe.Slice: ptr is nil and len is not zero

goroutine 1 [running]:
github.com/shirou/gopsutil/v4/cpu.perCPUTimes(0x140000a4100)
	/Users/runner/work/_temp/go-mod-cache/github.com/shirou/gopsutil/v4@v4.25.3/cpu/cpu_darwin.go:158 +0x4dc
github.com/shirou/gopsutil/v4/cpu.TimesWithContext({0x0?, 0x0?}, 0x1)
	/Users/runner/work/_temp/go-mod-cache/github.com/shirou/gopsutil/v4@v4.25.3/cpu/cpu_darwin.go:70 +0x70
github.com/shirou/gopsutil/v4/cpu.Times(...)
	/Users/runner/work/_temp/go-mod-cache/github.com/shirou/gopsutil/v4@v4.25.3/cpu/cpu_darwin.go:59
github.com/shirou/gopsutil/v4/cpu.init.0()
	/Users/runner/work/_temp/go-mod-cache/github.com/shirou/gopsutil/v4@v4.25.3/cpu/cpu.go:65 +0xf0
FAIL	github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk	0.042s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions