-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
C++: PrintDebugString() causes core dump #6939
Comments
I have just installed from master and got the same issue! Any fixes? |
I reproduced this and got the following stack trace:
Digging in now. |
I think the problem is that the pthread library is not linked: https://stackoverflow.com/questions/51584960/stdcall-once-throws-stdsystem-error-unknown-error-1 If I change the command line above to add |
Thank you, it works!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of protobuf and what language are you using?
Version: master
Language: C++
What operating system (Linux, Windows, ...) and version?
Linux, Ubuntu 18.04
What runtime / compiler are you using (e.g., python version or gcc version)
g++ v7.4.0
What did you do?
in file main.cpp
from the terminal
The produced error is
Also, gdb didn't produce any better explanation.
At first it doesn't seem to me a problem of library mismatch since protoc an my executable al loading the same shared object
Also, the same problem arises if I use any of the metod from
TextFormat
likePrintToString
The text was updated successfully, but these errors were encountered: