Repository navigation
[BUG]lineageos17.1运行报错 #910
Description
设备:小米6
系统:lineageos官方为小米6提供的lineageos17.1
预期:
选择曲子下载打开,开始打歌
实际:
选择曲子下载打开后提示:
加载谱面失败
Caused by:
0: Failed to load resources
1: Unavailable
app日志(logfox):
1792247774.163 10179 30130 30171 I SAPP : phira: FPS 1126 (capped at 0)
1792247774.872 10179 30130 30171 I SAPP : phira: FPS 1075 (capped at 0)
1792247775.869 10179 30130 30171 I SAPP : phira: FPS 936 (capped at 60)
1792247776.871 10179 30130 30171 I SAPP : phira: FPS 436 (capped at 59)
1792247777.979 10179 30130 30171 D SAPP : symphonia_core::probe: found a possible format marker within [4f, 67, 67, 53, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 6d, 9] @ 0+2 bytes.
1792247777.979 10179 30130 30171 D SAPP : symphonia_core::probe: found the format marker [4f, 67, 67, 53] @ 0+2 bytes.
1792247777.979 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 8192 bytes
1792247777.979 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: starting new physical stream
1792247777.979 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: selected vorbis mapper for stream with serial=0x96d
1792247777.982 10179 30130 30171 D SAPP : symphonia_core::probe: found a possible format marker within [4f, 67, 67, 53, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, b2, 20] @ 0+2 bytes.
1792247777.982 10179 30130 30171 D SAPP : symphonia_core::probe: found the format marker [4f, 67, 67, 53] @ 0+2 bytes.
1792247777.982 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 8192 bytes
1792247777.982 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: starting new physical stream
1792247777.982 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: selected vorbis mapper for stream with serial=0x20b2
1792247777.987 10179 30130 30171 D SAPP : symphonia_core::probe: found a possible format marker within [4f, 67, 67, 53, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26] @ 0+2 bytes.
1792247777.987 10179 30130 30171 D SAPP : symphonia_core::probe: found the format marker [4f, 67, 67, 53] @ 0+2 bytes.
1792247777.987 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 8192 bytes
1792247777.987 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: starting new physical stream
1792247777.987 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: selected vorbis mapper for stream with serial=0x2600
1792247777.992 10179 30130 30171 D SAPP : symphonia_core::probe: found a possible format marker within [4f, 67, 67, 53, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, fb, 6d] @ 0+2 bytes.
1792247777.992 10179 30130 30171 D SAPP : symphonia_core::probe: found the format marker [4f, 67, 67, 53] @ 0+2 bytes.
1792247777.992 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 8192 bytes
1792247777.992 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: starting new physical stream
1792247777.992 10179 30130 30171 I SAPP : symphonia_format_ogg::demuxer: selected vorbis mapper for stream with serial=0x451d6dfb
1792247777.992 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 40960 bytes
1792247777.992 10179 30130 30171 D SAPP : symphonia_format_ogg::page: grow page buffer to 49152 bytes
1792247777.994 10179 30130 30171 D SAPP : symphonia_codec_vorbis: vorbis: leftover bits in setup head extra data
1792247778.110 10179 30130 30171 I OboeAudio: openStreamInternal() OUTPUT -------- OboeVersion1.8.1 --------
1792247778.110 10179 30130 30171 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
1792247778.110 10179 30130 30171 I AudioStreamBuilder: rate = 0, channels = 2, format = 5, sharing = EX, dir = OUTPUT
1792247778.110 10179 30130 30171 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
1792247778.110 10179 30130 30171 I AudioStreamBuilder: usage = 14, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
1792247778.110 10179 30130 30171 D : PlayerBase::PlayerBase()
1792247778.144 10179 30130 30171 D AudioStreamInternal_Client: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
1792247778.145 10179 30130 30171 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#4 ----------------
1792247778.145 10179 30130 30171 D AAudio : AAudioStream_requestStart(s#4) called --------------
1792247778.200 10179 30130 30171 D AAudio : AAudioStream_requestStart(s#4) returned -889 ---------
1792247778.200 10179 30130 30171 D AAudio : AAudioStream_requestStop(s#4) called
1792247778.200 10179 30130 30171 D : PlayerBase::stop() from IPlayer
1792247778.210 10179 30130 30171 D AAudio : AAudioStream_close(s#4) called ---------------
1792247778.316 10179 30130 30171 D AAudio : AAudioStream_close(s#4) returned 0 ---------
1792247778.328 10179 30130 30171 I SAPP : phira: FPS 1 (capped at 36)
1792247778.332 10179 30130 30171 W SAPP : prpr::scene: show error: 加载谱面失败
1792247778.332 10179 30130 30171 W SAPP : Caused by:
1792247778.332 10179 30130 30171 W SAPP : 0: Failed to load resources
1792247778.332 10179 30130 30171 W SAPP : 1: Unavailable
1792247778.873 10179 30130 30171 I SAPP : phira: FPS 665 (capped at 28)
1792247780.207 10179 30130 30171 I SAPP : phira: FPS 0 (capped at 27)
1792247780.208 10179 30130 30171 E Surface : getSlotFromBufferLocked: unknown buffer: 0x7caaeb5b80
1792247780.208 10179 30130 30171 I Adreno : QueueBuffer: queueBuffer failed
1792247780.209 10179 30130 30171 W libEGL : EGLNativeWindowType 0x7c7cfe0010 disconnect failed
1792247781.465 10179 30130 30639 D : PlayerBase::~PlayerBase()
Activity
[-]lineageos17.1运行报错[/-][+][BUG]lineageos17.1运行报错[/+]AohUT commentedon Oct 17, 2026
分析:
•
requestStart 返回 -889 = AAUDIO_ERROR_UNAVAILABLE ,AAudio 拒绝启动「Exclusive + LowLatency」流(AOSP 类 ROM 常见,本仓库 #203 同族问题,错误码 Disconnected/InvalidState/Unavailable 都是 oboe 同一类)。
•
音频库 sasa@e76229b 在 Android 上只尝试这一种配置,且 open_stream().unwrap() 直接 panic + start()? ,导致 Resource::new 整体失败 → 谱面加载失败。
•
官方 CI 用的环境没暴露此问题,但多台 LineageOS/类原生 ROM 设备 100% 复现。
(ai总结的仅用于参考)