Panic when start+stop too quickly
- Dominant language
- Go
- Stars
- 3.1k
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
```
panic: runtime error: integer divide by zero
goroutine 1 [running]:
github.com/felixge/fgprof.(*wallclockProfile).exportPprof(0xc000060780, 0x0, {0x4064a0?, 0xc000024480?, 0x793f40?}, {0x405ef7?, 0x0?, 0x793f40?})
/home/john/go/pkg/mod/github.com/felixge/fgprof@v0.9.4/fgprof.go:220 +0xca5
github.com/felixge/fgprof.(*wallclockProfile).Export(0xc1851b0ab68a5af0?, {0x64d2a0, 0xc000040118}, {0x5f0e8c?, 0x7b8353bcb108?}, 0x6?, {0xc0000addc8?, 0x40e1db?, 0x793f40?}, {0xc1851b0ab6959246, ...})
/home/john/go/pkg/mod/github.com/felixge/fgprof@v0.9.4/fgprof.go:177 +0x78
github.com/felixge/fgprof.Start.func2()
/home/john/go/pkg/mod/github.com/felixge/fgprof@v0.9.4/fgprof.go:73 +0x279
```
I am guessing this is from Start+Stop happening very quickly
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.