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
What steps will reproduce the problem?
1. Run attached code with more than one client goroutine.
What do you see instead?
panic: Encode of Msg1 failed: "encoder: buffer not empty"
or sometimes:
Decode failed: "gob: unknown type id or corrupted data"
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
linux
Which revision are you using? (hg identify)
4798dc1f040a+ tip
Please provide any additional information below.
In the code that originally caused this crash, we also see stuff like:
gob: internal error: field numbers out of bounds
mikioh
changed the title
Weird errors when using gob in more than one goroutine
encoding/gob: Weird errors when using gob in more than one goroutine
Feb 26, 2015
Attachments:
The text was updated successfully, but these errors were encountered: