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 crashes and -p option #100

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

jandubois
Copy link
Member

The -p option was ignoring it's argument.

And when an early error would jump over the initialization of the dispatch queues, then the attempt to release the queues would cause a segmentation violation.

See also #99

Don't jump over the initialization of the state structure.
dispatch_release() cannot be called with a NULL argument.

Signed-off-by: Jan Dubois <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v1.2.1 milestone Dec 5, 2024
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@jandubois jandubois merged commit 2b032b6 into lima-vm:master Dec 5, 2024
11 checks passed
@jandubois jandubois deleted the fix-crashes branch December 5, 2024 16:38
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.

2 participants