I am experimenting with "repeated" fields my dot-proto is as follows:
message Foo { required string name = 1; optional int32 id = 2; optional int32 num = 3; repeated string sbr = 4; repeated int32 wrk = 5; } I build the msg and use foo.SerializeToString(&str) and then sending the retult str.c_str() over a socket; On the receiving end I get the following: libprotobuf FATAL /usr/local/include/google/protobuf/repeated_field.h: 513] CHECK failed: index < size(): Aborted If I eliminate the repeated fields from the msg then it all works fine. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---