I'm getting the following error:
01-22 15:25:19.151 E/art (30580): JNI ERROR (app bug): accessed deleted global reference 0x101032
01-22 15:25:19.151 E/mono-rt (30580): Stacktrace:
01-22 15:25:19.151 E/mono-rt (30580):
01-22 15:25:19.151 E/mono-rt (30580):
01-22 15:25:19.151 E/mono-rt (30580): Attempting native Android stacktrace:
01-22 15:25:19.151 E/mono-rt (30580):
01-22 15:25:19.164 E/mono-rt (30580): at ???+3818917890 [0x711e8d18]
01-22 15:25:19.187 E/mono-rt (30580): at ???+3818917890 [0xdead431f]
01-22 15:25:19.199 E/mono-rt (30580):
01-22 15:25:19.199 E/mono-rt (30580): =================================================================
01-22 15:25:19.199 E/mono-rt (30580): Got a SIGSEGV while executing native code. This usually indicates
01-22 15:25:19.199 E/mono-rt (30580): a fatal error in the mono runtime or one of the native libraries
01-22 15:25:19.199 E/mono-rt (30580): used by your application.
01-22 15:25:19.199 E/mono-rt (30580): =================================================================
01-22 15:25:19.199 E/mono-rt (30580):
01-22 15:25:19.200 F/libc (30580): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdead4321 in tid 30621 (Thread-8187)
STATE CUE CARD: (? means a positive number, usually 1 or 2)
0x0 - starting (GOOD, unless the thread is running managed code)
0x1 - running (BAD, unless it's the gc thread)
0x2 - detached (GOOD, unless the thread is running managed code)
0x?03 - async suspended (GOOD)
0x?04 - self suspended (GOOD)
0x?05 - async suspend requested (BAD)
0x?06 - self suspend requested (BAD)
0x07 - blocking (GOOD)
0x?08 - blocking with pending suspend (GOOD)
--thread 0x961cf400 id 0x961eed80 [0x7835] state 1
--thread 0xae860780 id 0x99537980 [0x77cb] state 1
--thread 0x990bcc80 id 0x99538b00 [0x77cc] state 1
--thread 0xae860400 id 0x9b95ce00 [0x77cd] state 1
--thread 0xae859080 id 0x9c43c500 [0x779a] state 1
--thread 0xae859e80 id 0x9c43cc80 [0x779c] state 1
--thread 0x9be63980 id 0xae84b980 [0x779d] state 103
--thread 0x990bb780 id 0xae84fd00 [0x77c5] state 1
--thread 0xae858280 id 0xb491b780 [0x778b] state 1
--thread 0xb49b3700 id 0xb491ba00 [0x778c] state 1
--thread 0xb49b3380 id 0xb6f7bbec [0x7774]
state 1 GC INITIATOR
WAITING for 1 threads, got 0 suspended
01-22 15:25:20.254 F/ (30580): suspend_thread suspend took 1032 ms, which is more than the allowed 200 ms
Our application is a surveying tool, this is sometimes happening when synchronising data (a series of requests for jobs via a WCF service). I can make several hundred requests and it works fine, then suddenly it'll crash the whole app.
We're running:
Forms: 2.0.1.6495
Compile: API 23
Minimum: API 19
Target: API 23
I would try targeting a lower API, but I seem to get all kind of build errors if I don't. Before upgrading to 2.0 we were targeting API 21 and I'm fairly sure we didn't have this problem.
Can anyone give me any tips? Could we be not disposing of an object properly? We've got all kinds of problems with data-binding (e.g. https://bugzilla.xamarin.com/show_bug.cgi?id=24286).