Start a new topic

Crash on Android when calibrating with phone on desk

Unity 7.1.1, Wikitude 7.0.0


In my game if I calibrate the instant tracker with the phone laid on the desk and then pick it up, the game crashes and I get this tty:


09-18 11:53:56.168   194   194 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

09-18 11:53:56.168   194   194 F DEBUG   : Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys'

09-18 11:53:56.169   194   194 F DEBUG   : Revision: '11'

09-18 11:53:56.169   194   194 F DEBUG   : ABI: 'arm'

09-18 11:53:56.169   194   194 F DEBUG   : pid: 6845, tid: 7075, name: Thread-5495  >>> com.conspexitgames.hidden <<<

09-18 11:53:56.169   194   194 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4

09-18 11:53:56.203   194   194 F DEBUG   :     r0 00000000  r1 00000000  r2 00000008  r3 00000086

09-18 11:53:56.203   194   194 F DEBUG   :     r4 89cbee38  r5 918f3a20  r6 918f3720  r7 89cbed30

09-18 11:53:56.203   194   194 F DEBUG   :     r8 8b01f110  r9 00000000  sl 89cbecf8  fp 918f3a38

09-18 11:53:56.203   194   194 F DEBUG   :     ip 87eff018  sp 89cbecc0  lr b6c8125b  pc 85c949e0  cpsr 80070030

09-18 11:53:56.215   194   194 F DEBUG   :

09-18 11:53:56.215   194   194 F DEBUG   : backtrace:

09-18 11:53:56.215   194   194 F DEBUG   :     #00 pc 003cd9e0  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis9FlannTree16classifyMapPointEPhiib+135)

09-18 11:53:56.215   194   194 F DEBUG   :     #01 pc 003c1ca1  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis15FlannTreeReader16classifyMapPointEPhiib+22)

09-18 11:53:56.215   194   194 F DEBUG   :     #02 pc 0039a3f3  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis9Localizer17findBestCandidateERNS_8KeyFrameERNS_22KfClassificationResultE+162)

09-18 11:53:56.216   194   194 F DEBUG   :     #03 pc 00399dcf  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis9Localizer18localizeObjectRecoERNS_8KeyFrameERN4TooN3SE3IdEERi+990)

09-18 11:53:56.216   194   194 F DEBUG   :     #04 pc 0031b62f  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis17SlamObjectTracker8localizeERNS_9BaseLayerIhEERN4TooN3SE3IdEE+186)

09-18 11:53:56.216   194   194 F DEBUG   :     #05 pc 0031be01  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis17SlamObjectTracker3runERNS_9BaseLayerIhEE+268)

09-18 11:53:56.216   194   194 F DEBUG   :     #06 pc 0030332f  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZN6aramis17MusketIr3dService12processFrameEv+230)

09-18 11:53:56.216   194   194 F DEBUG   :     #07 pc 00303575  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZThn4_N6aramis17MusketIr3dService19internalThreadEntryEv+22)

09-18 11:53:56.216   194   194 F DEBUG   :     #08 pc 0030249b  /data/app/com.conspexitgames.hidden-1/lib/arm/libnativesdk.so (_ZNSt6__ndk114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN6aramis13ThreadedClass19startInternalThreadEvEUlvE_EEEEEPvSB_+26)

09-18 11:53:56.216   194   194 F DEBUG   :     #09 pc 0003f45f  /system/lib/libc.so (_ZL15__pthread_startPv+30)

09-18 11:53:56.217   194   194 F DEBUG   :     #10 pc 00019b43  /system/lib/libc.so (__start_thread+6)

09-18 11:53:58.245   194   194 F DEBUG   :

09-18 11:53:58.245   194   194 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_00

09-18 11:53:58.245   194   194 E DEBUG   : AM write failed: Broken pipe

09-18 11:53:58.373   778   954 I ActivityManager: Process com.conspexitgames.hidden (pid 6845) has died

09-18 11:53:58.373   778   954 D ActivityManager: cleanUpApplicationRecord -- 6845

09-18 11:53:58.375   778   954 W ActivityManager: Scheduling restart of crashed service com.conspexitgames.hidden/com.mapbox.services.android.telemetry.service.TelemetryService in 1000ms

09-18 11:53:58.375   778   954 W ActivityManager: Force removing ActivityRecord{3d56573 u0 com.conspexitgames.hidden/com.wikitude.unity.WikitudeActivity t245}: app died, no saved state


As SlamObjectTracker is mentioned I am assuming you will be familiar with the callstack.

I don't get any information when this happens with the debugger attached.

I tried this with the original Wikitude sample and got the same result although in this case it happens as soon as I press initialize.

I could not reproduce this behaviour on iOS.


Any clues as to how we can fix this?



I can confirm this is fixed in 7.1.0


Hi,


The crash in the Wikitude sample doesn't seem to happen anymore when using the 7.1.0 beta release. Can you please test this version to see if it also fixes the your issue as well?


Thank you,

Alexandru

Login or Signup to post a comment