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

Invalid symbol name: google.protobuf.@ #16940

Closed
M-Labedzki opened this issue May 23, 2024 · 3 comments
Closed

Invalid symbol name: google.protobuf.@ #16940

M-Labedzki opened this issue May 23, 2024 · 3 comments
Labels
inactive Denotes the issue/PR has not seen activity in the last 90 days.

Comments

@M-Labedzki
Copy link

What version of protobuf and what language are you using?
Version: 3.20.3
Language: C++

What operating system (Linux, Windows, ...) and version?
Linux, Kernel 5.15
What runtime / compiler are you using (e.g., python version or gcc version)
gcc 12.2

During library initialization while loading descriptor google/protobuf/decriptor.proto an invalid symbol was parsed - "google.protobuf.@" which caused an exception:

#0 0x0000007fbb48f454 in ?? () from /usr/lib64/libc.so.6
#1 0x0000007fbb44a7dc in raise () from /usr/lib64/libc.so.6
#2 0x0000007fbb436f10 in abort () from /usr/lib64/libc.so.6
#3 0x0000007fbaa250bc in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#4 0x0000007fbaa228cc in ?? () from /usr/lib64/libstdc++.so.6
#5 0x0000007fbaa22930 in std::terminate() () from /usr/lib64/libstdc++.so.6
#6 0x0000007fbaa22c40 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#7 0x0000007fb9994450 in google::protobuf::internal::LogMessage::Finish (this=)
at /usr/include/c++/12.2.0/bits/basic_string.tcc:238
#8 0x0000007fb9994490 in google::protobuf::internal::LogFinisher::operator= (this=this@entry=0x7fd4bcf9b8, other=...)
at /usr/src/debug/protobuf/3.20.3-r0/src/google/protobuf/stubs/common.cc:260
#9 0x0000007fb99c1a0c in google::protobuf::DescriptorPool::InternalAddGeneratedFile (encoded_file_descriptor=,
size=6078) at /usr/src/debug/protobuf/3.20.3-r0/src/google/protobuf/descriptor.cc:1984
#10 0x0000007fb9a2ea98 in google::protobuf::(anonymous namespace)::AddDescriptorsImpl (
table=0x7fb9b80260 <descriptor_table_google_2fprotobuf_2fdescriptor_2eproto>)
at /usr/src/debug/protobuf/3.20.3-r0/src/google/protobuf/generated_message_reflection.cc:3045
#11 0x0000007fbb859908 in ?? () from /lib64/ld-linux-aarch64.so.1
#12 0x0000007fbb859a1c in ?? () from /lib64/ld-linux-aarch64.so.1
#13 0x0000007fbb86f6f8 in ?? () from /lib64/ld-linux-aarch64.so.1

The error was a single occurrence but I'm not sure what could've caused it since the decriptor.proto is hardcoded in decriptor.pb.cc. The input to the Add() function at the time of the crash is the same as when it finishes correctly. Also I don't see where did the parser get the @ symbol from since it's not in the descriptor.

The error log was: Invalid symbol name: google.protobuf.@

@M-Labedzki M-Labedzki added the untriaged auto added to all issues by default when created. label May 23, 2024
@deannagarcia
Copy link
Member

Version 3.20 is pretty old and no longer actively supported. Can you try to update protobuf to a newer version and see if the error is still there?

@acozzette acozzette removed the untriaged auto added to all issues by default when created. label Jun 7, 2024
Copy link

github-actions bot commented Sep 6, 2024

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.

This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.

@github-actions github-actions bot added the inactive Denotes the issue/PR has not seen activity in the last 90 days. label Sep 6, 2024
Copy link

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.

This issue was closed and archived because there has been no new activity in the 14 days since the inactive label was added.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Denotes the issue/PR has not seen activity in the last 90 days.
Projects
None yet
Development

No branches or pull requests

3 participants