Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting SIGABRT 6 in Android when running http calls in parallel #2013

Closed
jassmith opened this issue Jul 30, 2018 · 5 comments
Closed

Getting SIGABRT 6 in Android when running http calls in parallel #2013

jassmith opened this issue Jul 30, 2018 · 5 comments
Labels
possibly-stale Issues that are potentially no longer relevant.

Comments

@jassmith
Copy link

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

  1. Login (first time)
  2. Set pin code (first time)
  3. Enter pin code (from second time)
  4. Launches a page with blue header
  5. 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

@jassmith
Copy link
Author

From @tsequeira-vhs on July 27, 2018 14:43

We have attached stripped down version of the code.
EngageDummy.zip

@tsequeira-vhs
Copy link

Any update on the issue?

@elacca
Copy link

elacca commented 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.

@jpobst jpobst added the possibly-stale Issues that are potentially no longer relevant. label Sep 13, 2022
@ghost
Copy link

ghost commented Sep 13, 2022

We suspect this issue is stale and no longer relevant. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

@ghost
Copy link

ghost commented Sep 27, 2022

This issue will now be closed since it had been marked possibly-stale but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@ghost ghost closed this as completed Sep 27, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 28, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
possibly-stale Issues that are potentially no longer relevant.
Projects
None yet
Development

No branches or pull requests

4 participants