Log in or register to post comments

VM Aborting ImageTargets Sample [Android]

December 24, 2012 - 2:27am #5

Hi.. im new comer in developing AR app based on Vuforia, i have done all the things in developer guide for the tools needed but when i tried to run the sample program [ImageTargets] the application is shutdown in AboutScreen Activity, i dont know why .. this is my log.. i hope you can help me.. thx so much

 

 

12-24 16:13:54.711: D/dalvikvm(23486): GC_FOR_ALLOC freed 58K, 2% free 8144K/8259K, paused 40ms, total 41ms
12-24 16:13:54.714: I/dalvikvm-heap(23486): Grow heap (frag case) to 8.741MB for 775696-byte allocation
12-24 16:13:54.777: D/dalvikvm(23486): GC_CONCURRENT freed 1K, 2% free 8900K/9031K, paused 14ms+3ms, total 62ms
12-24 16:13:59.289: I/dalvikvm(23486): Could not find method com.qualcomm.QCAR.QCAR.requiresAlpha, referenced from method com.qualcomm.QCARSamples.ImageTargets.ImageTargets.initApplicationAR
12-24 16:13:59.289: W/dalvikvm(23486): VFY: unable to resolve static method 65: Lcom/qualcomm/QCAR/QCAR;.requiresAlpha ()Z
12-24 16:13:59.289: D/dalvikvm(23486): VFY: replacing opcode 0x71 at 0x000c
12-24 16:13:59.316: I/dalvikvm(23486): Could not find method com.qualcomm.QCAR.QCAR.deinit, referenced from method com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onDestroy
12-24 16:13:59.320: W/dalvikvm(23486): VFY: unable to resolve static method 58: Lcom/qualcomm/QCAR/QCAR;.deinit ()V
12-24 16:13:59.320: D/dalvikvm(23486): VFY: replacing opcode 0x71 at 0x0048
12-24 16:13:59.320: I/dalvikvm(23486): Could not find method com.qualcomm.QCAR.QCAR.onPause, referenced from method com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onPause
12-24 16:13:59.320: W/dalvikvm(23486): VFY: unable to resolve static method 61: Lcom/qualcomm/QCAR/QCAR;.onPause ()V
12-24 16:13:59.320: D/dalvikvm(23486): VFY: replacing opcode 0x71 at 0x002c
12-24 16:13:59.320: I/dalvikvm(23486): Could not find method com.qualcomm.QCAR.QCAR.onResume, referenced from method com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onResume
12-24 16:13:59.324: W/dalvikvm(23486): VFY: unable to resolve static method 62: Lcom/qualcomm/QCAR/QCAR;.onResume ()V
12-24 16:13:59.324: D/dalvikvm(23486): VFY: replacing opcode 0x71 at 0x0008
12-24 16:13:59.324: I/dalvikvm(23486): Could not find method com.qualcomm.QCAR.QCAR.isInitialized, referenced from method com.qualcomm.QCARSamples.ImageTargets.ImageTargets.updateRenderView
12-24 16:13:59.324: W/dalvikvm(23486): VFY: unable to resolve static method 60: Lcom/qualcomm/QCAR/QCAR;.isInitialized ()Z
12-24 16:13:59.324: D/dalvikvm(23486): VFY: replacing opcode 0x71 at 0x0010
12-24 16:13:59.324: D/dalvikvm(23486): Trying to load lib /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so 0x415868e0
12-24 16:13:59.359: D/dalvikvm(23486): Added shared lib /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so 0x415868e0
12-24 16:13:59.363: W/dalvikvm(23486): JNI WARNING: JNI method called with exception pending
12-24 16:13:59.363: W/dalvikvm(23486):              in Ljava/lang/Runtime;.nativeLoad:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String; (FindClass)
12-24 16:13:59.363: W/dalvikvm(23486): Pending exception is:
12-24 16:13:59.363: I/dalvikvm(23486): java.lang.NoClassDefFoundError: com/qualcomm/ar/pl/CameraPreview
12-24 16:13:59.363: I/dalvikvm(23486): at java.lang.Runtime.nativeLoad(Native Method)
12-24 16:13:59.367: I/dalvikvm(23486): at java.lang.Runtime.loadLibrary(Runtime.java:368)
12-24 16:13:59.367: I/dalvikvm(23486): at java.lang.System.loadLibrary(System.java:535)
12-24 16:13:59.367: I/dalvikvm(23486): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.loadLibrary(ImageTargets.java:858)
12-24 16:13:59.367: I/dalvikvm(23486): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.<clinit>(ImageTargets.java:125)
12-24 16:13:59.367: I/dalvikvm(23486): at java.lang.Class.newInstanceImpl(Native Method)
12-24 16:13:59.367: I/dalvikvm(23486): at java.lang.Class.newInstance(Class.java:1319)
12-24 16:13:59.371: I/dalvikvm(23486): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
12-24 16:13:59.375: I/dalvikvm(23486): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
12-24 16:13:59.375: I/dalvikvm(23486): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
12-24 16:13:59.375: I/dalvikvm(23486): at android.app.ActivityThread.access$600(ActivityThread.java:130)
12-24 16:13:59.375: I/dalvikvm(23486): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
12-24 16:13:59.379: I/dalvikvm(23486): at android.os.Handler.dispatchMessage(Handler.java:99)
12-24 16:13:59.382: I/dalvikvm(23486): at android.os.Looper.loop(Looper.java:137)
12-24 16:13:59.382: I/dalvikvm(23486): at android.app.ActivityThread.main(ActivityThread.java:4745)
12-24 16:13:59.382: I/dalvikvm(23486): at java.lang.reflect.Method.invokeNative(Native Method)
12-24 16:13:59.382: I/dalvikvm(23486): at java.lang.reflect.Method.invoke(Method.java:511)
12-24 16:13:59.386: I/dalvikvm(23486): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-24 16:13:59.386: I/dalvikvm(23486): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-24 16:13:59.390: I/dalvikvm(23486): at dalvik.system.NativeStart.main(Native Method)
12-24 16:13:59.390: I/dalvikvm(23486): Caused by:
12-24 16:13:59.390: I/dalvikvm(23486): java.lang.ClassNotFoundException: com.qualcomm.ar.pl.CameraPreview
12-24 16:13:59.390: I/dalvikvm(23486): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.Runtime.nativeLoad(Native Method)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.Runtime.loadLibrary(Runtime.java:368)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.System.loadLibrary(System.java:535)
12-24 16:13:59.390: I/dalvikvm(23486): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.loadLibrary(ImageTargets.java:858)
12-24 16:13:59.390: I/dalvikvm(23486): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.<clinit>(ImageTargets.java:125)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.Class.newInstanceImpl(Native Method)
12-24 16:13:59.390: I/dalvikvm(23486): at java.lang.Class.newInstance(Class.java:1319)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.ActivityThread.access$600(ActivityThread.java:130)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
12-24 16:13:59.390: I/dalvikvm(23486): at android.os.Handler.dispatchMessage(Handler.java:99)
12-24 16:13:59.390: I/dalvikvm(23486): at android.os.Looper.loop(Looper.java:137)
12-24 16:13:59.390: I/dalvikvm(23486): at android.app.ActivityThread.main(ActivityThread.java:4745)
12-24 16:13:59.394: I/dalvikvm(23486): at java.lang.reflect.Method.invokeNative(Native Method)
12-24 16:13:59.394: I/dalvikvm(23486): at java.lang.reflect.Method.invoke(Method.java:511)
12-24 16:13:59.394: I/dalvikvm(23486): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-24 16:13:59.394: I/dalvikvm(23486): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-24 16:13:59.394: I/dalvikvm(23486): at dalvik.system.NativeStart.main(Native Method)
12-24 16:13:59.394: I/dalvikvm(23486): "main" prio=5 tid=1 NATIVE
12-24 16:13:59.394: I/dalvikvm(23486):   | group="main" sCount=0 dsCount=0 obj=0x40db4568 self=0x40da49f8
12-24 16:13:59.394: I/dalvikvm(23486):   | sysTid=23486 nice=0 sched=0/0 cgrp=apps handle=1075365424
12-24 16:13:59.394: I/dalvikvm(23486):   | schedstat=( 0 0 0 ) utm=33 stm=10 core=0
12-24 16:13:59.406: I/dalvikvm(23486):   #00  pc 00001260  /system/lib/libcorkscrew.so (unwind_backtrace_thread+27)
12-24 16:13:59.406: I/dalvikvm(23486):   #01  pc 0005f684  /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+35)
12-24 16:13:59.406: I/dalvikvm(23486):   #02  pc 00053530  /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+303)
12-24 16:13:59.406: I/dalvikvm(23486):   #03  pc 000535ca  /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
12-24 16:13:59.406: I/dalvikvm(23486):   #04  pc 00038cf2  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #05  pc 000419cc  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #06  pc 001457d0  /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so
12-24 16:13:59.406: I/dalvikvm(23486):   #07  pc 00136a90  /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so
12-24 16:13:59.406: I/dalvikvm(23486):   #08  pc 00140018  /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so
12-24 16:13:59.406: I/dalvikvm(23486):   #09  pc 00140358  /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so
12-24 16:13:59.406: I/dalvikvm(23486):   #10  pc 0002728c  /data/data/com.qualcomm.QCARSamples.ImageTargets/lib/libQCAR.so (JNI_OnLoad+4)
12-24 16:13:59.406: I/dalvikvm(23486):   #11  pc 0004f450  /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+447)
12-24 16:13:59.406: I/dalvikvm(23486):   #12  pc 00065d58  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #13  pc 00027260  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #14  pc 0002bb38  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
12-24 16:13:59.406: I/dalvikvm(23486):   #15  pc 0005f5b0  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+271)
12-24 16:13:59.406: I/dalvikvm(23486):   #16  pc 0005f5da  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+19)
12-24 16:13:59.406: I/dalvikvm(23486):   #17  pc 0006a1b4  /system/lib/libdvm.so (dvmInitClass+1031)
12-24 16:13:59.406: I/dalvikvm(23486):   #18  pc 00065776  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #19  pc 00027260  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #20  pc 0002bb38  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
12-24 16:13:59.406: I/dalvikvm(23486):   #21  pc 0005f876  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+373)
12-24 16:13:59.406: I/dalvikvm(23486):   #22  pc 00066d4c  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #23  pc 00027260  /system/lib/libdvm.so
12-24 16:13:59.406: I/dalvikvm(23486):   #24  pc 0002bb38  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
12-24 16:13:59.406: I/dalvikvm(23486):   #25  pc 0005f5b0  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+271)
12-24 16:13:59.406: I/dalvikvm(23486):   #26  pc 000494ca  /system/lib/libdvm.so
12-24 16:13:59.410: I/dalvikvm(23486):   #27  pc 0004698a  /system/lib/libandroid_runtime.so
12-24 16:13:59.410: I/dalvikvm(23486):   #28  pc 0004746e  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+389)
12-24 16:13:59.410: I/dalvikvm(23486):   #29  pc 00000dce  /system/bin/app_process
12-24 16:13:59.410: I/dalvikvm(23486):   #30  pc 00016ea8  /system/lib/libc.so (__libc_init+35)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.Runtime.nativeLoad(Native Method)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.Runtime.loadLibrary(Runtime.java:368)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.System.loadLibrary(System.java:535)
12-24 16:13:59.410: I/dalvikvm(23486):   at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.loadLibrary(ImageTargets.java:858)
12-24 16:13:59.410: I/dalvikvm(23486):   at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.<clinit>(ImageTargets.java:125)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.Class.newInstanceImpl(Native Method)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.Class.newInstance(Class.java:1319)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.ActivityThread.access$600(ActivityThread.java:130)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.os.Handler.dispatchMessage(Handler.java:99)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.os.Looper.loop(Looper.java:137)
12-24 16:13:59.410: I/dalvikvm(23486):   at android.app.ActivityThread.main(ActivityThread.java:4745)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.reflect.Method.invokeNative(Native Method)
12-24 16:13:59.410: I/dalvikvm(23486):   at java.lang.reflect.Method.invoke(Method.java:511)
12-24 16:13:59.414: I/dalvikvm(23486):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-24 16:13:59.414: I/dalvikvm(23486):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-24 16:13:59.414: I/dalvikvm(23486):   at dalvik.system.NativeStart.main(Native Method)
12-24 16:13:59.414: E/dalvikvm(23486): VM aborting
12-24 16:13:59.414: A/libc(23486): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 23486 (es.ImageTargets)
 
How to fix this error 12-24 16:13:59.414: E/dalvikvm(23486): VM aborting
12-24 16:13:59.414: A/libc(23486): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 23486 (es.ImageTargets) ?
 
And why it is happen 12-24 16:13:59.363: I/dalvikvm(23486): java.lang.NoClassDefFoundError: com/qualcomm/ar/pl/CameraPreview ?
 
 

DONE

December 26, 2012 - 10:10pm #4

Done Case Closed..  :D

VM Aborting ImageTargets Sample [Android]

March 13, 2013 - 6:53am #3

What did you do? Did you get it to work?

VM Aborting ImageTargets Sample [Android]

March 24, 2013 - 9:52am #2

how did you fix it?

VM Aborting ImageTargets Sample [Android]

June 13, 2013 - 1:29am #1

I'm looking for the solution of this problem for several days, someone has the solution please?

I have the same error for each sample.

Log in or register to post comments