The crash occurs in my auto-generated cc file for the google proto
structs , on this line :

 // optional bytes Data = 2;
      case 2: {
(::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
crash occurs here
                input, this->mutable_data()));

I do not know what this macro/code is trying to do (I guess it's
trying to deserialize my data field)

On Mar 11, 4:24 pm, Michael Poole <> wrote:
> Roey writes:
> [snip]
> > The problem is, I get a memory access violation when I try to
> > deserialize it :(
> > Unhandled exception at 0x02f166d8 in wmplayer.exe: 0xC0000005: Access
> > violation writing location 0x00000000.
> > Are any of the things I'm doing here wrong , for what I'm trying to do
> > (serialize in C# .NET and deserialize in C++?)
> Most likely yes, but it's hard to suggest what that is without a brief
> code example that shows the crash.  The crash is obviously trying to
> write into a null pointer, but only you can find out what code is at
> address 0x02f166d8.
> Michael Poole

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to