Repository navigation
Description
main.dart 注册方式:
if (isFvpAvailable && !kIsWeb && (GetPlatform.isAndroid || GetPlatform.isIOS)) {
registerFvp(options: {
'platforms': ['android', 'ios'],
'ignore_ssl_errors': 1,
});
}
崩溃日志如下:
I/libc (13588): handling signal: 11 F/libc (13588): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1d8 in tid 5411 (mdk.ass0xb40000), pid 13588
Build fingerprint: 'Xiaomi/houji/houji:16/BP2A.250605.031.A3/OS3.0.302.0.WNCCNXM:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2026-06-12 14:57:38.282903827+0800 Process uptime: 1905s pid: 13588, tid: 5411, name: mdk.ass0xb40000
< uid: 10441 tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000000001d8 Cause: null pointer dereference x0 0000000000000001 x1 000000704bfc61c4 x2 000000704bfc61c4 x3 0000006c81d762c8 x4 0000000000000020 x5 0080808000000000 x6 0000000000000010 x7 ff7f7f7f7fffff7f x8 00000000008f4090 x9 00000000008f4060 x10 000000704bfc6340 x11 0000000016a7dc28 x12 0000000000020002 x13 0000000000000000 x14 0000000000000010 x15 0000000000000035 x16 0000000000000001 x17 000000704bf20570 x18 0000006c55108000 x19 0000000000000000 x20 0000006cc043b200 x21 0000006c81d76320 x22 0000000000003514 x23 0000000000001521 x24 0000006c81d76400 x25 0000006c81d76768 x26 b400006e095efd30 x27 0000006c81d76780 x28 0000006c81c7a000 x29 0000006c81d76350 lr 0000006cc0570f30 sp 0000006c81d76300 pc 0000006cc0570f34 pst 0000000080001000 3 total frames backtrace: #00 pc 0000000000170f34 /data/app/~~4-3MvkWGIZ2KTS7L7QLIlg -HhmJwaV1-LM7nBdUkdyhTQ==/base.apk!libmdk.so (offset 0x6b48000) (BuildId: 2bd38b392b19541caa890ff599801b8efb61957f) #1 pc 0000000000082d74 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+184) (BuildId: 223a572c9f034c6a9337d8b3bedc75f3) #2 pc 00000000000751f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 223a572c9f034c6a9337d8b3bedc75f3)
Activity
wang-bin commentedon Jun 12, 2026
提供完整日志和backtrace. backtrace需要关闭logcat 过滤或者用
tag:DEBUG过滤,复制内容从*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***开始wangjunjx8868 commentedon Jun 12, 2026
如果main.dart 页面手动开启软解,就不会崩溃,如果是默认的注册方式 有概率崩溃:
我的默认默认注册:
if (isFvpAvailable && !kIsWeb && (GetPlatform.isAndroid || GetPlatform.isIOS)) {
registerFvp(options: {
'platforms': ['android', 'ios'],
'ignore_ssl_errors': 1,
});
}
日志如下
Build fingerprint: 'Xiaomi/houji/houji:16/BP2A.250605.031.A3/OS3.0.302.0.WNCCNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2026-06-12 17:55:57.996162349+0800
Process uptime: 1404s
Cmdline: com.luobin.nasapp
pid: 20900, tid: 19469, name: mdk.ass0xb40000 >>> com.luobin.nasapp <<<
uid: 10441
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000000001d8
Cause: null pointer dereference
x0 0000000000000001 x1 000000704bfca6c4 x2 000000704bfca6c4 x3 0000006c888d12c8
x4 0000000000000020 x5 0080808000000000 x6 0000000000000010 x7 7f7f7f7f7fffff7f
x8 0000000002f2e980 x9 0000000002f2e950 x10 000000704bfca834 x11 000000000ef9e53d
x12 0000000000020002 x13 0000000000000000 x14 0000000000000010 x15 0000000000000031
x16 0000000000000001 x17 000000704bf20570 x18 0000006c573b8000 x19 0000000000000000
x20 0000006cc3a3e200 x21 0000006c888d1320 x22 00000000000051a4 x23 0000000000004c05
x24 0000006c888d1400 x25 0000006c888d1768 x26 b400006e095a0dd0 x27 0000006c888d1780
x28 0000006c887d5000 x29 0000006c888d1350
lr 0000006cc3b73f30 sp 0000006c888d1300 pc 0000006cc3b73f34 pst 0000000080001000
3 total frames
backtrace:
#00 pc 0000000000170f34 /data/app/~~GQwI7uJIhB4u2PhsVjly3w==/com.luobin.nasapp-9ruav3EfXmkQ6Ux_w6QmFQ==/base.apk!libmdk.so (offset 0x6b48000) (BuildId: 2bd38b392b19541caa890ff599801b8efb61957f)
#1 pc 0000000000082d74 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+184) (BuildId: 223a572c9f034c6a9337d8b3bedc75f3)
#2 pc 00000000000751f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 223a572c9f034c6a9337d8b3bedc75f3)
Lost connection to device.
wang-bin commentedon Jun 12, 2026
把你的libmdk.so和libmdk.so.dsym打包一份发我,在fvp缓存目录,比如mac上是
~/.pub-cache/hosted/pub.flutter-io.cn/fvp-0.37.2/android/mdk-sdk/arm64-v8awangjunjx8868 commentedon Jun 13, 2026
arm64-v8a.zip几个日志文件都在这个压缩包里面 了
wang-bin commentedon Jun 13, 2026
可以定位到代码了但是backtrace里信息太少判断不出发生了什么。是不是有字幕?有没有日志?日志获取看issue模版。
wangjunjx8868 commentedon Jun 13, 2026
崩溃的时候输出:Lost connection to device.,直接断开了真机调试,再多的日志就看不到了。当时播放的时候确实加载了外挂字幕,这个字幕文件是用ffmpeg后台提取的,让后远程加载显示的。我现在再试试如果不加载字幕会不会崩溃
wangjunjx8868 commentedon Jun 13, 2026
我按照你的方法再试试,尝试抓取更多日志
wang-bin commentedon Jun 13, 2026
更新下依赖再试试,如何更新见readme
wangjunjx8868 commentedon Jun 15, 2026
还是会崩溃,
还是会 偶发崩溃,现在不知道是不是算崩溃,就是整个UI卡主,屏幕黑屏中间只有一个转圈的动画(只有一个圈没转动,应该是别的组件的UI还没渲染出来)。然后物理返回键无效,等大约1分钟,APP崩溃退出。
我说下场景:一个电视剧有好几集,切换剧集的不一定哪一集崩溃,但是页面初始化那一集肯定不会崩溃,切换剧集会重建controller
Details
wangjunjx8868 commentedon Jun 15, 2026
如果禁用字幕就不会崩溃:registerFvp(options: {
'platforms': ['android', 'ios'],
'ignore_ssl_errors': 1,
'player': {'subtitle': '0'}, // ← 全局禁用 mdk 内置字幕渲染
});
wangjunjx8868 commentedon Jun 15, 2026
崩溃原因有一部分是我代码的问题。AI分析不一定准,仅供参考
wang-bin commentedon Jun 15, 2026
这得调试看看anr发生在哪里了
wangjunjx8868 commentedon Jun 15, 2026
刚播放器页面就卡主不动了,你看下日志是不是FVP的问题?
Details
1 remaining item
wang-bin commentedon Jun 15, 2026
硬解码+字幕 anr,硬解码 无字幕 正常,软解码 + 字幕 正常?
wangjunjx8868 commentedon Jun 15, 2026
是的
wangjunjx8868 commentedon Jun 17, 2026
我手机做了一个相册,相册里有图片和视频的切换,左右滑动那种,发布后滑动切换图片和视频,崩溃概率极高
Redmi/vermeer/vermeer:16/BP2A.250605.031.A3/OS3.0.303.0.WNKCNXM:user/release-keys
wang-bin commentedon Jun 18, 2026
libmdk.so*打包一份
wang-bin commentedon Jun 18, 2026
在编译机器上。什么时候编译的?
wangjunjx8868 commentedon Jun 18, 2026
我知道在哪找了
wangjunjx8868 commentedon Jun 18, 2026
打包了
arm64-v8a.zip
wang-bin commentedon Jun 18, 2026
还要libmdk.so.dsym
wangjunjx8868 commentedon Jun 18, 2026
这个libmdk.so.dsym 怎么搞到,我本地有libmdk.so.dsym(是电脑有),但是测试人员的手机没有开发环境,他们是纯测试人员
wang-bin commentedon Jun 18, 2026
好了,根据libmdk.so里的信息在github构建历史找到了
wang-bin commentedon Jun 18, 2026
ANativeWindow_getFormat调用崩溃了,这个很奇怪,这是我最近两个月加的代码。有没有从
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***开始的完整崩溃日志?就是你提供的第一行#00之前也会有些重要日志。wangjunjx8868 commentedon Jun 18, 2026
再往前只有一行了,Redmi/vermeer/vermeer:16/BP2A.250605.031.A3/OS3.0.303.0.WNKCNXM:user/release-keys,,这是小米自己app崩溃日志,我用那个手机真机调试下,再给你发一些日志
wangjunjx8868 commentedon Jun 18, 2026
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FloatingActions] assetId=5ea33179-785e-4466-9b93-456a820ec31b isFavorited=true count=0
I/flutter (26425): [FavoriteInfoProvider] fetching for assetId=c47815e2-fd10-4c22-8f00-ab8867bcbebf
I/flutter (26425): [AssetFavorite] GET /assets/c47815e2-fd10-4c22-8f00-ab8867bcbebf
I/flutter (26425): [FloatingActions] assetId=c47815e2-fd10-4c22-8f00-ab8867bcbebf isFavorited=false count=0
I/flutter (26425): [FloatingActions] assetId=c47815e2-fd10-4c22-8f00-ab8867bcbebf isFavorited=false count=0
I/flutter (26425): [FloatingActions] assetId=c47815e2-fd10-4c22-8f00-ab8867bcbebf isFavorited=false count=0
I/flutter (26425): fvp.FINE: 15:21:57.119: 93966253 player-5476376644683960880 create(https://192.168.10.16/nas_api/assets/2937c09d-231d-492f-8969-8985145d8283/video/playback?)
I/flutter (26425): mdk.FINE: 15:21:57.134: default 0xb4000074bd82bae0 new FrameReader...
I/flutter (26425): mdk.FINE: 15:21:57.134: Registered audio backends: AAudio OpenSL AudioTrack null
I/flutter (26425): mdk.FINE: 15:21:57.135: default 0xb4000074bd976200 new FrameReader...
I/flutter (26425): mdk.FINE: 15:21:57.135: Registered audio backends: AAudio OpenSL AudioTrack null
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player.Player()
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player.onEvent(1, 0x7ffef9bb80)
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player.onStateChanged(1)
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player.onMediaStatus(1)
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: video.decoder = shader_resource=0
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avformat.strict = experimental
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avformat.safe = 0
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avio.reconnect = 1
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avio.reconnect_delay_max = 7
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avformat.rtsp_transport = tcp
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avformat.extension_picky = 0
I/flutter (26425): mdk.FINE: 15:21:57.135: 0xb4000074fd84f050 player property: avformat.allowed_segment_extensions = ALL
I/flutter (26425): mdk.FINE: 15:21:57.136: 0xb4000074fd84f050 player.setDecoders(video, [FFmpeg, dav1d])
I/flutter (26425): mdk.FINE: 15:21:57.136: video decoders: "FFmpeg", "dav1d"
I/flutter (26425): mdk.FINE: 15:21:57.136: video decoders: "FFmpeg", "dav1d"
I/flutter (26425): mdk.FINE: 15:21:57.136: 0xb4000074fd84f050 player property: avio.headers = Authorization: Bearer E6256qImHuK3htNjfjsSkt63HS8N9kr7dusuPTmrY
I/flutter (26425):
I/flutter (26425): mdk.FINE: 15:21:57.136: 0xb4000074fd84f050 player.setMedia(https://192.168.10.16/nas_api/assets/2937c09d-231d-492f-8969-8985145d8283/video/playback?)
I/flutter (26425): mdk.FINE: 15:21:57.136: default FrameReader0xb4000074bd82bae0 state: 0=>0=>0, 0
I/flutter (26425): mdk.INFO: 15:21:57.136: default0xb4000074bd82bae0 stop, current state: 0, requested: 1
I/flutter (26425): mdk.FINE: 15:21:57.136: default FrameReader0xb4000074bd82bae0 state: 0=>0=>0, 0
I/flutter (26425): mdk.INFO: 15:21:57.136: default0xb4000074bd82bae0 stop, current state: 0, requested: 1
I/flutter (26425): mdk.FINE: 15:21:57.136: 0xb4000074fd84f050 player.set(0)
I/flutter (26425): mdk.FINE: 15:21:57.136: 0xb4000075cd50d270 virtual void mdk::MediaControlPush::setState(PlaybackState)@1132 requested state 0=>0, current state 0. status: 0
I/flutter (26425): mdk.FINE: 15:21:57.136: default FrameReader0xb4000074bd82bae0 state: 0=>0=>0, 0
I/flutter (26425): mdk.INFO: 15:21:57.136: default0xb4000074bd82bae0 stop, current state: 0, requested: 1
I/flutter (26425): mdk.FINE: 15:21:57.137: 0xb4000074fd84f050 player.waitFor(0, -1)
I/flutter (26425): mdk.FINE: 15:21:57.137: 0xb4000074fd84f050 player.prepare(0, ..., 1282)
I/flutter (26425): mdk.INFO: 15:21:57.137: 0xb4000075cd50d270 MediaControl.prepare(0, ...) https://192.168.10.16/nas_api/assets/2937c09d-231d-492f-8969-8985145d8283/video/playback?
I/flutter (26425): mdk.FINE: 15:21:57.137: default 0xb4000074bd82bae0 FrameReader.start(0, ...)
I/flutter (26425): mdk.FINE: 15:21:57.137: default 0xb4000074bd82bae0 FrameReader::update MediaStatus 0=>0X2
I/flutter (26425): fvp.FINE: 15:21:57.137: 134769022 player-5476376644683960880 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
I/flutter (26425): mdk.FINE: 15:21:57.137: default FrameReader0xb4000074bd82bae0 state: 0=>0=>1, 0
I/flutter (26425): mdk.FINE: 15:21:57.137: default FrameReader0xb4000074bd82bae0 state: 0=>1=>1, 0
I/flutter (26425): mdk.FINE: 15:21:57.137: default FrameReader0xb4000074bd82bae0 request to pause 1, loaded: 0.
I/flutter (26425): mdk.FINE: 15:21:57.137: default FrameReader0xb4000074bd82bae0 state: 0=>1=>2, 0
I/flutter (26425): mdk.FINE: 15:21:57.137: default FrameReader0xb4000074bd82bae0 state requested: 2, current: 0
I/flutter (26425): mdk.FINE: 15:21:57.138: 0xb4000074bd82bae0start frame reader thread: 496597353472
I/flutter (26425): mdk.FINE: 15:21:57.138: Trying MediaIO FFmpeg
I/flutter (26425): mdk.FINE: 15:21:57.138: 0xb40000752d5a8b90 open url: https://192.168.10.16/nas_api/assets/2937c09d-231d-492f-8969-8985145d8283/video/playback?
I/flutter (26425): mdk.FINE: 15:21:57.158: 0xb4000074fda639e0 player.onMediaStatus(0)
I/flutter (26425): mdk.FINE: 15:21:57.158: 0xb40000756d67a1700xb4000074fda639e0 player.onStateChanged(0)->PlatformSurface::Event::NativeHandle:
I/flutter (26425): mdk.FINE: 15:21:57.158: 0xb4000074fda639e0 player.onEvent(0, 0x0)
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb4000074fda639e0 player.onFrame(0)
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb4000074fda639e0 player.setTimeout(0, 0x0)
I/flutter (26425): mdk.FINE: 15:21:57.159: 0x7ffefa200c>>>0x00xb4000074fda639e0 player.onLoop(0, 0x0)
I/flutter (26425):
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb4000074fda639e0 player.onSync(..., 10)
I/flutter (26425): mdk.FINE: 15:21:57.159:
I/flutter (26425): mdk.FINE: 15:21:57.159: ++++++++++onDestroyContext(surface 0xb40000756d67a170, ctx 0xb40000756d677350)+++++++++++
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb40000765d6fd050 destroying context local data 1...
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb40000756d67ada0mdk::GLVideoRenderer::Private::Renderers::~Renderers()
I/flutter (26425): mdk.FINE: 15:21:57.159: cleanup shader cache
I/flutter (26425): mdk.FINE: 15:21:57.159: cleanup shader cache
I/flutter (26425): mdk.FINE: 15:21:57.159: 0xb40000765d6fd050->aboutToDestroy() erase context 0xb40000765d6fd050(0) for native context handle 0xb40000753d579200 ~~~~~~~~
I/flutter (26425): mdk.FINE: 15:21:57.159:
I/flutter (26425): mdk.FINE: 15:21:57.159: ~Context
I/flutter (26425): mdk.FINE: 15:21:57.191: 0xb40000765d6fd050->aboutToDestroy() done~~~~~~~~
I/flutter (26425): mdk.FINE: 15:21:57.191:
I/flutter (26425): mdk.FINE: 15:21:57.191: 0xb40000763d5467f0UGL::opengl::Context::Localmdk::GLVideoRenderer::Private::Renderers::~Local() [T = mdk::GLVideoRenderer::Private::Renderers, DT = mdk::GLVideoRenderer::Private::Renderers]0x3 count: 0
I/flutter (26425): mdk.FINE: 15:21:57.191: mdk::VideoRenderer::Private::~Private() @127
I/flutter (26425): mdk.FINE: 15:21:57.191: destroyRenderContext: 0xb40000756d677350
I/flutter (26425): mdk.FINE: 15:21:57.191: 0xb40000752d5683f0 destroy gl resources before destroying context
I/flutter (26425): mdk.FINE: 15:21:57.191: new Context object 0xb40000765d6ef950(1) for native context handle 0xb40000753d579200
I/flutter (26425): mdk.FINE: 15:21:57.191: ctx->api_: 0xb4000074bd7e4410
I/flutter (26425): mdk.FINE: 15:21:57.191: probing gl context... native: 0x0
I/flutter (26425): mdk.FINE: 15:21:57.192: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (26425): mdk.FINE: 15:21:57.192: EGL_VERSION: 1.5 Android META-EGL
I/flutter (26425): mdk.FINE: 15:21:57.192: EGL_VENDOR: Android
I/flutter (26425): mdk.FINE: 15:21:57.192: EGL_CLIENT_APIS: OpenGL_ES
I/flutter (26425): mdk.FINE: 15:21:57.192: use GL symbols from default search order
I/flutter (26425): mdk.FINE: 15:21:57.192: resolving gl common functions...
I/flutter (26425): mdk.FINE: 15:21:57.192: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (26425): mdk.FINE: 15:21:57.193: using opengl api resolver: EGL
I/flutter (26425): mdk.FINE: 15:21:57.193: probing gl client context... major_: 0
I/flutter (26425): mdk.FINE: 15:21:57.193: GL_VENDOR: Qualcomm
I/flutter (26425): mdk.FINE: 15:21:57.193: GL_RENDERER: Adreno (TM) 740
I/flutter (26425): mdk.FINE: 15:21:57.193: GL_VERSION: OpenGL ES 3.2 [email protected] (GIT@bad34dcf83, I1064ae0a1f, 1764326394) (Date:11/28/25)
I/flutter (26425): mdk.FINE: 15:21:57.193: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.20
I/AAudio (26425): AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder(26425): rate = 44100, channels = 2, channelMask = 0x3, format = 5, sharing = SH, dir = OUTPUT
I/AudioStreamBuilder(26425): device = AUDIO_PORT_HANDLE_NONE, sessionId = -1, perfMode = 12, callback: ON with frames = 256, error callback: OFF
I/AudioStreamBuilder(26425): usage = 1, contentType = 3, inputPreset = 0, allowedCapturePolicy = 0
I/AudioStreamBuilder(26425): privacy sensitive = false, opPackageName = (null), attributionTag = (null)
D/AudioStreamBuilder(26425): build() uid=10346 clientName=com.luobin.nasapp
D/AudioStreamBuilder(26425): build, global mmap policy is 0
D/AudioStreamBuilder(26425): build, system mmap policy is 2
D/AudioStreamBuilder(26425): UseAAudioApp mClientName :com.luobin.nasapp()
D/AudioStreamBuilder(26425): build, final mmap policy is 1
D/AudioStreamBuilder(26425): build, system mmap exclusive policy is 2
D/AudioStreamBuilder(26425): build, final mmap exclusive policy is 2
D/m.luobin.nasapp(26425): PlayerBase::PlayerBase()
D/AudioStreamTrack(26425): open(), request notificationFrames = -8, frameCount = 0
E/AudioTrack(26425): Failed to load XML file: /odm/etc/audio/audio_lowpower_app_list.xml
I/AudioTrackImpl(26425): initAudioTrackImpl()
W/libc (26425): Access denied finding property "vendor.display.enable_optimal_refresh_rate"
D/AudioTrackImpl(26425): binder call: getPackageName com.luobin.nasapp for uid 10346
D/AudioTrack(26425): set(): (sessionId=0), mcallback is 1, streamType -1, sampleRate 44100, format 0x5, channelMask 0x3, frameCount 0, flags 0x104, notificationFrames -8,transferType 1, mClientAttributionSource AttributionSourceState{pid: -1, uid: -1, deviceId: 0, packageName: com.luobin.nasapp, attributionTag: (null), token: (null), renouncedPermissions: (null), next: []}
W/Thread-14(26425): type=1400 audit(0.0:1422317): avc: denied { read } for name="u:object_r:vendor_display_prop:s0" dev="tmpfs" ino=507 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:vendor_display_prop:s0 tclass=file permissive=0 app=com.luobin.nasapp
W/libc (26425): Access denied finding property "vendor.display.enable_optimal_refresh_rate"
W/m.luobin.nasapp(26425): type=1400 audit(0.0:1422318): avc: denied { read } for name="u:object_r:vendor_display_prop:s0" dev="tmpfs" ino=507 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:vendor_display_prop:s0 tclass=file permissive=0 app=com.luobin.nasapp
I/flutter (26425): [IMPORTANT:flutter/shell/platform/android/platform_view_android.cc(366)] Flutter recommends migrating plugins that create and register surface textures to the new surface producer API. See https://docs.flutter.dev/release/breaking-changes/android-surface-plugins
W/libc (26425): Access denied finding property "vendor.display.enable_optimal_refresh_rate"
V/xlog_client(26425): xlog_check_permission event name audio_track_message level 0
V/xlog_client(26425): xlog_check_permission event name audio_repeat_start_stop level 0
V/xlog_client(26425): xlog_check_permission event name audio_zero_data level 0
I/AudioTrackImpl(26425): before scaleVolumeForVideo L:1.000000 R:1.000000 and the pakage is com.luobin.nasapp
D/AudioTrack(26425): AudioTrack::setVolume L:1.000000 R:1.000000 sessionid=23153
D/AudioStreamTrack(26425): open() flags changed from 0x00000104 to 0x00000000
D/AudioStreamTrack(26425): open() perfMode changed from 12 to 10
D/AAudioStream(26425): setState(s#2) from 0 to 2
D/m.luobin.nasapp(26425): PlayerBase::setVolume() from IPlayer
D/AAudioStream(26425): setDuckAndMuteVolume() to 1.000000
I/AudioTrackImpl(26425): before scaleVolumeForVideo L:1.000000 R:1.000000 and the pakage is com.luobin.nasapp
D/AudioTrack(26425): AudioTrack::setVolume L:1.000000 R:1.000000 sessionid=23153
I/AAudio (26425): AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ----------------
D/AAudio (26425): AAudioStream_requestStart(s#2) called --------------
D/AAudioStream(26425): setState(s#2) from 2 to 3
I/AudioTrack(26425): start(3504): prior state:STATE_STOPPED packageName: com.luobin.nasapp
D/AAudio (26425): AAudioStream_requestPause(s#2) called
D/BufferQueueConsumer(26425): ImageReader-16x16f22u256m5-26425-2 disconnect: caller 26425
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck], enter: uid = 10346, session = 23153, uidnowTime = 1781767317
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck] uid = 10346, uidbeforeTimeGap = 2, uidnowTimeGap = 0, consecutiveStartCnt = 3
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck] isAnomaly = 0
D/AAudio (26425): AAudioStream_requestStart(s#2) returned 0 ---------
D/AAudioStream(26425): setState(s#2) from 3 to 5
D/AAudio (26425): AAudioStream_requestPause(s#2) called
I/AudioTrack(26425): pause(sessionID=23153) pause(3504): prior state:STATE_ACTIVE packageName: com.luobin.nasapp
D/AAudioStream(26425): setState(s#2) from 3 to 4
D/AudioStreamLegacy(26425): onAudioDeviceUpdate() devices 3 => 3
D/AudioTrack(26425): onAudioDeviceUpdate AudioPortDebug[ID:00000003] deviceType:AUDIO_DEVICE_OUT_SPEAKER(00000002)
D/BatteryNotifier(26425): batteryHandler::send audio device update msg! 10346, 26425, 23153, 2
D/BatteryNotifier(26425): BatteryNotifier::update device to power insight! 10346, 26425, 23153, 2
D/AAudioStream(26425): setState(s#2) from 4 to 5
I/AudioTrack(26425): pause(sessionID=23153) pause(3504): prior state:STATE_PAUSED packageName: com.luobin.nasapp
D/m.luobin.nasapp(26425): PlayerBase::setVolume() from IPlayer
D/AAudioStream(26425): setDuckAndMuteVolume() to 1.000000
I/AudioTrackImpl(26425): before scaleVolumeForVideo L:1.000000 R:1.000000 and the pakage is com.luobin.nasapp
D/AudioTrack(26425): AudioTrack::setVolume L:1.000000 R:1.000000 sessionid=23153
I/MIUIInput(26425): [MotionEvent] ViewRootImpl windowName 'com.luobin.nasapp/com.luobin.nasapp.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=245234152, downTime=245234152, phoneEventTime=1781767317413 } moveCount:0
D/VRIMainActivity: getMiuiFreeformStackInfo mTmpFrames.miuiFreeFormStackInfo: null
D/AAudio (26425): AAudioStream_requestPause(s#2) called
I/MIUIInput(26425): [MotionEvent] ViewRootImpl windowName 'com.luobin.nasapp/com.luobin.nasapp.MainActivity', { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=245234218, downTime=245234152, phoneEventTime=1781767317479 } moveCount:10
D/BufferQueueConsumer(26425): SurfaceTexture-0-26425-1 disconnect: caller 26425
I/FvpPlugin(26425): onMethodCall: ReleaseRT texId: 1, surfaces: 0 textures: 0
D/AAudio (26425): AAudioStream_requestStart(s#2) called --------------
D/AAudioStream(26425): setState(s#2) from 5 to 3
I/AudioTrack(26425): start(3504): prior state:STATE_PAUSED packageName: com.luobin.nasapp
D/BufferQueueProducer(26425): SurfaceTexture-0-26425-1 disconnect: api 1 (caller=26425)
W/Thread-15(26425): type=1400 audit(0.0:1422320): avc: denied { read } for name="u:object_r:vendor_display_prop:s0" dev="tmpfs" ino=507 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:vendor_display_prop:s0 tclass=file permissive=0 app=com.luobin.nasapp
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck], enter: uid = 10346, session = 23153, uidnowTime = 1781767317
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck] uid = 10346, uidbeforeTimeGap = 0, uidnowTimeGap = 0, consecutiveStartCnt = 4
D/AudioRepeatStartCheck(26425): [AudioRepeatStartStopCheck] isAnomaly = 0
D/AAudio (26425): AAudioStream_requestStart(s#2) returned 0 ---------
D/AAudio (26425): AAudioStream_requestFlush(s#2) called
E/AAudio (26425): can only flush stream when PAUSED, OPEN or STOPPED, state = AAUDIO_STREAM_STATE_STARTING
I/scudo (26425): Scudo ERROR: invalid chunk state when deallocating address 0x20000765d726e90
I/libc (26425): handling signal: 6
F/libc (26425): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 12638 (AudioTrack), pid 26425 (m.luobin.nasapp)
Build fingerprint: 'Redmi/vermeer/vermeer:16/BP2A.250605.031.A3/OS3.0.303.0.WNKCNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2026-06-18 15:21:57.761923468+0800
Process uptime: 644s
Cmdline: com.luobin.nasapp
pid: 26425, tid: 12638, name: AudioTrack >>> com.luobin.nasapp <<<
uid: 10346
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x20000765d726e90'
x0 0000000000000000 x1 000000000000315e x2 0000000000000006 x3 00000073a2acacb0
x4 64736073721f6a6d x5 64736073721f6a6d x6 64736073721f6a6d x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 e8cc04adf4935b46 x10 000000ff00000020 x11 000000003b9ac9ff
x12 0000007760bf4020 x13 000000007fffffff x14 0000000006fb5520 x15 000007e211da9e53
x16 000000773a1d3110 x17 000000773a1bb2c0 x18 000000737deac000 x19 0000000000006739
x20 000000000000315e x21 00000000ffffffff x22 b40000765d726e90 x23 b40000765d6e4150
x24 0000000000000000 x25 0000000000000001 x26 00000074809eb650 x27 00000074809ec120
x28 ffffffffffffe8a8 x29 00000073a2acad30
lr 000000773a156ba8 sp 00000073a2acacb0 pc 000000773a156bcc pst 0000000000001000
19 total frames
backtrace:
#00 pc 0000000000070bcc /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 56f2e102db31359cc22460be335d240c)
#1 pc 000000000005d7a8 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+12) (BuildId: 56f2e102db31359cc22460be335d240c)
#2 pc 000000000005e1f8 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportRawError(char const*)+32) (BuildId: 56f2e102db31359cc22460be335d240c)
#3 pc 000000000005e16c /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+16) (BuildId: 56f2e102db31359cc22460be335d240c)
#4 pc 000000000005e5ac /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+120) (BuildId: 56f2e102db31359cc22460be335d240c)
#5 pc 000000000005fcc8 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidNormalConfig, &scudo_malloc_postinit>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+296) (BuildId: 56f2e102db31359cc22460be335d240c)
#6 pc 0000000000119edc /data/app/~~a58OkXLTe9Oilom-RErEnA==/com.luobin.nasapp-Oep1T7cREJfFdAtrbzFYrQ==/base.apk!libmdk.so (offset 0x6b4c000) (BuildId: 8fba685f773f6d7ecefada917f6549f3651284be)
#7 pc 000000000012051c /data/app/~~a58OkXLTe9Oilom-RErEnA==/com.luobin.nasapp-Oep1T7cREJfFdAtrbzFYrQ==/base.apk!libmdk.so (offset 0x6b4c000) (BuildId: 8fba685f773f6d7ecefada917f6549f3651284be)
#8 pc 000000000004e8e4 /system/lib64/libaaudio_internal.so (aaudio::AudioStream::maybeCallDataCallback(void*, int)+200) (BuildId: 6dd3a8078e16b43cf207141d1da8c184)
#9 pc 000000000005bf5c /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::callDataCallbackFrames(unsigned char*, int)+308) (BuildId: 6dd3a8078e16b43cf207141d1da8c184)
#10 pc 0000000000066620 /system/lib64/libaaudio_internal.so (FixedBlockReader::processVariableBlock(unsigned char*, int)+316) (BuildId: 6dd3a8078e16b43cf207141d1da8c184)
#11 pc 000000000005ae88 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::onMoreData(android::AudioTrack::Buffer const&)+988) (BuildId: 6dd3a8078e16b43cf207141d1da8c184)
#12 pc 00000000000d7b20 /system/lib64/libaudioclient.so (android::AudioTrack::processAudioBuffer()+2912) (BuildId: 06b330a1e71b463be868953d8031a0f4)
#13 pc 00000000000d6cfc /system/lib64/libaudioclient.so (android::AudioTrack::AudioTrackThread::threadLoop()+544) (BuildId: 06b330a1e71b463be868953d8031a0f4)
#14 pc 000000000003451c /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+396) (BuildId: 3e45b78f1a54bef7ad5274050b3915a7)
#15 pc 000000000013f288 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+148) (BuildId: 8f97739be61550f885567f0d3f848792)
#16 pc 000000000003ad18 /system/lib64/libutils.so (libutil_thread_trampoline(void*) (.__uniq.226528677032898775202282855395389835431)+24) (BuildId: 3e45b78f1a54bef7ad5274050b3915a7)
#17 pc 000000000008167c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+184) (BuildId: 56f2e102db31359cc22460be335d240c)
#18 pc 0000000000073e5c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 56f2e102db31359cc22460be335d240c)
Lost connection to device.
wangjunjx8868 commentedon Jun 18, 2026
我们apk有一个相册功能,有一些实况照片(jpg),虽然是jpg格式,但是有一段视频大约1-2秒。然后快速切换多张照片,让后App就崩溃了
wang-bin commentedon Jun 18, 2026
这个日志的buildid又不一样,上传下libmdk.so*