-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
needs-triageIssues that need to be assigned.Issues that need to be assigned.
Description
We are trying to upgrade from net9.0-android35.0 to net10.0-android36.1.
Now the app constantly crashes with JNI errors.
Via Logcat this is the logged error:
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] JNI ERROR (app bug): local reference table overflow (max=512)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] local reference table dump:
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] Last 10 entries (of 512):
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 511: 0x12d79240 java.lang.String "X-Android-Sent-M... (21 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 510: 0x70f0adb8 java.lang.String "X-Android-Sent-M... (21 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 509: 0x70cfe030 java.lang.String "http/1.1"
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 508: 0x70f09a98 java.lang.String "X-Android-Select... (27 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 507: 0x12c858a8 java.lang.String "NETWORK 200"
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 506: 0x12e66e98 java.lang.String "X-Android-Respon... (25 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 505: 0x12e0ac40 java.lang.String "1763372369418"
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 504: 0x70f09a50 java.lang.String "X-Android-Receiv... (25 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 503: 0x12d792c0 java.lang.String "Jetty(9.4.54.v20... (23 chars)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 502: 0x12cb9180 java.lang.String "Server"
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] Summary:
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116] 512 of java.lang.String (436 unique instances)
11-17 10:39:29.446 10683 11588 F art : art/runtime/indirect_reference_table.cc:116]
I have unsuccessfully tried:
- Deactivated AndroidEnableMarshalMethods as I assumed it could have to do with this.
- Tried it with
net10.0-android36.0. - Checked for potential memory leaks.
- etc.
What I fundamentally don't understand why HTTP requests now cause this problem.
Isn't this part of the .NET code which implicitly deals with memory management?
This is how it used to be in the past.
Currently it is too much of a blackbox and unknown for me to narrow it down.
Is it a bug? Or do we have to re-program certain parts as the logic with .NET 10 or Android 16 changed?
But I wouldn't assume such a breaking change, or have I missed something?
Thank you for any help/hints!
Metadata
Metadata
Assignees
Labels
needs-triageIssues that need to be assigned.Issues that need to be assigned.