We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I call the torrent.Stats() method, there is a certain probability of panic:
torrent.Stats()
panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x18 pc=0x7ffce875243d] goroutine 2546 [running]: github.com/anacrolix/torrent.webrtcNetConn.RemoteAddr({{0x7ffce8da1f40, 0xc0000290c0}, {{0xc0019f1600, 0x1f}, 0x0, {0xaf, 0x30, 0x26, 0x3c, 0x30, ...}, ...}}) C:/Users/runneradmin/go/pkg/mod/github.com/anacrolix/[email protected]/webrtc.go:56 +0x1d github.com/anacrolix/torrent.(*Torrent).numTotalPeers(0xc000174a88) C:/Users/runneradmin/go/pkg/mod/github.com/anacrolix/[email protected]/torrent.go:2204 +0x95 github.com/anacrolix/torrent.(*Torrent).statsLocked(0xc000174a88) C:/Users/runneradmin/go/pkg/mod/github.com/anacrolix/[email protected]/torrent.go:2188 +0xb4 github.com/anacrolix/torrent.(*Torrent).Stats(0xc000174a88) C:/Users/runneradmin/go/pkg/mod/github.com/anacrolix/[email protected]/torrent.go:2181 +0xba
The text was updated successfully, but these errors were encountered:
Could you try https://github.com/anacrolix/torrent/tree/issue-972?
Sorry, something went wrong.
I can't reproduce this problem stably, can you release a new version for this? if it happens again, we can reopen it. Thanks!
b80f6b6
Yes I have release v1.57.0.
No branches or pull requests
When I call the
torrent.Stats()
method, there is a certain probability of panic:The text was updated successfully, but these errors were encountered: