Open GoogleCodeExporter opened 8 years ago
I'm having the same error with when sending a broadcast with a byte array.
However it's Android 2.3.3
W/dalvikvm( 4817): ReferenceTable overflow (max=1024)
W/dalvikvm( 4817): Last 10 entries in JNI pinned array reference table:
W/dalvikvm( 4817): 1014: 0x2b0fd970 cls=[B (36 bytes)
W/dalvikvm( 4817): 1015: 0x2b0e2f60 cls=[B (36 bytes)
W/dalvikvm( 4817): 1016: 0x2b0fa578 cls=[B (36 bytes)
W/dalvikvm( 4817): 1017: 0x2b120fa0 cls=[B (36 bytes)
W/dalvikvm( 4817): 1018: 0x2b11e4c0 cls=[B (36 bytes)
W/dalvikvm( 4817): 1019: 0x2b0ba580 cls=[B (36 bytes)
W/dalvikvm( 4817): 1020: 0x2b0bacd0 cls=[B (36 bytes)
W/dalvikvm( 4817): 1021: 0x2b1090d0 cls=[B (36 bytes)
W/dalvikvm( 4817): 1022: 0x2b130e10 cls=[B (36 bytes)
W/dalvikvm( 4817): 1023: 0x2afc8c88 cls=[B (36 bytes)
W/dalvikvm( 4817): JNI pinned array reference table summary (1024 entries):
W/dalvikvm( 4817): 978 of [B 36B (978 unique)
W/dalvikvm( 4817): 45 of [B 44B (45 unique)
W/dalvikvm( 4817): 1 of [B 1044B
W/dalvikvm( 4817): Memory held directly by tracked refs is 38232 bytes
E/dalvikvm( 4817): Failed adding to JNI pinned array ref table (1024 entries)
I/dalvikvm( 4817): "Thread-11" prio=5 tid=10 RUNNABLE
I/dalvikvm( 4817): | group="main" sCount=0 dsCount=0 obj=0x2b08f588
self=0x2fc598
I/dalvikvm( 4817): | sysTid=4844 nice=0 sched=0/0 cgrp=[fopen-error:2]
handle=3127800
I/dalvikvm( 4817): at android.os.Parcel.writeInterfaceToken(Native Method)
I/dalvikvm( 4817): at
android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:1536
)
I/dalvikvm( 4817): at
android.app.ContextImpl.sendBroadcast(ContextImpl.java:669)
I/dalvikvm( 4817): at
android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:276)
I/dalvikvm( 4817): at
com.monivox.sysman.impl.MVXPhiManager.sendRadioMsgBroadCast(MVXPhiManager.java:5
45)
I/dalvikvm( 4817): at
com.monivox.sysman.impl.MVXPhiManager.broadCastRadioStatusMsg(MVXPhiManager.java
:530)
I/dalvikvm( 4817): at
com.monivox.sysman.radio.RadioNativeController.onDataMsgReceived(RadioNativeCont
roller.java:468)
I/dalvikvm( 4817): at
com.monivox.sysman.radio.RadioNativeController.run(RadioNativeController.java:40
1)
I/dalvikvm( 4817): at java.lang.Thread.run(Thread.java:1019)
I/dalvikvm( 4817):
E/dalvikvm( 4817): VM aborting
I/DEBUG ( 4681): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***
I/DEBUG ( 4681): Build fingerprint:
'freescale/imx53_loco/imx53_loco:2.3.3/GRI40/eng.phi.20130726.164905:eng/test-ke
ys'
I/DEBUG ( 4681): pid: 4817, tid: 4844 >>> com.monivox.sysman <<<
I/DEBUG ( 4681): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr
deadd00d
I/DEBUG ( 4681): r0 fffffe84 r1 deadd00d r2 00000026 r3 00000000
I/DEBUG ( 4681): r4 401a5600 r5 2ab05f00 r6 00000000 r7 401aad38
I/DEBUG ( 4681): r8 401aafdc r9 2f37de1c 10 0030be18 fp 2c65ea70
I/DEBUG ( 4681): ip 401a570c sp 2fbd8b10 lr 6fd191d9 pc 40146240 cpsr
20000030
I/DEBUG ( 4681): d0 74726f6261204d69 d1 4e6f696461522e6e
I/DEBUG ( 4681): d2 6572207961727267 d3 20656c626174200a
I/DEBUG ( 4681): d4 2b0e7b382b0e0d50 d5 2b06a1902b114e38
I/DEBUG ( 4681): d6 2b1013902b106818 d7 2b0b1af02b0ae238
I/DEBUG ( 4681): d8 0000000000cf1896 d9 0000000000000000
I/DEBUG ( 4681): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 4681): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 4681): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 4681): d16 2ee9c02800000000 d17 3fe0000000000000
I/DEBUG ( 4681): d18 547d42aea2879f2e d19 416312d000000000
I/DEBUG ( 4681): d20 4059000000000000 d21 0000000000000000
I/DEBUG ( 4681): d22 3ff0000000000000 d23 0000000000000000
I/DEBUG ( 4681): d24 3ff0000000000000 d25 0000000000000000
I/DEBUG ( 4681): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 4681): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 4681): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 4681): scr 60000012
I/DEBUG ( 4681):
I/DEBUG ( 4681): #00 pc 00046240 /system/lib/libdvm.so
I/DEBUG ( 4681): #01 pc 0004ab98 /system/lib/libdvm.so
I/DEBUG ( 4681): #02 pc 0004b24a /system/lib/libdvm.so
I/DEBUG ( 4681): #03 pc 0004de8c /system/lib/libandroid_runtime.so
I/DEBUG ( 4681): #04 pc 00017e34 /system/lib/libdvm.so
I/DEBUG ( 4681): #05 pc 000496e0 /system/lib/libdvm.so
I/DEBUG ( 4681):
I/DEBUG ( 4681): code around pc:
I/DEBUG ( 4681): 40146220 447a4479 f7d14c0b 2000e996 ea9af7d1
I/DEBUG ( 4681): 40146230 447c4809 6bdb5823 4798b103 22264902
Original comment by rafael.c...@gmail.com
on 14 Apr 2014 at 6:57
Humm actually we had a problem with a JNI call we did. Mainly because we were
using GetByteArrayRegion without a ReleaseByteArray.
This link helps a lot:
http://developer.android.com/training/articles/perf-jni.html#arrays
Original comment by rafael.c...@gmail.com
on 15 Apr 2014 at 1:55
Original issue reported on code.google.com by
narek.ba...@socialobjects.am
on 22 Jul 2013 at 8:35