Skip to content

Conversation

@fulghum
Copy link
Contributor

@fulghum fulghum commented Mar 27, 2025

When closing a runtime, the code to copy the other runtimes into a new slice was accidentally copying two sets of runtimes both to the start of the new slice, resulting in the slice containing nil elements at the end and having some runtimes overwritten. This ended up triggering a panic once we started closing all leaked regexes.

I'll look into ideas for testing tomorrow, but I did kick off a quick sanity test in this auto-bump PR, where we originally saw the panic that showed us this issue.

@zachmu zachmu requested a review from Hydrocharged March 27, 2025 00:36
Copy link
Collaborator

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fulghum fulghum merged commit 6799764 into main Mar 27, 2025
3 checks passed
@Hydrocharged Hydrocharged deleted the fulghum/finalize branch March 27, 2025 00:47
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.

3 participants