Baseflow / Baseflow/flutter_cached_network_image

App Crash: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20

Open
#786 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🐛 Bug: App Crash: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20

### Reproduction steps
1. flutter version 2.10.0 (as I use 2.10.0)
2. device platfom: android.
3. run my code [demo](https://github.com/Stitch-Taotao/issue_of_cachenetworkimage/tree/main/2.10.0/crash_issue_survey) . For comparision I make two example [,one without cached_network_image in sub dir](https://github.com/Stitch-Taotao/issue_of_cachenetworkimage/tree/main/2.10.0/crash_issue_survey/lib/example_without_cachenetworkimage)(not use cachenetworkimage ,I will call **WithOut-Demo** below) ,the other is [with cached_network_image](https://github.com/Stitch-Taotao/issue_of_cachenetworkimage/tree/main/2.10.0/crash_issue_survey/lib/example_with_cachenetworkimage)(use cachenetworkimage ,I will call **With-Demo** below)
5. Motivation is for test MultiImageStreamCompleter with a Stream rather than office's Future , so every time call ImageProvider's resolve ,completer.tryRefresh() excute and a new Codec instance will add to completer!.
6. You can run code in below sequence:
1. click into second page, click refresh btn 、scroll listview、click clean btn,
2. Repeat the three processes in random order .
3. **With-Demo** crash but **WithOut-Demo** not crash
7. I think the matter is not MultiImageStreamCompleter 's reason , I'm perfer to think it's flutter_cached_network_image's cache issue

**I'm very curious about this crash, If everyone who know why this issue happen , please tell me the reason, I will very appreciate。**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.