标签:
在写 jni 层代码的时候,遇到了如下异常:
W/dalvikvm(15173): Invalid indirect reference 0x28 in decodeIndirectRef I/dalvikvm(15173): "main" prio=5 tid=1 RUNNABLE I/dalvikvm(15173): | group="main" sCount=0 dsCount=0 obj=0x4167dca8 self=0x415b74f0 I/dalvikvm(15173): | sysTid=15173 nice=0 sched=0/0 cgrp=apps handle=1074585940 I/dalvikvm(15173): | state=R schedstat=( 0 0 0 ) utm=25 stm=16 core=0 I/dalvikvm(15173): at com.jerikc.demo.H264Encoder.encode(Native Method) I/dalvikvm(15173): at com.jerikc.demo.CameraStreamingManager.onPreviewFrame(CameraStreamingManager.java:851) I/dalvikvm(15173): at android.hardware.Camera$EventHandler.handleMessage(Camera.java:985) I/dalvikvm(15173): at android.os.Handler.dispatchMessage(Handler.java:102) I/dalvikvm(15173): at android.os.Looper.loop(Looper.java:136) I/dalvikvm(15173): at android.app.ActivityThread.main(ActivityThread.java:5117) I/dalvikvm(15173): at java.lang.reflect.Method.invokeNative(Native Method) I/dalvikvm(15173): at java.lang.reflect.Method.invoke(Method.java:515) I/dalvikvm(15173): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) I/dalvikvm(15173): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) I/dalvikvm(15173): at dalvik.system.NativeStart.main(Native Method) I/dalvikvm(15173): E/dalvikvm(15173): VM aborting
Invalid indirect reference 0x28 in decodeIndirectR
标签:
原文地址:http://my.oschina.net/jerikc/blog/515322