Log in or register to post comments

Crashes on Android

March 14, 2019 - 7:57pm #1

my app experience crashes with vuforia AR Camera while changing vuforia behaviour enable true and false repeatly between scene for more than 1 hour..

unity version 2018.3.6f

android version 8.1.0

samsung tab s4 

 

3-14 23:19:20.237 13598-31827/com.test.csi E/qdgralloc: ion: Failed to map memory in the client: Out of memory

    CleanBuffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument

03-14 23:19:20.237 13598-31827/com.test.csi W/GraphicBufferMapper: lock(0xdd1eb100, ...) failed: 2

03-14 23:19:20.237 13598-31827/com.test.csi E/AndroidMediaUtils: Lock buffer failed!

    lockImageFromBuffer: lock graphic buffer failed

03-14 23:19:20.244 13598-31827/com.test.csi E/AndroidRuntime: FATAL EXCEPTION: 0_camera_thread

    Process: com.test.csi, PID: 13598

    java.lang.RuntimeException: lock buffer failed for format 0x23

        at android.media.ImageReader$SurfaceImage.nativeCreatePlanes(Native Method)

        at android.media.ImageReader$SurfaceImage.getPlanes(ImageReader.java:890)

        at com.vuforia.ar.pl.Camera2_Preview$OnCameraDataAvailable.onImageAvailable(Camera2_Preview.java:364)

        at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:812)

        at android.os.Handler.dispatchMessage(Handler.java:106)

        at android.os.Looper.loop(Looper.java:164)

        at android.os.HandlerThread.run(HandlerThread.java:65)

03-14 23:19:20.255 31871-31871/? E/propClient: PropClient failed to load

the crash log 

 

Crashes on Android

March 18, 2019 - 3:23am #2

Hello,

Do you observe a similar crash when running our Vuforia Core samples (unedited)?

If so, what is the device model you're using?

  • To find an Android device's model number: Settings->About phone/device->Model number
  • To find an iOS device's model number: Settings->General->About->Model (usually ends in "LL/A")

Thanks,

Vuforia Engine Support

 

Log in or register to post comments