Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

OrtxPackage.getLibraryPath() crash

Open
#463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java, opencv

Research direction

Start by reproducing the Android example failure at sessionOptions.registerCustomOpLibrary(OrtxPackage.getLibraryPath()) and capture the device ABI and CPU details. Trace how OrtxPackage.getLibraryPath() loads the library and compare that with the OpenCV CPU baseline error; the work is done when the example registers the custom-op library without crashing on the affected Android device.

Written by the indexing model from the issue text.

Description

The example run error on my android device

error on this line:

sessionOptions.registerCustomOpLibrary(OrtxPackage.getLibraryPath())

error function:

OrtxPackage.getLibraryPath()

error message:
E/libc++abi: terminating due to uncaught exception of type cv::Exception: OpenCV(4.5.4) /Users/runner/work/1/b/android_aar/intermediates/armeabi-v7a/Release/_deps/opencv-src/modules/core/src/system.cpp:663: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'

Dominant language
C++
Stars
1.7k
Forks
415
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/onnxruntime-inference-examples

All issues in microsoft/onnxruntime-inference-examples

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.