Skip to content

JNI ERROR (app bug): local reference table overflow (max=512) #971

@dessant

Description

@dessant

From @Tungsteno74 on December 5, 2016 2:0

kivy 1.9.2dev0
android.api = 19
android.minapi = 13
android.sdk = 20
android.ndk = 9c

built with:
buildozer 0.33dev
target android_new

tested on Android 4.4.2

The error part log:

12-05 02:00:30.265 10534 10555 E dalvikvm: JNI ERROR (app bug): local reference table overflow (max=512): tbe.kivy.tbe
12-05 02:00:30.265 10534 10555 W dalvikvm: JNI local reference table (0x7b3bce18) dump:: tbe.kivy.tbe
12-05 02:00:30.265 10534 10555 W dalvikvm:   Last 10 entries (of 512):: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       511: 0x417611e8 java.lang.Class<java.lang.Class>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       510: 0x41761890 java.lang.Class<java.lang.Object>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       509: 0x417611e8 java.lang.Class<java.lang.Class>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       508: 0x41761890 java.lang.Class<java.lang.Object>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       507: 0x417611e8 java.lang.Class<java.lang.Class>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       506: 0x41761890 java.lang.Class<java.lang.Object>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       505: 0x417611e8 java.lang.Class<java.lang.Class>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       504: 0x41761890 java.lang.Class<java.lang.Object>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       503: 0x417611e8 java.lang.Class<java.lang.Class>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       502: 0x41761890 java.lang.Class<java.lang.Object>: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:   Summary:: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:       510 of java.lang.Class (3 unique instances): tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:         1 of java.lang.Object: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 W dalvikvm:         1 of java.lang.String[]: tbe.kivy.tbe
12-05 02:00:30.275 10534 10555 E dalvikvm: Failed adding to JNI local ref table (has 512 entries): tbe.kivy.tbe

Full log:
https://goo.gl/TLMiIg

The app crash immediately after the loading screen (or while loading?).
Several commits ago all work well (i tested it on summer with the same target).
The app run without crash with android as target.
I have not changed the app's code since that time.

I'm not sure that this problem is related to kivy. I noticed several minor issues even with the android target (which didn't appear before).
It could be a problem related to the build process with buildozer?

As i don't know where is exactly the piece of code that produce this error, if someone want to reproduce the error i can send the link (on request) to the closed alpha of the app on play store that i'm developing.

Copied from original issue: kivy/kivy#4769

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions