Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

crash during protocol buffers initialization

The following crash observed with my application using protocol buffers

0x00000000 in ?? () 0x08055f43 in google::protobuf::DescriptorPool::InternalAddGeneratedFile ( encoded_file_descriptor=0xf64, size=3940) at once.h:115

0x08072b7a in google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescrip tor_2eproto () at google/protobuf/descriptor.pb.cc:557

like image 482
user1180230 Avatar asked Jan 23 '26 10:01

user1180230


1 Answers

Met the exact same crash as you described. The reason is mixed Release verion of libprotobuf.lib with Debug runtime under VC 2008. Further discussion in http://code.google.com/p/protobuf/issues/detail?id=184 .

like image 199
lk_vc Avatar answered Jan 25 '26 08:01

lk_vc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!