-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Getting segfault on exit using libllama.so after metal refactor #4952
Comments
Hard to guess - try to make a repro with some of the It works on my end with the |
hmmmmmmmmmm |
@ggerganov It's not triggered dynamic loading. It's from using a metal context inside a pthread. (Btw is another test that would be really good to have automated with |
@ggerganov fixed and working nicely! |
I'm dynamically linking to libllama.so from a dart program. After commit b38b5e9 for #4794, I get a segfault after the normal control flow of my program exits. Before that, everything exits cleanly.
Because it happens only on exit, and only when using
dart run
and notdart build
, I suspect it's an issue with some resources not being fully cleaned up.The text was updated successfully, but these errors were encountered: