You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting SIGABRT 6 in Android when running http calls in parallel #2013
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
I had the same issue. At my case the problem was coming from the SecureStorage, which I was accessing async to get a Token from it, before each HTTP request. After eliminating this part, the parallel HTTP calls are working flawlessly.
Activity
jassmith commentedon Jul 30, 2018
From @tsequeira-vhs on July 27, 2018 14:43
We have attached stripped down version of the code.
EngageDummy.zip
tsequeira-vhs commentedon Jul 30, 2018
Any update on the issue?
elacca commentedon May 10, 2019
I had the same issue. At my case the problem was coming from the SecureStorage, which I was accessing async to get a Token from it, before each HTTP request. After eliminating this part, the parallel HTTP calls are working flawlessly.