App crash in libflutter.so, when I sending data by bluetooth and updating progress by event channel

This issue has been tracked since 2022-11-25.

here is the crash log, 1 is from android logcat, 2 is from flutter Console.
the crash happened when I sending data to my bluetooth device, and show progress in my app by EventChannel,
I also get the Scudo ERROR: corrupted chunk header on Android 11

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 24582 (1.raster), pid 24546
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/chiron/chiron:9/PKQ1.190118.001/V12.0.1.0.PDECNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 24546, tid: 24582, name: 1.raster  >>> com.lelica.dutongxue <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20
Cause: null pointer dereference
    x0  0000007606d29438  x1  00000075d3517e30  x2  00000075ed2baa30  x3  00000075e532f394
    x4  00000075e532f3ac  x5  00000075f41ce300  x6  000000000000cb58  x7  00000075f4128170
    x8  00000075d40dd750  x9  00000075d4135908  x10 000000000000009a  x11 00000000ffffffff
    x12 0000000000000000  x13 0000000000003ce8  x14 0000000000000403  x15 0000000000000001
    x16 000000768e3aebc8  x17 000000768e32f99c  x18 000000009d03800a  x19 00000075d3517e30
    x20 0000007606d29438  x21 0000000000000000  x22 00000075d3517e28  x23 0000000000000001
    x24 0000000000000000  x25 00000075e523d600  x26 00000075e5225e40  x27 00000075ed3d16c8
    x28 00000075efb95968  x29 00000075e52d0088
    sp  00000075efb94240  lr  00000075f159bb88  pc  00000075f159bbd8
backtrace:
    #00 pc 00000000017ffbd8  /data/app/com.lelica.dutongxue-cKqySQ--ID8mQ1rt9MtMPA==/lib/arm64/libflutter.so (offset 0x15bd000)
    #01 pc 00000000017ffb84  /data/app/com.lelica.dutongxue-cKqySQ--ID8mQ1rt9MtMPA==/lib/arm64/libflutter.so (offset 0x15bd000)
huycozy wrote this answer on 2022-11-25

Hi @ChiuSky
Is this issue reproducible locally? If so, can you please share the output of flutter run -v and a completed and minimal reproducible code sample?

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-12-07
Star Count 147031
Watcher Count 3560
Fork Count 23915
Issue Count 11300

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date