Tencent / Tencent/libpag

iOS crash

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

@kevingpqi123 is already working on this.

Since Mar 14, 2024.

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

Description

【版本信息】

4.2.55

【平台信息】

iOS 原生

【实际的情况】

在快速滑动的列表中容易复现,附件中的资源为播放复现资源。

【Demo及附件】

170558345372194.pag.zip

【crash 堆栈】

Thread 70 Crashed:
0   libpag                              0x0000000117bd89dc GetCoeffsFast + [ : 472] 
1   libpag                              0x0000000117bd8a80 GetCoeffsFast + [ : 636] 
2   libpag                              0x0000000117bd80b8 VP8DecodeMB + [ : 764] 
3   libpag                              0x0000000117bd833c VP8Decode + [ : 228] 
4   libpag                              0x0000000117bdc2b8 DecodeInto + [ : 300] 
5   libpag                              0x0000000117bdc4c8 WebPDecode + [ : 244] 
6   libpag                              0x0000000117bd04f4 tgfx::WebpCodec::readPixels(tgfx::ImageInfo const&, void*) const + [WebpCodec.cpp : 109] 
7   libpag                              0x0000000117b24a88 tgfx::ImageCodec::onMakeBuffer(bool) const + [ImageCodec.cpp : 0] 
8   libpag                              0x0000000117b27900 std::__1::__function::__func<tgfx::ImageGeneratorTask::ImageGeneratorTask(std::__1::shared_ptr<tgfx::ImageGenerator>, bool)::$_0, std::__1::allocator<tgfx::ImageGeneratorTask::ImageGeneratorTask(std::__1::shared_ptr<tgfx::ImageGenerator>, bool)::$_0>, void ()>::operator()() + [shared_ptr.h : 869] 
9   libpag                              0x0000000117ba8dc0 tgfx::Task::execute() + [__mutex_base : 90] 
10  libpag                              0x0000000117ba9290 tgfx::TaskGroup::RunLoop(tgfx::TaskGroup*) + [shared_ptr.h : 958] 
11  libpag                              0x0000000117ba9d14 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(tgfx::TaskGroup*), tgfx::TaskGroup*> >(void*) + [tuple : 191] 
12  libsystem_pthread.dylib             0x00000002092104d4 _pthread_start + [ : 136] 

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.