You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @MordFustang21 I'm developing a qrcode detect api, when I do stress test, some time the it will panic at two line
one is panic at s := C.zbar_image_first_symbol(i.image),
the other one is at below
func (s*Symbol) Each(ffunc(string)) {
t:=s// some time t is nilfor {
f(t.Data())
t=t.Next()
ift==nil {
break
}
}
}
Sorry for the late reply and I'm sure you've already found an alternative solution. I forked this from another library and haven't really looked super closely at how this would work in multiple goroutines. My guess is there's likely a race condition in there that needs to be addressed.
Hi @MordFustang21 I'm developing a qrcode detect api, when I do stress test, some time the it will panic at two line
one is panic at
s := C.zbar_image_first_symbol(i.image)
,the other one is at below
here is my test code
here is the image
Do you have any suggestion?
The text was updated successfully, but these errors were encountered: