[protobuf] Re: A first chance exception of type 'System.IO.EndOfStreamException' occurred in protobuf-net.DLL

2014-04-23 Thread Empi
Hi. I'll answer my silly question myself, May be it will helo someone in the future. The protobuf doesn't take care of frame fragmantation. Tcp/ip might (and would when data size grow, as was in my case) fragmant the serialized data into several packets. If you try to deserialize a partial

[protobuf] Re: A first chance exception of type 'System.IO.EndOfStreamException' occurred in protobuf-net.DLL

2014-04-23 Thread Empi
Hi. I'll answer my silly question myself, May be it will helo someone in the future. The protobuf doesn't take care of frame fragmantation. Tcp/ip might (and would when data size grow, as was in my case) fragmant the serialized data into several packets. If you try to deserialize a partial

[protobuf] Compiler errors in library

2014-04-23 Thread Andrzej Borucki
In package com.google.protobuf are errors: - in Descriptors.java not found import com.google.protobuf.DescriptorProtos.*; - in AbstractMessage, DynamicMessage, ExtensionRegistry, TextFormat - is error field.getContainingType().getOptions() -- You received this message because you are

Re: [protobuf] A first chance exception of type 'System.IO.EndOfStreamException' occurred in protobuf-net.DLL

2014-04-23 Thread Marc Gravell
This looks to be protobuf-net specific. Note that protobuf-net includes SerializeWithLengthPrefix and DeserializeWithLengthPrefix which can be used to simplify working with multiple separate logical messages on a single stream (such as against a socket), without ever over-reading. Also - it

[protobuf] time to fork a community-supported protobuf?

2014-04-23 Thread Michael Haberler
Am 21.04.2014 um 17:11 schrieb proto...@googlecode.com: Comment #11 on issue 434 by tom.ritc...@gmail.com: With PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp, parent object deleted while child still exists: causes segmentation fault http://code.google.com/p/protobuf/issues/detail?id=434