"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

External camera problem

On Android 8.0, using UVC camera.

The libVuforia CRASH when re-entering the scene and opening the camera again. 

 

11-22 10:30:54.990 13455 13617 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr c3100000 11-22 10:30:54.990 13455 13617 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-22 10:30:54.990 13455 13617 E CRASH   : Build fingerprint: 'HUAWEI/PIC-AL00/HWPIC:8.0.0/HUAWEIPIC-AL00/339(C00):user/release-keys' 11-22 10:30:54.990 13455 13617 E CRASH   : Revision: '0' 11-22 10:30:54.991 13455 13617 E CRASH   : pid: 13455, tid: 13617, name: Thread-114  >>> guru.unity <<< 11-22 10:30:54.991 13455 13617 E CRASH   :     r0 00000000  r1 c30ffd60  r2 00000280  r3 000001e0 11-22 10:30:54.991 13455 13617 E CRASH   :     r4 0000011e  r5 00000150  r6 00000000  r7 c3100260 11-22 10:30:54.991 13455 13617 E CRASH   :     r8 00000500  r9 00000280  sl 00000000  fp 00000500 11-22 10:30:54.991 13455 13617 E CRASH   :     ip c1ab50e0  sp be4826cc  lr 00000500  pc cadd1834  cpsr f19c6c90 11-22 10:30:54.991 13455 13617 E CRASH   : 11-22 10:30:54.991 13455 13617 E CRASH   : backtrace: 11-22 10:30:55.234 13455 13617 E CRASH   :   #00  pc 0015f834  /data/app/com.xunfeivr.airguru2-C84L6XIAoEwh2fQls1jI8Q==/lib/arm/libVuforia.so 11-22 10:30:55.234 13455 13617 E CRASH   :   #01  pc 0015f329  /data/app/com.xunfeivr.airguru2-C84L6XIAoEwh2fQls1jI8Q==/lib/arm/libVuforia.so 11-22 10:30:55.234 13455 13617 E CRASH   :   #02  pc 00167b95  /data/app/com.xunfeivr.airguru2-C84L6XIAoEwh2fQls1jI8Q==/lib/arm/libVuforia.so 11-22 10:30:55.234 13455 13617 E CRASH   :   #03  pc 0018197b  /data/app/com.xunfeivr.airguru2-C84L6XIAoEwh2fQls1jI8Q==/lib/arm/libVuforia.so

Hello,

Per our documentation: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/driver-framework.html

Hello,

To clarify, the External Camera works in Unity. It’s the actual driver library implementation that needs to be in C/C++, with the library that is included in the Unity project just like the Engine SDK.

Of course, we using a C/C++ implementation based on vuforia-driver-sample-uvcdriver-android-7-5-20 from your website.

Hello,

We tried to decode the dump posted below but couldn't make it work. Can you attach the entire crash dump here as a file so that we can analyze?

Also, looking for confirmation on the exact version of the SDK you're using.

Thanks,

Vuforia Engine Support

Hello,

The version of the SDK we're using is 7.5.26.

And we can't catch a tombstone from a user build phone.

We are trying to catch a tombstone from a userdebug device, and we'll upload the tombstone file at the very time we catch it.

 

Thanks

medabit

Fri, 02/15/2019 - 21:24

In reply to by lbb1993

Hello @lbb1993,

Thanks for the feedback. I've escalated to the team.

-Vuforia Engine Support

Hello,

Please note that Vuforia SDK 8.1 we fixed an issue with deadlock when using the UVC Driver on a device with permission checking enabled.

Hello @lltheone,

Thanks for the additional info. I've asked the team to take a look.

-Vuforia Engine Support