[tensorflow/tflite branch r2.10] crash at absl::OkStatus(); 
@tilakrayal Hi, infos again..

I've just found a log:
std::__ndk1::__tree<flatbuffers::offset<flatbuffers::string>
during mobile running.

There is also a flatbuffers file within the current app/project and I built a lib (inserted into the app/project) containing tflite libs using another flatbuffers file. Perhaps the two flatbuffers files are incompatible.

Is it possible to keep the two flatbuffers files coexist?
 @picard314,
Could you please provide a simple standalone code to reproduce the reported behavior and would help us to investigate further. Thank you! > @picard314, Could you please provide a simple standalone code to reproduce the reported behavior and would help us to investigate further. Thank you!

@tilakrayal 
Thanks for your kind attention. Since the "two flatbuffers files" is the cause as app can run successfully after I delete a flatbuffers file and my limited time, I shall dig it no more and please forgive me for not providing related codes for they are really a big bunch of limbs which can not be separated from each other during compiling. Thanks again. Hi @picard314 ,

Please let me know if you found a resolution for your issue or if you are able to provide any standalone code to reproduce this issue. This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/66990">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/66990">No</a>

**System information**
Nova9Pro (Huawei)

- TensorFlow Lite in Play Services SDK version (found in `build.gradle`):
Based on the source codes, I built the dynamic libs: libtensorflowlite.so and libtensorflowlite_gpu_delegate.so using bazel 5.1.1

- Google Play Services version
  (`Settings` > `Apps` > `Google Play Services` > `App details`):
Self-produced app

**Standalone code to reproduce the issue**
The problem occurs when I call "ModifyGraphWithDelegate" written in my Android app codes.

**Any other info / logs**

(By inserting my debug logs into the source codes, I have located the bug.)

Unfortunately there are not hints/logs at all when mobile-running-crash happens at the end "return absl::OkStatus();" of function:

absl::Status InferenceContext::InitFromGpuModel(
    const CreateGpuModelInfo& create_info, GpuModel* gpu_model,
    Environment* env, std::vector<uint8_t>* serialized_model,
    Buffer* shared_buffer)

which is located at script "inference_context.cc".

**Other infos:
The libs I have built work fine in my other Android apps/projects which were built using Android studio 4.2.2 and earlier versions of sdk, ndk, java and c++. But crash happens at current Android app/project which is built using Android studio Iguana | 2023.2.1 Patch 1 and later versions of sdk, ndk, java and c++.

I am not sure if this is due to some kinds of incompatiblilities.


