decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
160 stars 80 forks source link

panic: runtime error: index out of range #149

Closed rafaelcmrj closed 7 years ago

rafaelcmrj commented 7 years ago

goroutine 24 [running]: panic(0x809940, 0xc04200a060) C:/Go/src/runtime/panic.go:500 +0x1af github.com/decred/gominer/stratum.(Stratum).Unmarshal(0xc042070540, 0xc04202eec0, 0x36, 0x40, 0x0, 0x0, 0x0, 0x0) C:/Users/jolan/go/src/github.com/decred/gominer/stratum/stratum.go:582 +0xe49 github.com/decred/gominer/stratum.(Stratum).Listen(0xc042070540) C:/Users/jolan/go/src/github.com/decred/gominer/stratum/stratum.go:297 +0x5fa created by github.com/decred/gominer/stratum.StratumConn C:/Users/jolan/go/src/github.com/decred/gominer/stratum/stratum.go:226 +0x54b

jcvernaleo commented 7 years ago

@rafaelcmrj was that on 0.8.0? If so that has been fixed in master with #142 and will be in the next release (or you can build from source now). I'm closing the issue but if it was on master, please feel free to reopen (but from the error it looks like something @jolan built so it would have to be a release).

rafaelcmrj commented 7 years ago

@jcvernaleo yes, 0.8.0. I will see how to build from master. Thanks