2017-12-6

作者: yght | 来源:发表于2017-12-06 13:33 被阅读13次

    昨天没写,有点怠懈了,还是都该把有价值的东西记录下来哈

    1.今天遇到一个AsyncDisplayKit的崩溃问题

    Fatal Exception: NSRangeException

    0  CoreFoundation                0x185fe5d04 __exceptionPreprocess

    1  libobjc.A.dylib                0x185234528 objc_exception_throw

    2  CoreFoundation                0x185fe5c4c -[NSException initWithCoder:]

    3  Foundation                    0x186934038 -[_NSDispatchData getBytes:range:]

    4  PINRemoteImage                0x102da6c84 +[PINAnimatedImage imageAtIndex:inMemoryMap:width:height:bitsPerPixel:bitmapInfo:] (PINAnimatedImage.m:178)

    5  PINRemoteImage                0x102da80c8 __36-[PINSharedAnimatedImage coverImage]_block_invoke (PINAnimatedImage.m:449)

    6  PINRemoteImage                0x102dbf408 -[PINRemoteLock lockWithBlock:] (PINRemoteLock.m:83)

    7  PINRemoteImage                0x102da7f28 -[PINSharedAnimatedImage coverImage] (PINAnimatedImage.m:461)

    8  PINRemoteImage                0x102da91d8 __78-[PINAnimatedImageManager animatedPathForImageData:infoCompletion:completion:]_block_invoke (PINAnimatedImageManager.m:134)

    9  libdispatch.dylib              0x185969088 _dispatch_call_block_and_release

    10 libdispatch.dylib              0x185969048 _dispatch_client_callout

    11 libdispatch.dylib              0x185970090 _dispatch_queue_override_invoke$VARIANT$mp

    12 libdispatch.dylib              0x1859761c8 _dispatch_root_queue_drain

    13 libdispatch.dylib              0x185975f10 _dispatch_worker_thread3

    14 libsystem_pthread.dylib        0x185c0f120 _pthread_wqthread

    15 libsystem_pthread.dylib        0x185c0ec20 start_wqthread

    由于能够稳定重现,所以最后通过Try-Catch解决了这一问题。

    相关文章

      网友评论

          本文标题:2017-12-6

          本文链接:https://www.haomeiwen.com/subject/tinqixtx.html