Log in or register to post comments

Crach on trigger lost on android

September 3, 2014 - 2:54am #1

Hi all

I am compiling my app for android in unity. I have 3 triggers in the scene. I am using v 3.0.9 of vuforia.

When I run this on the device, sometimes (let say 1 out of 6 times) I find the trackable, but when I move the device or hide the image, the app crashes. I've added a debug print in the "OnTrackableStateChanged" method of my (custom) trackable behaviour, and it is not printed, so I know the crash is inside Vuforia's code.

Here is the whole log of the crash:

https://dl.dropboxusercontent.com/u/29488052/lost_trigger_log.txt

 

These are the highlights:

09-03 12:28:08.881: A/libc(11378): Fatal signal 11 (SIGSEGV) at 0xdeadcab1 (code=1), thread 11378 (zyLABS.myrace)
09-03 12:28:08.983: I/DEBUG(126): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-03 12:28:08.983: I/DEBUG(126): Build fingerprint: 'samsung/yakjuxw/maguro:4.2.1/JOP40D/I9250XWMA2:user/release-keys'
09-03 12:28:08.983: I/DEBUG(126): Revision: '9'
09-03 12:28:08.983: I/DEBUG(126): pid: 11378, tid: 11378, name: zyLABS.myrace  >>> com.KwazyLABS.myrace <<<
09-03 12:28:08.983: I/DEBUG(126): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadcab1
09-03 12:28:09.116: I/DEBUG(126):     r0 600df13d  r1 600df13d  r2 00000000  r3 deadcab1
09-03 12:28:09.116: I/DEBUG(126):     r4 5d46f020  r5 5d46f058  r6 66ebe000  r7 474e5543
09-03 12:28:09.116: I/DEBUG(126):     r8 5cda0278  r9 6401ae20  sl 627d03a0  fp 3e64fab5
09-03 12:28:09.116: I/DEBUG(126):     ip 60300f30  sp bea4aa20  lr 600df157  pc 600df148  cpsr 60000030
09-03 12:28:09.116: I/DEBUG(126):     d0  0000000000000087  d1  0000000000000000
09-03 12:28:09.116: I/DEBUG(126):     d2  42f626bb4294d379  d3  bf5dcdfa404eea58
09-03 12:28:09.116: I/DEBUG(126):     d4  c0c00000c28c0000  d5  00000004430c0000
09-03 12:28:09.116: I/DEBUG(126):     d6  3f0e38e442b00000  d7  40a29a0000000000
09-03 12:28:09.116: I/DEBUG(126):     d8  0000000000000000  d9  0000000000000000
09-03 12:28:09.116: I/DEBUG(126):     d10 0000000000000000  d11 0000000000000000
09-03 12:28:09.116: I/DEBUG(126):     d12 0000000000000000  d13 0000000000000000
09-03 12:28:09.116: I/DEBUG(126):     d14 0000000000000000  d15 0000000000000000
09-03 12:28:09.116: I/DEBUG(126):     d16 3fa3ff3d91b37e68  d17 3f970a09feb45467
09-03 12:28:09.116: I/DEBUG(126):     d18 3fde914db08ef389  d19 3fcb0ba1a0112c80
09-03 12:28:09.116: I/DEBUG(126):     d20 bfa46c08c38f0ca7  d21 bfe581138c1f1710
09-03 12:28:09.116: I/DEBUG(126):     d22 3fc8ad2bd3acd1ff  d23 3ffe103409756025
09-03 12:28:09.116: I/DEBUG(126):     d24 bfd23aaf5f5fa99c  d25 c0000d13f2518556
09-03 12:28:09.116: I/DEBUG(126):     d26 3fbb428673779d6f  d27 3f9664f48406d637
09-03 12:28:09.116: I/DEBUG(126):     d28 3f8226e3e96e8493  d29 3faba1ba1bb341fe
09-03 12:28:09.116: I/DEBUG(126):     d30 0000000000000000  d31 3fe2b80340000000
09-03 12:28:09.116: I/DEBUG(126):     scr 20000098
09-03 12:28:09.124: I/DEBUG(126): backtrace:
09-03 12:28:09.124: I/DEBUG(126):     #00  pc 0051d148  /data/app-lib/com.KwazyLABS.myrace-2/libVuforia.so
09-03 12:28:09.124: I/DEBUG(126):     #01  pc 0051d155  /data/app-lib/com.KwazyLABS.myrace-2/libVuforia.so
09-03 12:28:09.124: I/DEBUG(126): stack:
09-03 12:28:09.124: I/DEBUG(126):          bea4a9e0  000017eb  
09-03 12:28:09.124: I/DEBUG(126):          bea4a9e4  5d46f020  
09-03 12:28:09.124: I/DEBUG(126):          bea4a9e8  5d46f058  
09-03 12:28:09.124: I/DEBUG(126):          bea4a9ec  66ebe000  
09-03 12:28:09.124: I/DEBUG(126):          bea4a9f0  474e5543  /dev/ashmem/dalvik-heap (deleted)
09-03 12:28:09.124: I/DEBUG(126):          bea4a9f4  600ff5ec  /data/app-lib/com.KwazyLABS.myrace-2/libVuforia.so
09-03 12:28:09.124: I/DEBUG(126):          bea4a9f8  00000000  
09-03 12:28:09.124: I/DEBUG(126):          bea4a9fc  00000000  
09-03 12:28:09.124: I/DEBUG(126):          bea4aa00  5d46f058  
09-03 12:28:09.124: I/DEBUG(126):          bea4aa04  600df13d  /data/app-lib/com.KwazyLABS.myrace-2/libVuforia.so
 

Thanks!

Yair

 

Crach on trigger lost on android

September 17, 2014 - 8:02pm #3

Hi, I'm also having a similar issue, but it crashes every time. This is after following the "Compiling a Simple Project" tutorial.

I'm currently testing on a Galaxy Nexus. I'm not familiar with how to get any debug data. I'm currently using Unity Basic.

Any updates on this?

Crach on trigger lost on android

September 8, 2014 - 8:29pm #2

Have you tried adding your DAT/XML to the ImageTargets sample app in the "StreamingAssets/QCAR/" folder. Does the crash ever occur in Unity PlayMode? A crash only occurring 1/6 times would need you to do further isolation and testing where you could reproduce it consistently. Also, it might be a good idea as you suggested to re-export your DAT/XML from TargetManager just in case.
 

Log in or register to post comments