-
Notifications
You must be signed in to change notification settings - Fork 170
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
Try to bring back symbols on backtraces on linux #7109
Conversation
Ok.. On macos everything is printed fine with manually triggered assertion in sync tests, but on linux now some backtraces are pretty complete:
others are missing even the name of the test:
Anyway, i think we should not define this flags at all, since not hiding symbols prevent compiler optimizations according to gcc docs, so every testing run will not actually test realm production code. @ironage what do you think we should do with this? Enable on a just a few builds specifically for testing? EDIT: i should add still that even without symbols' names when on linux the build is RelWithDebInfo or just Debug |
Pull Request Test Coverage Report for Build kirill.burtsev_103
💛 - Coveralls |
@kiburtse this is a great start and having some symbols is better than nothing. But I agree that there is some risk that we aren't actually testing production optimized code anymore. What do you think about running some sort of shell script on our linux evergreen jobs that greps the log file for stack traces and symbolocates them with addr2line ? Having it done on the job itself would make it so that we don't have to store the binaries and go do this ourselves if it happens. |
yeah.. should be separate script for ci builds. I'll try it in different pr. Seems like this one didn't trigger anything through multiple manual runs. |
What, How & Why?
☑️ ToDos