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

ONNX Runtime crashes on exit (JavaScript) #83

Open
ashvardanian opened this issue Apr 25, 2024 · 0 comments
Open

ONNX Runtime crashes on exit (JavaScript) #83

ashvardanian opened this issue Apr 25, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ashvardanian
Copy link
Contributor

If you run npm test you'll see models being downloaded and validated, but at the end, when the actual UForm tests have passed, it prints:

terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException'
  what():  /onnxruntime_src/onnxruntime/core/session/ort_env.cc:90 static void OrtEnv::Release(OrtEnv*) env_ptr == p_instance_.get() was false. 

Aborted

And exits with code 134. It's either coming from UForm or ONNX. In the first case, we may not be disposing some of the state properly.

@ashvardanian ashvardanian added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant