-
Notifications
You must be signed in to change notification settings - Fork 29
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
segfault when canceling builds #434
Comments
Thanks for the report. I believe the first is expected behavior -- the The second is more concerning. I'll look into it. |
I chatted with @bcressey -- I believe the first case was surprising in that it was different. These log messages also don't necessarily need to be at INFO level since they are often not actually cleaning any files. For the segfault, this is possibly because I didn't follow signal-safety while implementing the handler -- we are deleting files while handling the signal. "Safe" handling of signals typically involves flipping atomic integers that we then process after the signal handler completes; however, this doesn't provide us with a way to interrupt the downloading of the Bottlerocket SDK. We would need to find a way for the Rust=>golang FFI to be interruptible. |
We ended up reverting the changes that caused this segmentation fault due to an issue getting |
When I cancel a build via Ctrl-C after faac675, I've seen two different results:
The first one is a bit surprising but the segfault is more concerning.
The text was updated successfully, but these errors were encountered: