Closed escamoteur closed 2 months ago
@escamoteur do you have any more information on what the app is doing? Are you using experimental JNI? Do you have particular plugins? Are you able to repro? Without more context there isn't anything we can do with this.
Hi Jonah, if I had an idea I would tell you. We get this in Sentry. Only package with JNI I m aware of if cronet_http. Am 22. Juli 2024, 18:41 +0100 schrieb Jonah Williams @.***>:
@escamoteur do you have any more information on what the app is doing? Are you using experimental JNI? Do you have particular plugins? Are you able to repro? Without more context there isn't anything we can do with this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
OK! that package definitely uses JNI:
https://github.com/dart-lang/http/blob/master/pkgs/cronet_http/lib/src/jni/jni_bindings.dart
knowing that, this is probably an issue with that packge, either a problem with object lifetimes, threading, missing API, null pointer, et cetera.
FYI @HosseinYousefi in case you have seen similar issues.
globalEnv_CallObjectMethod
is a package:jni
method. I will also need more information to repro.
@escamoteur What version of cronet_http
are you using?
Sorry, I forgot it is 1.3.1 so maybe one of the recent fixes might already have solved this too
//cc @brianquinlan
This has been fixed in cronet-http 1.3.2
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to reproduce
Found in sentry since we switched to Fluttter 3.22.0 Only seen in Android 13 and 14 so far
Expected results
no crah
Actual results
Code sample
Code sample
```dart [Paste your code here] ```Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Logs
Logs
```console [Paste your logs here] ```Flutter Doctor output
Doctor output
```console [√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4651], locale de-DE) • Flutter version 3.22.0 on channel stable at C:\Users\escam\fvm\versions\3.22.0 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5dcb86f68f (2 months ago), 2024-05-09 07:39:20 -0500 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.3 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at C:\Users\escam\AppData\Local\Android\sdk • Platform android-34, build-tools 33.0.2 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.2) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.6.33723.286 • Windows 10 SDK version 10.0.22000.0 [√] Android Studio (version 2022.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) [√] VS Code, 64-bit edition (version 1.91.1) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.92.0 [√] Connected device (4 available) • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4651] • Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.128 • Edge (web) • edge • web-javascript • Microsoft Edge 126.0.2592.113 [√] Network resources • All expected network resources are available. • No issues found! ```