Tencent-RTC / Tencent-RTC/TUILiveKit

flutter demo error

Open
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
143
Forks
107
Avg merge
18h 25m
Merged PRs (30d)
1

Description

出现问题:
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]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.