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

Panic when start+stop too quickly #30

Open
howardjohn opened this issue May 2, 2024 · 0 comments
Open

Panic when start+stop too quickly #30

howardjohn opened this issue May 2, 2024 · 0 comments

Comments

@howardjohn
Copy link

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/[email protected]/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/[email protected]/fgprof.go:177 +0x78
github.com/felixge/fgprof.Start.func2()
        /home/john/go/pkg/mod/github.com/felixge/[email protected]/fgprof.go:73 +0x279

I am guessing this is from Start+Stop happening very quickly

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

No branches or pull requests

1 participant