Skip to content

Crash in SDGraphicsImageRenderer on iOS 17 OS #3862

@Lakshay-22699

Description

@Lakshay-22699

Hi Team,

We are facing a crash affecting our app specifically for iOS 17 users (98% users). The crash occurs during image rendering operations performed asynchronously.

We have tried updating the package version as well from 5.10.0 to 5.21.5 but still facing same crash.

Stack Trace:

Crashed: NSOperationQueue 0x12acace40 (QOS: DEFAULT)
0  CoreFoundation                                        0x6bd4 <redacted> + 76
1  CoreFoundation                                        0x12280 CFRetain + 64
2  CoreGraphics                                          0x14bb8 CGGStateSetFillColor + 68
3  CoreGraphics                                          0x1072d0 <redacted> + 320
4  CoreGraphics                                          0x5b5f4 CGContextBeginTransparencyLayerWithRect + 148
5  CoreGraphics                                          0x3f2d30 CGContextBeginTransparencyLayer + 200
6  CoreSVG                                               0x13708 <redacted> + 508
7  CoreSVG                                               0x134d8 <redacted> + 100
8  CoreSVG                                               0x11df8 <redacted> + 92
9  CoreSVG                                               0x11d00 <redacted> + 72
10 CoreSVG                                               0x11d24 <redacted> + 108
11 CoreSVG                                               0x11d24 <redacted> + 108
12 CoreSVG                                               0x11cac <redacted> + 28
13 CoreSVG                                               0x11c80 CGSVGNodeEnumerate + 112
14 CoreSVG                                               0x11b20 CGContextDrawSVGNodeWithOptions + 712
15 UIKitCore                                             0xd7534 <redacted> + 324
16 UIKitCore                                             0xd73c8 <redacted> + 92
17 UIKitCore                                             0xd72f4 <redacted> + 184
18 UIKitCore                                             0x8679ec <redacted> + 192
19 UIKitCore                                             0x6d8a4 <redacted> + 60
20 UIKitCore                                             0x6fa98 <redacted> + 60
21 UIKitCore                                             0x6d7d0 <redacted> + 76
22 UIKitCore                                             0x6d764 <redacted> + 24
23 UIKitCore                                             0xd77dc <redacted> + 408
24 UIKitCore                                             0xd7534 <redacted> + 324
25 UIKitCore                                             0xd73c8 <redacted> + 92
26 UIKitCore                                             0xd72f4 <redacted> + 184
27 SDWebImage_-382901E92613C85E_PackageProduct           0xe6c4 -[SDGraphicsImageRenderer imageWithActions:] + 228 (SDGraphicsImageRenderer.m:228)
28 SDWebImageSVGCoder_2879FF4C31328487_PackageProduct    0x48b4 -[SDImageSVGCoder createVectorSVGWithData:] + 195 (SDImageSVGCoder.m:195)
29 SDWebImageSVGCoder_2879FF4C31328487_PackageProduct    0x45ec -[SDImageSVGCoder decodedImageWithData:options:] + 117 (SDImageSVGCoder.m:117)
30 SDWebImage_-382901E92613C85E_PackageProduct           0x16c00 -[SDImageCodersManager decodedImageWithData:options:] + 111 (SDImageCodersManager.m:111)
31 SDWebImage_-382901E92613C85E_PackageProduct           0x1a284 SDImageLoaderDecodeImageData + 82 (SDImageLoader.m:82)
32 SDWebImage_-382901E92613C85E_PackageProduct           0x22a74 __70-[SDWebImageDownloaderOperation URLSession:task:didCompleteWithError:]_block_invoke.44 + 467 (SDWebImageDownloaderOperation.m:467)
33 Foundation                                            0x470e8 <redacted> + 24
34 Foundation                                            0x7856c <redacted> + 104
35 Foundation                                            0x75df4 <redacted> + 16
36 Foundation                                            0x74ee4 <redacted> + 648
37 Foundation                                            0x779fc <redacted> + 16
38 Foundation                                            0x77768 <redacted> + 172
39 libdispatch.dylib                                     0x13250 <redacted> + 148
40 libdispatch.dylib                                     0x4300 <redacted> + 20
41 libdispatch.dylib                                     0x77b8 <redacted> + 600
42 libdispatch.dylib                                     0x6dd4 <redacted> + 584
43 libdispatch.dylib                                     0x15be4 <redacted> + 392
44 libdispatch.dylib                                     0x163ec <redacted> + 156
45 libsystem_pthread.dylib                               0x1928 _pthread_wqthread + 228
46 libsystem_pthread.dylib                               0x1a04 start_wqthread + 8

Affected OS :
iOS 17 - 98%
iOS 16 - 1%

Affected Devices : All iPhone Devices
Device States: Foreground, Background

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions