Skip to content

Fix symbolicate linux fatal for streaming stacktraces 2 #20681

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

Merged

Conversation

gmilos
Copy link
Contributor

@gmilos gmilos commented Nov 20, 2018

symbolicate-linux-fatal doesn't handle series of stack-traces properly. Only the first one is symbolicated OK. More details:
https://bugs.swift.org/browse/SR-7651

It turns out it was a simple setup issue, where File Addr vs Phys Addr (a.k.a. text_section.GetFileAddress() - text_section.GetFileOffset()) were only properly considered on the first iteration.

This is a reworked and updated version of: #16494

@gmilos gmilos force-pushed the fix-symbolicate-linux-fatal-for-streaming-stacktraces-2 branch from 94a355b to eb06d8e Compare November 20, 2018 12:43
@gmilos gmilos requested a review from alblue November 20, 2018 12:46
@alblue
Copy link
Contributor

alblue commented Nov 20, 2018

@swift-ci please smoke test

1 similar comment
@gmilos
Copy link
Contributor Author

gmilos commented Nov 21, 2018

@swift-ci please smoke test

@gmilos gmilos force-pushed the fix-symbolicate-linux-fatal-for-streaming-stacktraces-2 branch from 07bdb2d to b0022eb Compare November 21, 2018 14:14
@gmilos
Copy link
Contributor Author

gmilos commented Nov 21, 2018

@swift-ci please smoke test

@gmilos gmilos force-pushed the fix-symbolicate-linux-fatal-for-streaming-stacktraces-2 branch from b0022eb to 820d5f3 Compare November 21, 2018 17:44
@gmilos
Copy link
Contributor Author

gmilos commented Nov 21, 2018

@swift-ci please smoke test

@alblue alblue merged commit fb52a2e into master Nov 22, 2018
@alblue alblue deleted the fix-symbolicate-linux-fatal-for-streaming-stacktraces-2 branch November 22, 2018 09:51
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

Successfully merging this pull request may close these issues.

2 participants