[Mono-bugs] [Bug 657820] ReferenceTable overflow (max=512) scrolling GridView at GetView()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 3 14:23:46 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=657820

https://bugzilla.novell.com/show_bug.cgi?id=657820#c6


--- Comment #6 from Sergio Palma <sergio.palma at phlitesoftware.com> 2011-01-03 19:23:43 UTC ---
Running the Attached Sample (12/08) bug seems to reoccur.

LogCat Output:

D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 111 objects / 6536 bytes in 32ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 116 objects / 6680 bytes in 29ms
D/dalvikvm( 3399): GC_EXPLICIT freed 7 objects / 280 bytes in 35ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 497 objects / 18944 bytes in 32ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 108 objects / 6304 bytes in 32ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 114 objects / 6640 bytes in 34ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 112 objects / 6464 bytes in 46ms
D/dalvikvm( 3399): GC_EXPLICIT freed 26 objects / 1832 bytes in 30ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 669 objects / 26384 bytes in 30ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 6 objects / 224 bytes in 35ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 9 objects / 360 bytes in 30ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 111 objects / 6432 bytes in 37ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 109 objects / 6368 bytes in 30ms
D/dalvikvm( 3399): GC_EXTERNAL_ALLOC freed 12 objects / 488 bytes in 30ms
D/dalvikvm( 3399): GC_EXPLICIT freed 13 objects / 584 bytes in 30ms
W/dalvikvm( 3399): ReferenceTable overflow (max=512)
W/dalvikvm( 3399): Last 10 entries in JNI local reference table:
W/dalvikvm( 3399):   502: 0x44999810 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   503: 0x449677b8 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   504: 0x44967368 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   505: 0x4495b0a8 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm( 3399):   506: 0x4495c010 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm( 3399):   507: 0x44967590 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   508: 0x44967140 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   509: 0x4493ca60 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm( 3399):   510: 0x449a15c8 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399):   511: 0x449a13a0 cls=Landroid/widget/TextView; (548 bytes)
W/dalvikvm( 3399): JNI local reference table summary (512 entries):
W/dalvikvm( 3399):     2 of Ljava/lang/Class; 164B (2 unique)
W/dalvikvm( 3399):   170 of Ljava/lang/String; 28B (170 unique)
W/dalvikvm( 3399):    11 of Ljava/lang/String; 36B (11 unique)
W/dalvikvm( 3399):     1 of [Ljava/lang/String; 28B
W/dalvikvm( 3399):     1 of Landroid/graphics/Canvas; 36B
W/dalvikvm( 3399):   206 of Landroid/widget/TextView; 548B (206 unique)
W/dalvikvm( 3399):     1 of Landroid/content/res/XmlBlock$Parser; 36B
W/dalvikvm( 3399):     1 of
Lorg/apache/harmony/xnet/provider/jsse/TrustManagerImpl; 28B
W/dalvikvm( 3399):    28 of Landroid/widget/AbsoluteLayout; 292B (28 unique)
W/dalvikvm( 3399):     7 of Landroid/widget/AbsoluteLayout; 300B (7 unique)
W/dalvikvm( 3399):     1 of Landroid/view/WindowManager$LayoutParams; 108B
W/dalvikvm( 3399):     1 of Lcom/android/internal/policy/impl/PhoneWindow; 196B
W/dalvikvm( 3399):     1 of Landroid/view/Surface$CompatibleCanvas; 44B
W/dalvikvm( 3399):    26 of Llocalreftabletest/views/BlockProgressView; 236B
(26 unique)
W/dalvikvm( 3399):    17 of Llocalreftabletest/views/BlockProgressView; 244B
(17 unique)
W/dalvikvm( 3399):    33 of Llocalreftabletest/views/ShadowImageView; 324B (33
unique)
W/dalvikvm( 3399):     4 of Llocalreftabletest/views/ShadowImageView; 332B (4
unique)
W/dalvikvm( 3399):     1 of Llocalreftabletest/ClaimListGridActivity; 180B
W/dalvikvm( 3399): Memory held directly by tracked refs is 151608 bytes
E/dalvikvm( 3399): Failed adding to JNI local ref table (has 512 entries)
I/dalvikvm( 3399): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 3399):   | group="main" sCount=0 dsCount=0 s=N obj=0x4001d8d0
self=0xccc8
I/dalvikvm( 3399):   | sysTid=3399 nice=0 sched=0/0 cgrp=default
handle=-1345017816
I/dalvikvm( 3399):   | schedstat=( 5497070335 1353393537 3792 )
I/dalvikvm( 3399):   at mono.android.TypeManager.n_activate(Native Method)
I/dalvikvm( 3399):   at mono.android.TypeManager.Activate(TypeManager.java:7)
I/dalvikvm( 3399):   at
localreftabletest.views.ShadowImageView.<init>(ShadowImageView.java:25)
I/dalvikvm( 3399):   at java.lang.reflect.Constructor.constructNative(Native
Method)
I/dalvikvm( 3399):   at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
I/dalvikvm( 3399):   at
android.view.LayoutInflater.createView(LayoutInflater.java:500)
I/dalvikvm( 3399):   at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
I/dalvikvm( 3399):   at
android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
I/dalvikvm( 3399):   at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
I/dalvikvm( 3399):   at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
I/dalvikvm( 3399):   at
localreftabletest.ClaimListGridActivity_ClaimListAdapter.n_getView(Native
Method)
I/dalvikvm( 3399):   at
localreftabletest.ClaimListGridActivity_ClaimListAdapter.getView(ClaimListGridActivity_ClaimListAdapter.java:46)
I/dalvikvm( 3399):   at
android.widget.AbsListView.obtainView(AbsListView.java:1294)
I/dalvikvm( 3399):   at
android.widget.GridView.makeAndAddView(GridView.java:1219)
I/dalvikvm( 3399):   at android.widget.GridView.makeRow(GridView.java:265)
I/dalvikvm( 3399):   at android.widget.GridView.fillDown(GridView.java:218)
I/dalvikvm( 3399):   at android.widget.GridView.fillGap(GridView.java:185)
I/dalvikvm( 3399):   at
android.widget.AbsListView.trackMotionScroll(AbsListView.java:2944)
I/dalvikvm( 3399):   at
android.widget.AbsListView$FlingRunnable.run(AbsListView.java:2485)
I/dalvikvm( 3399):   at android.os.Handler.handleCallback(Handler.java:587)
I/dalvikvm( 3399):   at android.os.Handler.dispatchMessage(Handler.java:92)
I/dalvikvm( 3399):   at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 3399):   at
android.app.ActivityThread.main(ActivityThread.java:4627)
I/dalvikvm( 3399):   at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 3399):   at java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm( 3399):   at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
I/dalvikvm( 3399):   at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
I/dalvikvm( 3399):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 3399): 
E/dalvikvm( 3399): VM aborting
I/ActivityManager(   83): Process com.phlite (pid 3399) has died.
D/Zygote  (   58): Process 3399 terminated by signal (4)
I/WindowManager(   83): WIN DEATH: Window{44ce2ef0
com.phlite/localreftabletest.ClaimListGridActivity paused=false}
I/WindowManager(   83): Setting rotation to 0, animFlags=1
I/ActivityManager(   83): Config changed: { scale=1.0 imsi=310/410 loc=en_US
touch=3 keys=1/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=61}
I/UsageStats(   83): Unexpected resume of com.android.launcher while already
resumed in com.phlite
W/WindowManager(   83): No window to dispatch pointer action 0
V/RenderScript_jni(  165): surfaceCreated
V/RenderScript_jni(  165): surfaceChanged
V/RenderScript_jni(  165): surfaceChanged
W/WindowManager(   83): No window to dispatch pointer action 1

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list