I'm not able to reproduce as well On Wednesday, February 14, 2024 at 11:05:52 AM UTC+5:30 Poonai wrote:
> big int panics during text conversion randomly > > stack trace: > > panic: runtime error: index out of range [1] with length 1 > > goroutine 2088184 [running]: > math/big.nat.itoa({0xc01db71500, 0x1, 0x199?}, 0x0, 0xa) > /usr/local/go/src/math/big/natconv.go:340 +0x3d2 > math/big.(*Int).Text(...) > /usr/local/go/src/math/big/intconv.go:25 > math/big.(*Int).String(...) > /usr/local/go/src/math/big/intconv.go:40 > > It shows up randomly, help me debug > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f856e1f9-61f6-4192-9b1d-c94a28f35d6fn%40googlegroups.com.