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

Pose landmark detection: fault addr issue #486

Open
JeJe-LIAO opened this issue Jan 15, 2025 · 0 comments
Open

Pose landmark detection: fault addr issue #486

JeJe-LIAO opened this issue Jan 15, 2025 · 0 comments

Comments

@JeJe-LIAO
Copy link

Hi, I am trying to develop a PoseLandmarker Service:

  • new Executor to execute PoseLandmarker
  • loadModel in executor when Service onCreate
  • releaseModel in executor when Service onDestory

Rapid and repeated binding and unbinding of the service may cause a fault address.
Is there currently a way to check if the PoseLandmarker is being used by another thread?
or is there a solution for this?

Btw, does the model need to be reloaded every time a new image is detected? (I noticed the sample code does this.)
Is there a way to avoid constantly reloading the model?

Thanks !

Error log for fault addr:

Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x77adf8796c in tid 3166 (mediapipe/3166), pid 2790 (om.example.test)
Cmdline: com.example.test
pid: 2790, tid: 3166, name: mediapipe/3166 >>> com.example.test <<<
#00 pc 00000000007bbc28 /data/app/~~St2sQD9mdB8BdNTEURoCSQ==/com.example.test-Hnlf-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant