Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 461 by [email protected]: segfault in google::protobuf::ShutdownProtobufLibrary() (common.cc:360) when having protobuf statically linked in executable and used within shared object loaded via dlopen
http://code.google.com/p/protobuf/issues/detail?id=461

I'm having the following setup:
executable w/ statically linked protobuf that loads shared object files that use protobuf as well.
During shutdown of the executable I'm getting the following segfault:

==4876== Jump to the invalid address stated on the next line
==4876==    at 0x8C31972: ???
==4876== by 0xD9395D: google::protobuf::ShutdownProtobufLibrary() (common.cc:361) ==4876== by 0x7733B2: main (in /local/andre/workspace-cpp/StreamMine3G/build/src/StreamMine3GDebug)
==4876==  Address 0x8c31972 is not stack'd, malloc'd or (recently) free'd

Any idea how we can circumvent/fix that problem?

--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to