-
Notifications
You must be signed in to change notification settings - Fork 658
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
Crash in VisionJSIProcessorModule_nativeInstall causes segmentation fault #1624
Comments
Facing a similar issue |
I am sorry, but we are unable to investigate crashes that require dependencies or building a RN app, especially crashes that involve non-Hermes C++ code. Can you narrow it down to something that definitively points to a problem in Hermes? |
Crash recorded from ndk-stack. LibHermes.so is involved.
|
Again, I am sorry, but we can't debug a native crash for you. If you believe this is a bug in Hermes, you need to identify when it happens, e.g. "I call this Hermes API with these valid parameters, but it crashes with the following stack trace". Keep in mind that having libhermes in the stack or even at the top of the stack is not sufficient evidence to identify that Hermes is causing it. Native crashes often occur far from the actual cause. The first step would be to obtain a usable stack trace - the stack traces above are not correctly symbolicated. Running the code in a debugger can help. |
When invoking
Java_com_visionjsiprocessoronnx_VisionJsiProcessorModule_nativeInstall
, the application crashes with a segmentation fault (SIGSEGV). The crash appears to occur when callingvisionjsiprocessor::install(*runtime)
after interpreting the provided JSI runtime pointer. This issue has been observed on Android, and the crash dump (see below) indicates a memory access violation.Reproduction Steps:
nativeInstall
with a valid JSI runtime pointer.Expected Behavior:
The native installation should correctly install the Vision JSI Processor without causing a crash.
Actual Behavior:
The app crashes during the native installation step, likely due to a memory access issue when handling the JSI runtime pointer.
Code Sample:
Crash Dump:
Environment Details:
Additional Context:
Error occurs during the installation phase of a library I am trying to implement, and is not exclusive to mqt_v_js, it occurs on mqt_v_native too.
The text was updated successfully, but these errors were encountered: