Hi guys! We’re getting a particularly interesting crash on our 3.2.1 Asus Eee Pad Transformer 3.2.1 Motorola Xoom.
The only thing I can think of is that we’re not properly disposing of some of the items in the ref table (shown in log below) that we’re supposed to manually handle.
At the moment, I’m a bit green at Android, so any light you guys can shed on this would be greatly appreciated. Let me know what bits of information I’ve inevitably omitted that may be useful. Thanks!
Logcat:
D/OpenFeintFacade( 1062): GetHighScoresFromLeaderBoardId: success!
D/dalvikvm( 1062): JIT unchain all for threadid=9
D/dalvikvm( 1062): GC_CONCURRENT freed 1211K, 14% free 8729K/10055K, paused 3ms+4ms
D/OpenFeintFacade( 1062): GetHighScoresFromLeaderBoardId: success!
W/dalvikvm( 1062): ReferenceTable overflow (max=512)
[B]W/dalvikvm( 1062): Last 10 entries in JNI local reference table:[/B]
W/dalvikvm( 1062): * 502: 0x4083a418 cls=Ljava/lang/Class; 'Lcom/unity3d/player/UnityPlayer;' (308 bytes)
W/dalvikvm( 1062): * 503: 0x40afb3a8 cls=Ljava/lang/reflect/Field; (36 bytes)
W/dalvikvm( 1062): * 504: 0x4083a418 cls=Ljava/lang/Class; 'Lcom/unity3d/player/UnityPlayer;' (308 bytes)
W/dalvikvm( 1062): * 505: 0x4099c0d0 cls=Ljava/lang/reflect/Field; (36 bytes)
W/dalvikvm( 1062): * 506: 0x4083a418 cls=Ljava/lang/Class; 'Lcom/unity3d/player/UnityPlayer;' (308 bytes)
W/dalvikvm( 1062): * 507: 0x40b5c748 cls=Ljava/lang/reflect/Field; (36 bytes)
W/dalvikvm( 1062): * 508: 0x409b9528 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm( 1062): * 509: 0x409abef0 cls=Lcom/openfeint/api/resource/Score; (68 bytes)
W/dalvikvm( 1062): * 510: 0x408961a0 cls=Ljava/lang/Class; 'Lcom/openfeint/api/resource/Score;' (164 bytes)
W/dalvikvm( 1062): * 511: 0x4083a418 cls=Ljava/lang/Class; 'Lcom/unity3d/player/UnityPlayer;' (308 bytes)
W/dalvikvm( 1062): JNI local reference table summary (512 entries):
W/dalvikvm( 1062): * *73 of Ljava/lang/Class; 164B (2 unique)
W/dalvikvm( 1062): * * 2 of Ljava/lang/Class; 212B (1 unique)
W/dalvikvm( 1062): * 150 of Ljava/lang/Class; 308B (1 unique)
W/dalvikvm( 1062): * 138 of Ljava/lang/reflect/Field; 36B (138 unique)
W/dalvikvm( 1062): * * 6 of Ljava/lang/reflect/Field; 44B (6 unique)
W/dalvikvm( 1062): * * 4 of Ljava/lang/reflect/Method; 60B (4 unique)
W/dalvikvm( 1062): * * 1 of Ljava/lang/reflect/Method; 68B
W/dalvikvm( 1062): * *38 of Ljava/lang/String; 28B (38 unique)
W/dalvikvm( 1062): * * 2 of Ljava/util/ArrayList; 20B (2 unique)
W/dalvikvm( 1062): * *25 of Lcom/unity3d/player/WWW; 100B (25 unique)
W/dalvikvm( 1062): * *36 of Lcom/openfeint/api/resource/User; 68B (36 unique)
W/dalvikvm( 1062): * *37 of Lcom/openfeint/api/resource/Score; 68B (37 unique)
W/dalvikvm( 1062): Memory held directly by tracked refs is 14956 bytes
E/dalvikvm( 1062): Failed adding to JNI local ref table (has 512 entries)
I/dalvikvm( 1062): "GLThread 11" prio=5 tid=9 RUNNABLE
I/dalvikvm( 1062): * | group="main" sCount=0 dsCount=0 obj=0x4082e668 self=0x194e98
I/dalvikvm( 1062): * | sysTid=1184 nice=0 sched=0/0 cgrp=default handle=1658808
I/dalvikvm( 1062): * | schedstat=( 25666002000 7188588000 28132 ) utm=2300 stm=266 core=1
I/dalvikvm( 1062): * at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
I/dalvikvm( 1062): * at com.unity3d.player.UnityPlayer.onDrawFrame((null):-1)
I/dalvikvm( 1062): * at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1429)
I/dalvikvm( 1062): * at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1184)
I/dalvikvm( 1062):
E/dalvikvm( 1062): VM aborting
I/DEBUG * ( * 85): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***