Tencent / Tencent/libpag

EXC_BAD_ACCESS libpag pag::PAGVideoDecoder::SetMaxHardwareDecoderCount(int) + 244876 (使用的是Firebase上报的crash)

Open
#2,374 11 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jul 16, 2024.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

使用版本号如下
pod 'libpag','4.3.57'

iPhone 11 Pro Max
iOS16.5.0
crash 信息如下
Crashed: Thread
0 libpag 0x1249d8 pag::PAGVideoDecoder::SetMaxHardwareDecoderCount(int) + 244876
1 libpag 0x9f3a0 pag::PAGDiskCache::RemoveAll() + 109492
2 libpag 0x73188 pag::FileAttributes::FileAttributes(pag::FileAttributes const&) + 265656
3 libpag 0x7bc8c pag::PAGDecoder::renderFrame(std::__1::shared_ptrpag::PAGComposition, int, std::__1::shared_ptrpag::BitmapBuffer) + 340
4 libpag 0x7b44c pag::PAGDecoder::readFrameInternal(int, std::__1::shared_ptrpag::BitmapBuffer) + 584
5 libpag 0x7b82c pag::PAGDecoder::readFrame(int, __CVBuffer*) + 108
6 libpag 0x6c09c pag::FileAttributes::FileAttributes(pag::FileAttributes const&) + 236748
7 libpag 0x6d45c pag::FileAttributes::FileAttributes(pag::FileAttributes const&) + 241804
8 libpag 0x61320 pag::FileAttributes::FileAttributes(pag::FileAttributes const&) + 192336
9 libpag 0x78f80 pag::PAG::SDKVersion() + 3912
10 libpag 0x79cbc pag::PAG::SDKVersion() + 7300
11 libpag 0x1431f4 pag::PAGVideoDecoder::SetMaxHardwareDecoderCount(int) + 369832
12 libpag 0x1435ec pag::PAGVideoDecoder::SetMaxHardwareDecoderCount(int) + 370848
13 libpag 0x14405c pag::PAGVideoDecoder::SetMaxHardwareDecoderCount(int) + 373520
14 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
15 libsystem_pthread.dylib 0xb88 thread_start + 8

              com.apple.main-thread

0 libsystem_kernel.dylib 0xc84 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b54 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e2c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11c8 mach_msg + 24
4 CoreFoundation 0x79024 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7a250 __CFRunLoopRun + 1208
6 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
7 GraphicsServices 0x135c GSEventRunModal + 164
8 UIKitCore 0x39d6e8 -[UIApplication _run] + 888
9 UIKitCore 0x39d34c UIApplicationMain + 340
10 BluedInternational 0x4530 main + 13 (main.m:13)
11 ??? 0x1e1302dec (缺少)

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.