Labels: Type-Defect Priority-Medium
New issue 517 by valiko...@gmail.com: Crash on using the lib after
What steps will reproduce the problem?
1. Call google::protobuf::ShutdownProtobufLibrary().
2. Call Message::DebugString() or ShortDebugString().
3. Access violation.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
This happens because all global variables declared with
GOOGLE_PROTOBUF_DECLARE_ONCE macro are not reset on shutdown, therefore
associated global objects are not re-created on subsequent access. There
are several places where these variables should be reset along with
resetting the associated pointers. Protoc also should be fixed because two
files (plugin.pb.cc and descriptor.pb.cc) are autogenerated.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.