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

Applications that exit with assert kills the polytracker info command #6528

Open
hbrodin opened this issue Dec 19, 2022 · 0 comments
Open

Applications that exit with assert kills the polytracker info command #6528

hbrodin opened this issue Dec 19, 2022 · 0 comments

Comments

@hbrodin
Copy link
Collaborator

hbrodin commented Dec 19, 2022

If an application exits due to an assert (or otherwise unexpected exit). The size fields for each section remains at it's allocated size. Under normal circumstances, that size is updated when the application exits.

A first mitigation to prevent crash and just return an empty output file could be to initialize each section size to zero. Other options to explore is to have each section update the size as soon as anything is written (requiring an additional write for each write to a section).

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

No branches or pull requests

1 participant