These are chat archives for anacrolix/torrent

28th
Mar 2018
axet
@axet
Mar 28 2018 07:00

Hi @anacrolix. With recent code base I start to receive a lot of crashes.

goroutine 1856026 [running]:
github.com/anacrolix/torrent.(*Torrent).assertNoPendingRequests(0x44200ed880)
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/torrent.go:1310 +0xa0
github.com/anacrolix/torrent.(*Torrent).deleteConnection(0x44200ed880, 0x4421656000, 0x4420e9fec8)
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/torrent.go:1302 +0xac
03-28 09:45:58.085 2815-0/? E/Go: github.com/anacrolix/torrent.(*Torrent).dropConnection(0x44200ed880, 0x4421656000)
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/torrent.go:1318 +0x4c
github.com/anacrolix/torrent.(*Client).runHandshookConn(0x44201c2000, 0x4421656000, 0x44200ed880, 0x1)
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/client.go:925 +0x2ec
github.com/anacrolix/torrent.(*Client).outgoingConnection(0x44201c2000, 0x44200ed880, 0x442009d1e0, 0x15, 0x710e1dd77b, 0x2)
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/client.go:772 +0x194
created by github.com/anacrolix/torrent.(*Torrent).initiateConn
    /Users/axet/source/libtorrent/src/github.com/anacrolix/torrent/torrent.go:1843 +0x204

Seems strange to check if here more pending connections after deleting one's. It is a logical bug?