-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
Segmentation fault when call ParseFromArray
#19625
Comments
In addition, it will occasionally crash during object destruction. the reason is same as above, field
|
I wonder if updating the Protobuf version would make things different. |
Thanks for your reply. I cannot reproduce the problem stably, so I don't know if the upgraded version is effective. |
What version of protobuf and what language are you using?
Version: v2.6.1
Language: C++
What operating system (Linux, Windows, ...) and version?
linux(centos 7.9, 3.10)
What runtime / compiler are you using (e.g., python version or gcc version)
gcc 8.3.1
What did you do?
my code is as follows. when l call
ParseFromArray
, Sometimes a segment fault error occurs. l can make sure thatsrc
has the correct data, because I take data out of coredunmp and parse it properly.What did you expect to see
l want to know the reason for crash and how to deal with it.
What did you see instead?
stack is as follows
Head value, other string field is set to
0x26a80e0
, onlysession_no_
is set to0xffffffff00000000
it seems
session_no_
is set to an illegal addr, this is so weirdAnything else we should know about your project / environment
The text was updated successfully, but these errors were encountered: