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

PanicHandlerTest::test_03_heap_handling - AssertionError: failed to dump end line #1335

Closed
jiridanek opened this issue Dec 24, 2023 · 2 comments · Fixed by #1372
Closed

PanicHandlerTest::test_03_heap_handling - AssertionError: failed to dump end line #1335

jiridanek opened this issue Dec 24, 2023 · 2 comments · Fixed by #1372
Assignees

Comments

@jiridanek
Copy link
Contributor

https://github.com/skupperproject/skupper-router/actions/runs/7260840822/job/19780826786?pr=1314#step:34:1436

This seems to be a rare flake.

@kgiusti
Copy link
Contributor

kgiusti commented Jan 4, 2024

What I think is happening here is that two threads are hitting SEGFAULT at the same time. Both attempt to write to stdout and that produces scrambled output.

If that's the case we probably want to limit the dump to the first thread that hits it. Maybe use an atomic flag that is set by the first thread. Any following threads would not produce the backtrace if the flag is set.

kgiusti added a commit to kgiusti/skupper-router that referenced this issue Jan 5, 2024
kgiusti added a commit to kgiusti/skupper-router that referenced this issue Jan 8, 2024
@kgiusti kgiusti linked a pull request Jan 8, 2024 that will close this issue
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 a pull request may close this issue.

2 participants