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

Crash in latest version #33

Closed
ccampbell opened this issue Oct 18, 2015 · 2 comments
Closed

Crash in latest version #33

ccampbell opened this issue Oct 18, 2015 · 2 comments

Comments

@ccampbell
Copy link
Contributor

I know you just closed out one of my previous ones. I am now getting a new one. It is consistently reproducible with certain magnet urls.

panic: lame
    panic: sync: Unlock of unlocked RWMutex

goroutine 176 [running]:
sync.(*RWMutex).Unlock(0xc82012a238)
    /usr/local/Cellar/go/1.5/libexec/src/sync/rwmutex.go:114 +0xa3
github.com/anacrolix/sync.(*RWMutex).Unlock(0xc82012a108)
    /Users/craig/go/src/github.com/anacrolix/sync/rwmutex.go:26 +0x57
github.com/anacrolix/torrent.(*torrent).hashPiece(0xc8202f8b00, 0x21, 0x0, 0x0, 0x0)
    /Users/craig/go/src/github.com/anacrolix/torrent/torrent.go:676 +0x49f
github.com/anacrolix/torrent.(*Client).verifyPiece(0xc82012a000, 0xc8202f8b00, 0x21)
    /Users/craig/go/src/github.com/anacrolix/torrent/client.go:2716 +0x1c2
created by github.com/anacrolix/torrent.(*Client).queuePieceCheck
    /Users/craig/go/src/github.com/anacrolix/torrent/client.go:119 +0xb6
@ccampbell
Copy link
Contributor Author

I think it is something related to b0b5794

I was able to git checkout the previous revision and build from that, and now I'm not having the problem anymore.

@anacrolix
Copy link
Owner

Thanks for the report. Do you want to PM or share some of the magnet URLs, so I can verify a fix?

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

2 participants