Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-09-01 Thread metronome
We waited for two weeks, but the panic never resurfaced, will provide further updates if it reoccurs or as soon as we have more information. Thanks Dan and Kurtis for looking into it. On Friday, August 18, 2023 at 3:18:10 PM UTC+8 Dan Kortschak wrote: > On Thu, 2023-08-17 at 23:32 -0700, metr

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-18 Thread 'Dan Kortschak' via golang-nuts
On Thu, 2023-08-17 at 23:32 -0700, metronome wrote: > > > Have you built with CGO_ENABLED=0? > Building with CGO_ENABLED=0 succeeded, does that mean the binary's > runtime behavior has nothing to do with CGO, deploying > a CGO_ENABLED=0 binary online is not an option as well, for now (We > are tryi

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-17 Thread metronome
Thanks. >> Have you eliminated the possibility of races? We're trying to extract a smaller case for reproducing (perhaps impractical, as the frequency of the panic is way low) then apply the race detector, enabling race check online is not an option now, sadly. >> Have you built with CGO_ENABL

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread 'Dan Kortschak' via golang-nuts
On Wed, 2023-08-16 at 23:43 -0700, metronome wrote: > Thanks for commenting, a few supplements. > > # 1. Version of Go? > We observed the issue with both go1.20.5 and go1.18.10 on linux/amd64 > (centos) > > # 2. Context? > All panics we observed so far are from either  >                  strconv.

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread metronome
Thanks for commenting, a few supplements. *# 1. Version of Go?* We observed the issue with both go1.20.5 and go1.18.10 on linux/amd64 (centos) *# 2. Context?* All panics we observed so far are from either *strconv.FormatInt -> strconv.formatBits* chain, or *str

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread Kurtis Rader
Insufficient information. Version of Go? Since formatBits is private we need to see the actual code of a call to a public API that resulted in the call to formatBits that failed. Also, show us the literal panic stack. Showing us the assembly code with no context is not useful. If your program using

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread 'Dan Kortschak' via golang-nuts
On Wed, 2023-08-16 at 20:31 -0700, metronome wrote: > Hi, > > We ran into a weird out of range issue of strconv.formatBits, hope > someone can shed a light on what could be the root cause, any comment > is highly appreciated. > > problem description: >       random out of range at code, most of t

[go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread metronome
Hi, We ran into a weird *out of range* issue of *strconv.formatBits*, hope someone can shed a light on what could be the root cause, any comment is highly appreciated. problem description: * random out of range at code