-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bug: reflect: slice index out of range #38
Comments
Not sure how to properly handle this. |
Hopefully fixed in release v0.1.9. |
Bug still not fixed |
Hopefully fixed in release v0.2.2 |
What was the root cause ? |
@lucbarr I was never able to track this fully down, however, I haven't seen it since upgrading to the newer versions of Go, so I'm guessing it was an issue it. |
@BenB196 I think there are some race conditions bugs with the json.Marshal. Upgrading the Go version did not fix for me, but actually creating a mutex lock inside the MarshalJSON() method worked. |
Did the same as this guy here |
Hmm, interesting, yeah, unfortunately this issue was opened a while ago, and since then, and the project has had some major changes to its logic. So I'm not sure what really fixed it for this project. Though, the mutex thing does make sense, if you are using json marshaling with a pointer as in theory the value could change midway through. |
i got this error too |
@TUTUBIG where does this storageChan slice come from? I can't see the declaration inside the function. But I don't understand why your code settles that this shouldn't be a race condition issue. |
the same to my code,when using json marshal change struck to json. error msg is panic: runtime error: index out of range [16] with length 16 [recovered] |
hello?? anyone has solve this issue?? |
i got this one......... why happened |
Following error can be thrown
The text was updated successfully, but these errors were encountered: