Tencent / Tencent/libpag

iOS更新 4.5.18 大量闪退

Open
#3,215 4 comments 1 reaction 1 assignee View on GitHub

@CodeJhF is already working on this.

Since Jul 7, 2026.

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

Description

iOS升级到4.5.18后,监控平台收到大量闪退,怀疑和4.5.12中提到的如下tgfx升级有关系

(3) 性能优化
tgfx 升级至 2.1.1 版本,基础图形渲染(如 Rect)的性能相比之前提升 10 倍,文本渲染性能相比之前提升 20 倍

【版本信息】

4.5.18

【平台信息】

iOS 原生

【堆栈信息如下】

1
libpag
tgfx::GLTexture::release(tgfx::GPU*) (in libpag:GLTexture.cpp:75)
2
libpag
tgfx::EAGLWindow::~EAGLWindow() (in libpag:EAGLWindow.mm:47)
3
libpag
tgfx::EAGLWindow::~EAGLWindow() (in libpag) [inlined]
4
libpag
tgfx::EAGLWindow::~EAGLWindow() (in libpag:EAGLWindow.mm:44)
5
libpag
std::__1::__shared_weak_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
6
libpag
std::__1::__shared_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
7
libpag
std::__1::shared_ptr<pag::File>::~shared_ptr[abi:ne180100]() (in libpag:shared_ptr.h:648)
8
libpag
pag::GPUDrawable::~GPUDrawable() (in libpag) [inlined]
9
libpag
pag::GPUDrawable::~GPUDrawable() (in libpag) [inlined]
10
libpag
std::__1::shared_ptr<tgfx::EAGLWindow>::~shared_ptr[abi:ne180100]() (in libpag) [inlined]
11
libpag
pag::GPUDrawable::~GPUDrawable() (in libpag:GPUDrawable.h:28)
12
libpag
std::__1::__shared_weak_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
13
libpag
std::__1::__shared_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
14
libpag
std::__1::shared_ptr<pag::File>::~shared_ptr[abi:ne180100]() (in libpag:shared_ptr.h:648)
15
libpag
pag::PAGSurface::~PAGSurface() (in libpag) [inlined]
16
libpag
pag::PAGSurface::~PAGSurface() (in libpag) [inlined]
17
libpag
std::__1::shared_ptr<pag::Drawable>::~shared_ptr[abi:ne180100]() (in libpag) [inlined]
18
libpag
pag::PAGSurface::~PAGSurface() (in libpag:pag.h:1220)
19
libpag
std::__1::__shared_weak_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
20
libpag
std::__1::__shared_count::__release_shared[abi:ne180100]() (in libpag) [inlined]
21
libpag
std::__1::shared_ptr<pag::File>::~shared_ptr[abi:ne180100]() (in libpag:shared_ptr.h:648)
22
libobjc.A.dylib
object_cxxDestructFromClass(objc_object*, objc_class*) (in libobjc.A.dylib)
23
libobjc.A.dylib
objc_destructInstance_nonnull_realized(objc_object*) (in libobjc.A.dylib)
24
libobjc.A.dylib
__objc_rootDealloc (in libobjc.A.dylib)
25
libpag
-[PAGSurface dealloc] (in libpag:PAGSurface.m:80)
26
libpag
-[PAGView dealloc] (in libpag:PAGView.mm:66)

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.