Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Crash GIFBufferInfo::GIFBufferInfo(unsigned char*, bool, unsigned int, unsigned int, unsigned int) #213

Open
lixiang1994 opened this issue Sep 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lixiang1994
Copy link

Describe the bug | 问题描述

A clear and concise description of what the bug is. | 请简明清晰地描述你遇到的问题。
Firebase收集到的crash, 似乎和SDWebImage相关

Environmental information | 环境信息

  • AppLovinMediationByteDanceAdapter (6.1.0.7.0):
    • Ads-Global/BUAdSDK_Compatible (= 6.1.0.7)
  • BURelyFoundation_Global/AFNetworking (1.0.0.6)
    • BURelyFoundation_Global/APM (1.0.0.6)
    • BURelyFoundation_Global/Foundation (1.0.0.6):
      • BURelyFoundation_Global/NETWork
    • BURelyFoundation_Global/Gecko (1.0.0.6):
      • BURelyFoundation_Global/Foundation
    • BURelyFoundation_Global/Header (1.0.0.6)
    • BURelyFoundation_Global/NETWork (1.0.0.6):
      • BURelyFoundation_Global/AFNetworking
    • BURelyFoundation_Global/Pangle (1.0.0.6):
      • BURelyFoundation_Global/AFNetworking
      • BURelyFoundation_Global/APM
      • BURelyFoundation_Global/Foundation
      • BURelyFoundation_Global/Gecko
      • BURelyFoundation_Global/Header
      • BURelyFoundation_Global/NETWork
      • BURelyFoundation_Global/SDWebImage
      • BURelyFoundation_Global/YYModel
      • BURelyFoundation_Global/ZFPlayer
      • BURelyFoundation_Global/Zip
    • BURelyFoundation_Global/SDWebImage (1.0.0.6):
      • BURelyFoundation_Global/Foundation
    • BURelyFoundation_Global/YYModel (1.0.0.6)
    • BURelyFoundation_Global/ZFPlayer (1.0.0.6):
      • BURelyFoundation_Global/Foundation
      • BURelyFoundation_Global/Zip
    • BURelyFoundation_Global/Zip (1.0.0.6):
      • BURelyFoundation_Global/Foundation

To Reproduce | 如何复现

暂无, 线上收集

Screenshots | 截图

If applicable, add screenshots to help explain your problem. | 如果有必要,请在这里粘贴问题相关的截图。

Backtrace | 相关堆栈

Please paste the backtrace related to the Bug. | 如果可以的话,请在这里粘贴问题相关的堆栈信息(已符号化、可读)。
Crashed: com.apple.main-thread
0 libsystem_platform.dylib 0x2a6c _platform_memmove + 76
1 ImageIO 0x212ef0 GIFBufferInfo::GIFBufferInfo(unsigned char*, bool, unsigned int, unsigned int, unsigned int) + 116
2 ImageIO 0x221d8c std::__1::__shared_ptr_emplace<GIFBufferInfo, std::__1::allocator >::__shared_ptr_emplace[abi:ue170006]<unsigned char*&, bool, unsigned int&, unsigned int&, unsigned int>(std::__1::allocator, unsigned char*&, bool&&, unsigned int&, unsigned int&, unsigned int&&) + 76
3 ImageIO 0x221d0c std::__1::shared_ptr std::__1::allocate_shared[abi:ue170006]<GIFBufferInfo, std::__1::allocator, unsigned char*&, bool, unsigned int&, unsigned int&, unsigned int, void>(std::__1::allocator const&, unsigned char*&, bool&&, unsigned int&, unsigned int&, unsigned int&&) + 88
4 ImageIO 0x221650 GIFReadPlugin::copyImageBlockSet(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 808
5 ImageIO 0x221b1c GIFReadPlugin::decodeImageImp(IIODecodeParameter*, IIOImageType, __IOSurface**, __CVBuffer**, CGImageBlockSet**) + 492
6 ImageIO 0x2d15c IIOReadPlugin::callDecodeImage(IIODecodeParameter*, IIOImageType, __IOSurface**, __CVBuffer**, CGImageBlockSet**) + 824
7 ImageIO 0x22930 IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 688
8 ImageIO 0x22598 IIOImageProviderInfo::copyImageBlockSetWithOptions(CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 740
9 ImageIO 0x221cc IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 796
10 QuartzCore 0x6d4a8 CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 2836
11 QuartzCore 0x15852c -[CAKeyframeAnimation _setCARenderAnimation:layer:] + 488
12 QuartzCore 0x4deb4 -[CAKeyframeAnimation _copyRenderAnimationForLayer:] + 180
13 QuartzCore 0x4c840 CA::Layer::commit_animations(CA::Transaction*, double ()(CA::Layer, double, void*), void ()(CA::Layer, CA::Render::Animation*, void*), void ()(CA::Layer, __CFString const*, void*), CA::Render::TimingList* ()(CA::Layer, void*), void*) + 796
14 QuartzCore 0x48c20 invocation function for block in CA::Context::commit_transaction(CA::Transaction*, double, double*) + 148
15 QuartzCore 0x48b28 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 368
16 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
17 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
18 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
19 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
20 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
21 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
22 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
23 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
24 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
25 QuartzCore 0x48ab4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252
26 QuartzCore 0xdc9d4 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 11212
27 QuartzCore 0x4eee0 CA::Transaction::commit() + 648
28 UIKitCore 0xb6a2a4 ___UIUpdateCycleNotifyIdle_block_invoke + 1040
29 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32
30 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
31 libdispatch.dylib 0x125a4 _dispatch_main_queue_drain + 988
32 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF + 44
33 CoreFoundation 0x56710 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
34 CoreFoundation 0x53914 __CFRunLoopRun + 1996
35 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608
36 GraphicsServices 0x11a8 GSEventRunModal + 164
37 UIKitCore 0x40aae8 -[UIApplication _run] + 888
38 UIKitCore 0x4bed98 UIApplicationMain + 340
39 AmongChat 0x9944 main + 12 (main.swift:12)
40 ??? 0x1c563f154 (Missing)

Additional context | 附言

Add any other context about the problem here. | 请留下你认为可以帮助解决这个问题的任何信息。
可以参考看看SDWebImage/SDWebImage#3515
不清楚你们依赖的SDWebImage代码是哪个版本的, 希望可以更新到相对较新的版本, 我会持续观察crash情况

@lixiang1994 lixiang1994 added the bug Something isn't working label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant