-
Notifications
You must be signed in to change notification settings - Fork 399
Crash in ArPresto_update(), ArSession_update(): java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) #772
Comments
We have very similar crash report, happens randomly in the app. Unity: 2018.4.28 |
Since the issue reproduces fairly easily (i.e. leave the app running for 15 minutes), could you try building the app using:
Even if you're not able to ship your app using 2019.4/2020.4, it would still be useful to quickly rule out any issues with the specific version of Unity and our the ARCore SDK for Unity. |
Coming to this as we started having issues after updating ARFoundation versions when updating Unity versions with the application eventually crashing after some seemingly random time interval and this is our exact bug as well. VERSIONS USED
I have attached the tombstone crash log provided by the device. See file for nearby memory. Excerpt of crash:
It may be of relevance so I am adding this here, we are also receiving this error every frame of our application's runtime in Unity's console since updating: |
Running through several iterations and expanding log verbosity it is possible to sometimes get a more detailed error. This crash produced an acknowledgement of a null pointer dereference with the same error as above. This was produced on the non-latest Unity version as it was a previous crash error I noticed that had better details.
Where as this next crash was a hard crash with no tombstone cleanup and the log could only be copied from the android logcat feed, but it produced an ARCore Native Error along with a similar error as above, but failing internally within a different call stack (not within ARSession_Update it looks like, but an event that was being delivered, potentially from that area). It was produced on latest versions, just for clarification. Since this also points to an ARCore Native error
should this be filed elsewhere as well? Unsure if this is in the Google Play Services for AR package at this point. |
SPECIFIC ISSUE ENCOUNTERED
Our app is encountering a random crash issue, while ARCore is active. It appears to occur randomly, and is most reproduceable by simply leaving the app running while the camera & ARCore are running. Leaving it running for 15 minutes will repro about 25% of the time. I added some additional logs before and after ARCoreAndroidLifecycleManager calls ArPresto_update() from OnEarlyUpdate(), and it looks like this is happening within that call. I haven't been able to trace deeper than that though. We have seen this on multiple devices, but the logs I've included are from Pixel 4 XL. Attached logs include stack trace and nearby memory.
VERSIONS USED
Packages:
versionName=1.22.203220503
Hidden system packages:
versionName=0
Active APEX packages:
Inactive APEX packages:
Factory APEX packages:
On Windows, use:
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use:
adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
:google/coral/coral:11/RQ1A.210105.003/7005429:user/release-keys
STEPS TO REPRODUCE THE ISSUE
WORKAROUNDS (IF ANY)
None
ADDITIONAL COMMENTS
ARCoreCrashLog.txt
The text was updated successfully, but these errors were encountered: