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

Fix attempt to subtract with overflow panic in SAPRegion::update_after_subregion_removal() #663

Merged
merged 2 commits into from
Jun 23, 2024

Conversation

DiSaber
Copy link
Contributor

@DiSaber DiSaber commented Jun 22, 2024

This works around #593, although I'm unsure of the root cause of the issue.

@sebcrozet
Copy link
Member

Thank you for this PR! I changed it a little bit to generate a (debug) log if that happens.
This needs to be investigated further, but at least I think it’s fine to disable the panic in the mean time.

I modified your message (replaced "fixed" by "works around") so that github doesn’t auto-close the linked issue (I want to keep the issue open to keep the bug in mind for future investigations).

@sebcrozet sebcrozet merged commit a854de7 into dimforge:master Jun 23, 2024
5 checks passed
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.

None yet

2 participants