Skip to content

ONNX Runtime crashes on exit (JavaScript) #83

@ashvardanian

Description

@ashvardanian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions