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

[jnigen] Crash on Android 35 with jni 0.11.0 #1609

Open
kuhnroyal opened this issue Sep 26, 2024 · 1 comment
Open

[jnigen] Crash on Android 35 with jni 0.11.0 #1609

kuhnroyal opened this issue Sep 26, 2024 · 1 comment

Comments

@kuhnroyal
Copy link

When trying to run a Flutter app on Android 35 with jni: 0.11.0 as dependency, the app crashes directly during plugin registration.

2024-09-26 17:01:25.835  3765-3821  ResourceExtractor       eu....ssue153075.shared_prefs_issue  I  Extracted baseline resource assets/flutter_assets/kernel_blob.bin
2024-09-26 17:01:25.836  3765-3821  ResourceExtractor       eu....ssue153075.shared_prefs_issue  I  Extracted baseline resource assets/flutter_assets/vm_snapshot_data
2024-09-26 17:01:25.878  3765-3821  ResourceExtractor       eu....ssue153075.shared_prefs_issue  I  Extracted baseline resource assets/flutter_assets/isolate_snapshot_data
2024-09-26 17:01:25.903  3765-3765  red_prefs_issue         eu....ssue153075.shared_prefs_issue  W  type=1400 audit(0.0:42): avc:  denied  { read } for  name="max_map_count" dev="proc" ino=21098 scontext=u:r:untrusted_app:s0:c198,c256,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=eu.rekisoft.flutter.issue153075.shared_prefs_issue
2024-09-26 17:01:25.913  3765-3765  EGL_emulation           eu....ssue153075.shared_prefs_issue  I  Opening libGLESv1_CM_emulation.so
2024-09-26 17:01:25.913  3765-3765  EGL_emulation           eu....ssue153075.shared_prefs_issue  I  Opening libGLESv2_emulation.so
2024-09-26 17:01:25.937  3765-3765  libc                    eu....ssue153075.shared_prefs_issue  A  Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7cd02f4185e0 in tid 3765 (red_prefs_issue), pid 3765 (red_prefs_issue)
2024-09-26 17:01:25.968  3765-3857  flutter                 eu....ssue153075.shared_prefs_issue  I  The Dart VM service is listening on http://127.0.0.1:36507/kmCOWID3kX4=/
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A  Cmdline: eu.rekisoft.flutter.issue153075.shared_prefs_issue
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A  pid: 3765, tid: 3765, name: red_prefs_issue  >>> eu.rekisoft.flutter.issue153075.shared_prefs_issue <<<
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A        #26 pc 00000000000041d8  <anonymous:7cd41c404000> (io.flutter.plugins.GeneratedPluginRegistrant.registerWith+0)
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A        #37 pc 000000000021aa30  <anonymous:7cd0c825c000> (io.flutter.embedding.engine.plugins.util.GeneratedPluginRegister.registerGeneratedPlugins+0)
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A        #42 pc 0000000000206728  <anonymous:7cd0c825c000> (io.flutter.embedding.android.FlutterActivity.configureFlutterEngine+0)
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A        #47 pc 00000000002053f4  <anonymous:7cd0c825c000> (io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach+0)
2024-09-26 17:01:26.294  3859-3859  DEBUG                   crash_dump64                         A        #52 pc 00000000002068ac  <anonymous:7cd0c825c000> (io.flutter.embedding.android.FlutterActivity.onCreate+0)
2024-09-26 17:01:26.301   580-3862  ActivityTaskManager     system_server                        W    Force finishing activity eu.rekisoft.flutter.issue153075.shared_prefs_issue/.MainActivity
2024-09-26 17:01:26.307   580-652   ActivityManager         system_server                        I  Process eu.rekisoft.flutter.issue153075.shared_prefs_issue (pid 3765) has died: fg  TOP 

Not sure if this is actually the same issue as #1608

@HosseinYousefi
Copy link
Member

Is this solved by 0.12.0? You can use cronet_http on master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants