Search Issue Tracker

Active

Planned for 2019.4.X

Fix In Review for 2020.3.X, 2021.2.X

Votes

1

Found in

2019.4

2020.3

2021.1

2021.1.16f1

2021.2

2022.1

Issue ID

1366122

Regression

No

[Android] App crashes with local reference table overflow when creating over 512 AndroidJavaClass objects

Android

-

How to reproduce:
1. Open the attached project '1366122.zip'
2. Build And Run on Android device
3. Inspect logs in logcat

Expected results: The app does not crash or show any errors in the logs
Actual results: The app crashes and logs show the error 'JNI ERROR (app bug): local reference table overflow (max=512)'

Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b15, 2022.1.0a12

Reproducible on:
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510

Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.