Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault when devtools::load_all("flowWorkspace") multiple times #7

Closed
mikejiang opened this issue Feb 28, 2019 · 0 comments
Closed

Comments

@mikejiang
Copy link
Member

It is triggered by dynamic linked libprotobuf(ad22c36) and won't necessarily affect end users since multiple library(flowWorkspace) calls won't cause the lib to be reloaded.

Loading flowWorkspace
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: GatingSet.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1018] CHECK failed: generated_database_->Add(encoded_file_descriptor, size): 
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: generated_database_->Add(encoded_file_descriptor, size): 
Aborted (core dumped)

It's been discussed here protocolbuffers/protobuf/issues/4126 and I will try to build GatingSet.pb.cc as shared lib as well to see if it will address the issue.

mikejiang pushed a commit that referenced this issue Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant