Open nimisharanipabacancy opened 2 years ago
I have added this library in flutter app. It is properly working in android. Sometime in ios, pdf not slide properly and app get crashed. I am attaching crash log here.
Fatal Exception: NSMallocException Failed to grow buffer Fatal Exception: NSMallocException 0 CoreFoundation 0x990fc __exceptionPreprocess 1 libobjc.A.dylib 0x15d64 objc_exception_throw 2 CoreFoundation 0x1a6b24 -[NSInvocation _initWithMethodSignature:frame:buffer:size:].cold.1 3 CoreFoundation 0x19ee10 __CFReallocationFailed 4 CoreFoundation 0x3333c __CFSafelyReallocate 5 CoreFoundation 0xbe024 __CFDataGrow 6 CoreFoundation 0x21f34 CFDataSetLength 7 CoreGraphics 0x201c90 CGDataProviderCopyPixelData 8 CoreGraphics 0x2909e8 CGDataProviderCreateWithSoftMaskAndMatte 9 CoreGraphics 0xaf698 img_image 10 CoreGraphics 0x5a020 CGSImageDataLock 11 CoreGraphics 0x28330 ripc_AcquireRIPImageData 12 CoreGraphics 0x47ddc ripc_DrawImage 13 CoreGraphics 0x195f0 CGContextDrawImageWithOptions 14 CoreGraphics 0x16ddfc CGPDFDrawingContextDrawImage 15 CoreGraphics 0xb7cd4 op_Do 16 CoreGraphics 0xc13f4 pdf_scanner_handle_xname 17 CoreGraphics 0x6b2f0 CGPDFScannerScan 18 CoreGraphics 0xd5070 CGContextDrawPDFPageWithDrawingCallbacks 19 CoreGraphics 0x63d9c CGContextDrawPDFPage 20 advance_pdf_viewer 0x6d28 (Missing UUID 21c014acc9b33ac68b67598a737423ae) 21 advance_pdf_viewer 0x65d0 (Missing UUID 21c014acc9b33ac68b67598a737423ae) 22 libdispatch.dylib 0x2924 _dispatch_call_block_and_release 23 libdispatch.dylib 0x4670 _dispatch_client_callout 24 libdispatch.dylib 0x7798 _dispatch_queue_override_invoke 25 libdispatch.dylib 0x15de0 _dispatch_root_queue_drain 26 libdispatch.dylib 0x16608 _dispatch_worker_thread2 27 libsystem_pthread.dylib 0x10b8 _pthread_wqthread 28 libsystem_pthread.dylib 0xe94 start_wqthread Crashed: com.google.firebase.crashlytics.ios.exception 0 FirebaseCrashlytics 0x1f44c FIRCLSProcessRecordAllThreads + 184 1 FirebaseCrashlytics 0x1f82c FIRCLSProcessRecordAllThreads + 1176 2 FirebaseCrashlytics 0x167f0 FIRCLSHandler + 48 3 FirebaseCrashlytics 0x10c78 __FIRCLSExceptionRecord_block_invoke + 92 4 libdispatch.dylib 0x4670 _dispatch_client_callout + 20 5 libdispatch.dylib 0x138c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 FirebaseCrashlytics 0x10414 FIRCLSExceptionRecord + 216 7 FirebaseCrashlytics 0x10720 FIRCLSExceptionRecordNSException + 560 8 FirebaseCrashlytics 0xffec FIRCLSTerminateHandler() + 404 9 libc++abi.dylib 0x12f58 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x12ef4 std::terminate() + 64 11 libobjc.A.dylib 0x2a4d4 objc::DenseMapBase<objc::DenseMap<objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >, objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >::FatalCorruptHashTables(objc::detail::DenseMapPair<objc_class*, PendingInitialize*> const*, unsigned int) const + 14 12 libdispatch.dylib 0x4684 _dispatch_client_callout + 40 13 libdispatch.dylib 0x7798 _dispatch_queue_override_invoke + 792 14 libdispatch.dylib 0x15de0 _dispatch_root_queue_drain + 396 15 libdispatch.dylib 0x16608 _dispatch_worker_thread2 + 164 16 libsystem_pthread.dylib 0x10b8 _pthread_wqthread + 228 17 libsystem_pthread.dylib 0xe94 start_wqthread + 8
I have added this library in flutter app. It is properly working in android. Sometime in ios, pdf not slide properly and app get crashed. I am attaching crash log here.