[protobuf] Solved: Invalid file descriptor data passed to EncodedDescriptorDatabase::Add()
Posted in Technical on September 23rd, 2011 by p14nd4I’ll make this brief, but wanted to document my fix to potentially save someone else some aggravation in the future.
I’ve been working on a c++ project utilizing Google protobuf, and at one point ran into an error during application startup (static initialization):
libprotobuf ERROR google/protobuf/descriptor_database.cc:314] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
libprotobuf FATAL google/protobuf/descriptor.cc:862] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
Abort (core dumped)