suchen

Heim  >  Fragen und Antworten  >  Hauptteil

ios - 请教SDImageCache的崩溃问题

0 libsystem_kernel.dylib 0x000000019429f270 __pthread_kill + 8
1 libsystem_c.dylib 0x0000000194216b18 abort + 104
2 libsystem_malloc.dylib 0x00000001942da3e4 __nano_malloc_check_clear
3 libsystem_malloc.dylib 0x00000001942da550 __nano_malloc_check_clear + 364
4 libsystem_malloc.dylib 0x00000001942d9064 _nano_malloc + 44
5 libsystem_malloc.dylib 0x00000001942c93e4 malloc_zone_malloc + 112
6 libsystem_malloc.dylib 0x00000001942cda04 malloc + 52
7 CoreGraphics 0x000000018204a2c0 x_list_prepend + 28
8 CoreGraphics 0x000000018204b530 CGColorTransformConvertColorComponents + 596
9 ImageIO 0x00000001830b8744 _ImageIOConvertCGColorToColorComponents + 160
10 ImageIO 0x000000018306ab9c _CGImagePixelDataProviderCreate + 344
11 ImageIO 0x0000000183094ef0 _CGImagePixelDataProviderCreateConforming + 1776
12 ImageIO 0x00000001830695bc CGImageDestinationAddImage + 4096
13 UIKit 0x0000000186b40694 _UIImageJPEGRepresentation + 656
14 xxxx 0x000000010016910c __72-[SDImageCache storeImage:recalculateFromImage:imageData:forKey:toDisk:]_block_invoke (SDImageCache.m:237)
15 libdispatch.dylib 0x0000000194159994 __dispatch_call_block_and_release + 24
16 libdispatch.dylib 0x0000000194159954 __dispatch_client_callout + 16
17 libdispatch.dylib 0x00000001941640a4 __dispatch_queue_drain + 1448
18 libdispatch.dylib 0x000000019415ca5c __dispatch_queue_invoke + 132
19 libdispatch.dylib 0x0000000194166318 __dispatch_root_queue_drain + 720
20 libdispatch.dylib 0x0000000194167c4c __dispatch_worker_thread3 + 108
21 libsystem_pthread.dylib 0x000000019433922c _pthread_wqthread + 804
1 libsystem_pthread.dylib 0x0000000194338ef0 start_wqthread + 4

其中 237行的具体代码是
data = UIImageJPEGRepresentation(image, (CGFloat)1.0);

请问有人遇到过相同的问题吗 或者能够看出原因 我看了很久都没有看出来

迷茫迷茫2771 Tage vor597

Antworte allen(1)Ich werde antworten

  • 迷茫

    迷茫2017-04-17 17:52:41

    你好,能提供图片的地址吗?很可能是图片的格式问题

    Antwort
    0
  • StornierenAntwort