Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

flutter demo error

未关闭
#197 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
flutter
领域
mobile-dev

调研方向

Start by reproducing the crash in the Flutter demo using the reported tab-switching sequence after leaving or closing a live room. Review the fatal SIGSEGV backtrace, especially libtuikitengineroom.so and the live_list_extension fetchLiveList log. No source file or test is named; done means the sequence no longer crashes on the reported device and the regression is covered or reproducible for verification.

由索引模型根据 Issue 内容生成。

描述

出现问题:
APP闪退

复现步骤:
Flutter版本demo,观众退出直播间后或者主播关闭直播后,切换tab到我的页面,然后再次切换到直播页面。

错误日志:

I/liteav  (27728): [I][12-26/17:15:06.619+8.0][27728,6304][trtc_pipeline_extension.cc:28][trtc-api][3:1f00]Extension module initialized.
I/liteav  (27728): [I][12-26/17:15:06.619+8.0][27728,6304][trtc_pipeline2.cc:128][trtc-api][3:1f00]PipelineV2 asynchronous initialized.
I/flutter (27728): getUserFollowInfo result(code: Instance of 'V2TimValueCallback<List<V2TimFollowInfo>>'.code), msg:The follow feature is available only to the Premium Edition. Please upgrade.
W/imsdk   (27728): TIM: |-IMFlutterUIKit                                                                  |【getUserFollowInfo】{"userIDList":["4569"],"ability":[],"TIMManagerName":"friendshipManager"}|7013|The follow feature is available only to the Premium Edition. Please upgrade.|null
W/liteav  (27728): [W][12-26/17:15:07.636+8.0][27728,6114][IMFlutterUIKit:0]Tuikit: [imsdk]||【getUserFollowInfo】{"userIDList":["4569"],"ability":[],"TIMManagerName":"friendshipManager"}|7013|The follow feature is available only to the Premium Edition. Please upgrade.|null
D/HwDragEnhancementImpl(27728): handleTimerDrag: false
D/HwDragEnhancementImpl(27728): handleTimerDrag: false
D/HwDragEnhancementImpl(27728): Start long press for hw drag enhancement.
D/WebViewDragEnhancement(27728): dragReset.
D/WebViewDragEnhancement(27728): dragReset cacheSize = 0
I/liteav  (27728): [I][12-26/17:15:08.188+8.0][27728,6114][room_pipeline.cc:43]Tuikit: pipeline v2 init
I/liteav  (27728): [I][12-26/17:15:08.188+8.0][27728,6114][experimental_api_invoker2.cc:927][trtc-api][3:1f00]CallExperimentalApi [msg:ok|json:{"api":"checkDuplicateEnterRoom","params":{"check":1}}
I/liteav  (27728): ]
W/liteav  (27728): [W][12-26/17:15:08.189+8.0][27728,6114][sso_channel.cc:62]Tuikit: |Init|has inited
I/liteav  (27728): [I][12-26/17:15:08.189+8.0][27728,6114][room_pipeline.cc:169]Tuikit: setClient
I/liteav  (27728): [I][12-26/17:15:08.190+8.0][27728,6114][live_list_extension.cc:123]Tuikit: fetchLiveList, [cursor: , count: 20]
F/libc    (27728): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 6114 (1.ui), pid 27728 (livekit_example)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/ABR-AL00/HWABR-Q:12/HUAWEIABR-AL00/104.2.0.155C00:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-12-26 17:15:08.441426470+0800
Process uptime: 0s
Cmdline: com.tencent.cloud.tuikit.flutter.tuilivekit.tuilivekit_example
pid: 27728, tid: 6114, name: 1.ui  >>> com.tencent.cloud.tuikit.flutter.tuilivekit.tuilivekit_example <<<
uid: 10509
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20
Cause: null pointer dereference
    x0  0000007a3a5e68d0  x1  0000007a144ae7b0  x2  0000000000000020  x3  0000000000000003
    x4  0000007aae9820a0  x5  0000007aae9820c0  x6  0000007ac276b840  x7  0000007ac276b560
    x8  0000000000000000  x9  95efd825a037771f  x10 0000000000000001  x11 0000000000000000
    x12 0000000000000000  x13 000000001f30d970  x14 0000007aae980c30  x15 0000000000000000
    x16 0000007a144bd718  x17 0000007b660f1b1c  x18 0000007a2f614000  x19 0000000000000014
    x20 0000007a3a5e6a88  x21 0000007a3a5e6ab0  x22 0000007a3a5e6ae0  x23 0000000000000000
    x24 0000007a3a5eb000  x25 0000007a3a5eb000  x26 b400007aaeae8600  x27 0000007908a4ff60
    x28 0000000800000079  x29 0000007a3a5e6a30
    lr  0000007a1443ce14  sp  0000007a3a5e68c0  pc  0000007a1443ce14  pst 0000000060001000
backtrace:
      #00 pc 00000000001eae14  /data/app/~~Tl_sHM3QD_8RBsHbRb0M1Q==/com.tencent.cloud.tuikit.flutter.tuilivekit.tuilivekit_example-iwHnHvVH04eNhdHoMg78KA==/lib/arm64/libtuikitengineroom.so
      #01 pc 00000000001cb804  /data/app/~~Tl_sHM3QD_8RBsHbRb0M1Q==/com.tencent.cloud.tuikit.flutter.tuilivekit.tuilivekit_example-iwHnHvVH04eNhdHoMg78KA==/lib/arm64/libtuikitengineroom.so
      #02 pc 00000000000081d4  [anon:dart-code]
主要语言
Swift
星标
144
派生
108
平均合并
18 小时 25 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Tencent-RTC/TUILiveKit 的其他 Issue

查看 Tencent-RTC/TUILiveKit 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。