Repository: flutter
Issue: Application is crashed without any log
Labels: platform-android,engine,a: production,P2,c: fatal crash,team-android,triaged-android

Hello,

 I have a problem with my application. The application is shutting down on some Android devices without any useful crash logs. Also crashlytics does not sent logs in any cases. I have tried to observe different things and I want to give more information about what I have so far. It is commonly occured when I open video player from the application. I tried to have a small application with video player, that I used, to reproduce the error but error did not happen with this app. When crash is occurred I get logs like this: 

<details>
<summary>logs</summary>

```
D/ViewRootImpl@7eaca8c[MainActivity](30160): ViewPostImeInputStage processPointer 0

D/ViewRootImpl@7eaca8c[MainActivity\](30160): ViewPostImeInputStage processPointer 1

I/ExoPlayerImpl(30160): Init 108e3e3 [ExoPlayerLib/2.13.1] [a3xelte, SM-A310F, samsung, 24]

I/Choreographer(30160): Skipped 43 frames!  The application may be doing too much work on its main thread.

I/System.out(30160): (HTTPLog)-Static: isSBSettingEnabled false

I/System.out(30160): (HTTPLog)-Static: isSBSettingEnabled false

D/ViewRootImpl@7eaca8c[MainActivity\](30160): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x1 surface={isValid=true -880830464} surfaceGenerationChanged=false

D/ViewRootImpl@7eaca8c[MainActivity\](30160): ViewPostImeInputStage processPointer 0

D/ViewRootImpl@7eaca8c[MainActivity\](30160): ViewPostImeInputStage processPointer 1

I/System.out(30160): (HTTPLog)-Static: isSBSettingEnabled false

I/System.out(30160): (HTTPLog)-Static: isSBSettingEnabled false

Lost connection to device.
```

</details>

There was not any crash report. It just says “Lost connection to device”. Then I tried to track pid of the application from logcat of Android device. I did not encounter any useful logs here either. The last thing I saw about the application’s pid was “06-23 17:05:48.253  2738 13601 I ActivityManager: Process [Application package name] (pid 3573) has died(379,50)”.  I thought that this might be a memory problem and that the operating system might kill the process of my application, so that I wanted to monitor the memory used by the application. I tried the application with a phone that has 6 gb RAM. And my application's memory consumption was 1.6 GB at most. and I do not know what can cause such a big memory consumption.

The problem is observed with different phone models and different Android versions. The problem is not encountered on any iOS device. Devices with the problem and their Android versions can be seen below (but probably it can be encountered on other devices):
	 - Samsung Galaxy A3 2016 | Android 7.0
	 - Samsung Galaxy A10 | Android 10
	 - Xiaomi Mi 10T | Android 11

You can see packages that I used on my project below:


<details>
<summary>Packages</summary>

```
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  intl: ^0.17.0
  firebase_core: ^1.1.1
  firebase_crashlytics: ^2.0.3
  cupertino_icons: ^1.0.3
  auto_route: ^0.6.9
  google_fonts: ^2.1.0
  dartx:
   injectable:
  get_it: ^5.0.6
  freezed_annotation: ^0.12.0
  http: ^0.13.3
  dio: ^4.0.0
  pretty_dio_logger: ^1.2.0-beta-1
  flutter_screenutil: ^5.0.0
  form_field_validator: ^1.1.0
  shared_preferences: ^2.0.5
  hive: ^2.0.4
  quick_log: ^5.2.0
  path_provider: ^2.0.1
  package_info: ^2.0.0
  flutter_spinkit: ^5.0.0
  flutter_localized_locales:
  flutter_secure_storage: ^4.2.0
  synchronized: ^3.0.0
  ezbloc_flutter: ^0.5.2
  flutter_svg: ^0.22.0
  equatable: ^2.0.0
  jiffy: ^4.1.0
  seekbar: ^0.0.2
  just_audio: ^0.7.4+1
  flare_flutter: ^3.0.0
  flutter_blurhash: ^0.6.0
  test_coverage_badge: ^0.2.0
  rxdart: ^0.26.0
  wakelock: ^0.5.2
  duration: ^3.0.6
  animations: ^2.0.0
  shimmer: ^2.0.0
  flutter_picker: ^2.0.1
  flutter_keyboard_visibility: ^5.0.2
  flutter_feather_icons: ^2.0.0+1
  url_launcher: ^6.0.3
  flutter_markdown: ^0.6.2
  pin_input_text_field: ^4.0.0
  pull_to_refresh: ^2.0.0
  audio_service: ^0.17.0
  fl_chart: ^0.36.1
  copy_with_extension: ^1.4.0
  cached_video_player: 2.0.0-dev.1
  visibility_detector: ^0.2.0
  flick_video_player:
  clock: ^1.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

  integration_test:
    sdk: flutter

  pedantic: ^1.0.0
  effective_dart: ^1.0.0
  auto_route_generator:
  injectable_generator:
  build_runner: ^1.0.0
  freezed: ^0.12.7
  json_serializable: ^3.5.1
  mockito: ^4.1.4
  i18n: ^2.0.0
  flutter_launcher_icons: ^0.9.0
  flutter_native_splash: ^1.1.7+1
  test: ^1.16.5
  copy_with_extension_gen: ^1.4.0

dependency_overrides:
  quick_log: ^5.2.0
  crypto: ^3.0.0
  mockito: ^4.1.4
  json_annotation: ^3.0.0
  test: ^1.16.5
  args: 1.6.0
  archive: ^3.0.0
  xml: ^5.0.2
  glob: ^2.0.1
  yaml: ^2.1.2
  analyzer: ^1.1.0
  convert: ^3.0.0
  test_api: 0.3.0
  ```
  
</details>

 It would be very nice if you have any idea what is wrong with the application to help me about that issue.