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
App crashes with "JNI ERROR (app bug): local reference table overflow (max=512)" #7262
Comments
Posting more logs in case you find it useful. We found this before the logs that I posted previously
|
Thanks for the reply, @nhachicha. Those are the complete logs that we had. Unfortunately, we are missing the version info but we think it was 10.2.0 since it had been deployed for a while. What do you think about the |
@tejas-n It seems a bit suspicious with
Are you doing any particular stuff related to networking (configuration/proxy/redirecting)? Maybe try to enable some additional logging with Could you also share a bit about the specs of the device? |
Thanks for the response and sorry for the late reply. I am no longer working on that project but if it helps, I can give you some more details. Our devices were being used by people in a retirement village which had it's own private network which connected to the Internet so I'm not sure how their network was configured. I'm not sure if this is related but we were also frequently seeing DNS renewal issues at that time:
Our logs were flooded with these statements at that time. Anyways, l am no longer working on that project but posted if it could help you all debug the issue. |
@tejas-n Thanks for the additional input. Usually you only see these errors on low-memory devices. Further, it looks to be related to the network usage, but with custom device, the very short lease time and potential other network configuration unknowns and without a chance to get more insight/reproduce I don't think we can get to the bottom of this. I will leave it hanging for now, but please please feel free to add additional insight if something pops up. |
Closing as we can't get further without more details. |
My Android Unity app has this issue when trying to make network requests. |
@Wedmal Can you create a new issue with the details. If you also have a stacktrace that would be invaluable. |
it has nothing to do with Realm-Java. |
We noticed that our app crashes sometimes with "JNI ERROR (app bug): local reference table overflow (max=512)". Can you tell us what might be happening, please? We had reported a similar error at #7217 but it was fixed and we haven't experienced that error after the new update. This one looks similar to that but the source of this one seems different though.
Version of Realm and tooling
Realm version(s): 10.2.0
Realm Sync feature enabled: Yes
Android Studio version: 4.1.1
Android Build Tools version: 30.0.2
Gradle version: Android Gradle Plugin 4.1.1 with Gradle 6.5
Which Android version and device(s): A custom Android tablet which runs Android 7.1.2
Logs
The text was updated successfully, but these errors were encountered: