Using 3.6.1 on an ARM platform.  Trying this sample code:

PROTO
syntax = "proto3";
package Test;
message MyTest {
    int32 f1 = 1;
    string f2 = 2;
    bool f3 = 3;
}

C++
Test::MyTest mt;
mt.set_f1(1234);
mt.set_f2("hello");
mt.set_f3(true);
string s;
google::protobuf::util::JsonOptions opts;
google::protobuf::util::MessageToJsonString(mt,&s,opts);

and I get this crash on the MessageToJsonString function call:

*** Error in `./MyApp': munmap_chunk(): invalid pointer: 0xb6fb1214 ***
Aborted

All the serialization functions work fine.  Why am I getting this error?  
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/12aa5fed-f756-4b79-be34-a2b538ced15bn%40googlegroups.com.

Reply via email to