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

Dropping InstanceAccelerationStructureDescriptor causes a segfault in autoreleasepool #324

Closed
K0bin opened this issue May 30, 2024 · 2 comments
Labels

Comments

@K0bin
Copy link

K0bin commented May 30, 2024

autoreleasepool(|| { let _ = metal::InstanceAccelerationStructureDescriptor::descriptor(); });

crashes with a segfault.

Repro.zip

@grovesNL
Copy link
Collaborator

I believe this was fixed with #320, could you retry using master?

@grovesNL grovesNL added the bug label May 30, 2024
@K0bin
Copy link
Author

K0bin commented May 30, 2024

I worked around it locally by manually sending retain before it goes out of scope. So that merged PR should definitely fix it.

@K0bin K0bin closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants