Description
From @tsequeira-vhs on July 27, 2018 14:32
Description
We have a Xamarin.Forms app which is crashing with 'signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: use of deleted global reference 0x3ce2'
We are running multiple calls to web services with HttpClient in parallel using Task.WhenAll()
The crash is random and due to this we are unable to identify the root cause.
Steps to Reproduce
- Login (first time)
- Set pin code (first time)
- Enter pin code (from second time)
- Launches a page with blue header
- If no crash, kill the app and repeat steps from 3.
Note: To make the crash more frequent enable gref logging using the following ADB command: 'adb shell setprop debug.mono.log gref'
Expected Behavior
The app should not crash
Actual Behavior
App crashes with 'java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: use of deleted global reference 0x3ce2'
Basic Information
- Version with issue:
- Last known good version:
- IDE: Visual Studio 2017 Enterprise
- Platform Target Frameworks:
- Android: 8.1
- Android Support Library Version: API 27
- Affected Devices: Tested on Pixel 2 and Samsung S8
Logs
ReportLog-1.txt
ReportLog-2.txt
Copied from original issue: xamarin/Xamarin.Forms#3421