Open
Description
- [ X] I have checked the existing issues to avoid duplicates
- [ X] I have redacted any info hashes and content metadata from any logs or screenshots attached to this issue
Describe the bug
The 'latest' release (non beta) of bitmagnet is broken due to the upstream issue with pyroscope-go reported here which got reported and fixed in a new release, but as there hasn't been a new release (non beta) of bitmagnet the current release is now in a broken state.
To Reproduce
Steps to reproduce the behavior:
- Download latest release of bitmagnet
- Attempt to run latest release
- See error:-
panic: pattern "GET /debug/pprof/" (registered at /usr/lib/go/src/net/http/pprof/pprof.go:100) conflicts with pattern "/debug/pprof/delta_heap" (registered at /home/nobody/go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/http/pprof/pprof.go:24):
GET /debug/pprof/ matches fewer methods than /debug/pprof/delta_heap, but has a more general path pattern
goroutine 1 [running]:
net/http.(*ServeMux).register(...)
/usr/lib/go/src/net/http/server.go:2797
net/http.HandleFunc({0xc00043ca50?, 0x[189](https://github.com/binhex/arch-bitmagnet/actions/runs/13124425284/job/36617673590#step:17:190)aaed?}, 0x1655a60?)
/usr/lib/go/src/net/http/server.go:2791 +0x86
net/http/pprof.init.0()
/usr/lib/go/src/net/http/pprof/pprof.go:100 +0x85
Expected behavior
No error and bitmagnet starts
Environment Information (Required)
- Bitmagnet version: Latest release
- OS and version: "Slackware 15.0 x86_64 (post 15.0 -current)"
- Browser and version (if issue is with WebUI): N/A
- Please specify any config values for which you have overridden the defaults: N/A