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

[Bug]: crash bug in java_api from openvino_contrib #931

Open
3 tasks done
chenruix opened this issue Oct 18, 2023 · 3 comments
Open
3 tasks done

[Bug]: crash bug in java_api from openvino_contrib #931

chenruix opened this issue Oct 18, 2023 · 3 comments
Assignees
Labels
support_request Support team

Comments

@chenruix
Copy link

OpenVINO Version

master

Operating System

Ubuntu 18.04 (LTS)

Device used for inference

CPU

Framework

Keras (TensorFlow 2)

Model used

No response

Issue description

Hi,When I call set_tensor in the following way, I encounter sporadic crashes while building the java_api using the openvino_contrib project. Here is the code:
JNIEXPORT void JNICALL Java_org_intel_openvino_InferRequest_SetTensor(JNIEnv *env, jobject obj, jlong addr, jstring tensorName, jlong tensorAddr)
{
JNI_METHOD("SetInputTensor",
InferRequest *infer_request = (InferRequest *)addr;
Tensor *input_tensor = (Tensor *)tensorAddr;
std::string c_tensorName= jstringToString(env, tensorName);
infer_request->set_tensor(c_tensorName, *input_tensor);
)
}

first crash error message:
image
second crash error message:
image

Since this crash occurs sporadically and you are unable to determine the cause, it would be difficult for me to provide a specific solution without more information. Thanks!

Step-by-step reproduction

No response

Relevant log output

No response

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • There is reproducer code and related data files such as images, videos, models, etc.
@chenruix chenruix added bug Something isn't working support_request Support team labels Oct 18, 2023
@vurusovs
Copy link
Contributor

@likholat could you take a look?

@chenruix
Copy link
Author

HI, @likholat Are there any possible directions for troubleshooting this crash? I have tried many ways to solve the problem, but none has worked. If so, could you please tell me? Thanks!

@wenjiew wenjiew changed the title [Bug]: crash bug [Bug]: crash bug in java_api from openvino_contrib Oct 24, 2023
@avitial avitial removed the bug Something isn't working label Dec 22, 2023
Copy link

This issue will be closed in a week because of 9 months of no activity.

@ilya-lavrenov ilya-lavrenov transferred this issue from openvinotoolkit/openvino Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support_request Support team
Projects
None yet
Development

No branches or pull requests

4 participants