We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
we develop a POS application which uses Alamofire as a networking lib
Sometime when display product image( network image) the ipad crashed with log
Last Exception Backtrace: 0 CoreFoundation 0x1b360296c __exceptionPreprocess + 224 (NSException.m:199) 1 libobjc.A.dylib 0x1b331b028 objc_exception_throw + 60 (objc-exception.mm:565) 2 CoreFoundation 0x1b3661a8c _CFRaiseMemoryException + 52 (NSException.m:869) 3 CoreFoundation 0x1b3659a44 __CFReallocationFailed + 128 (CFBase.c:777) 4 CoreFoundation 0x1b351b880 __CFSafelyReallocate + 72 (CFBase.c:788) 5 CoreFoundation 0x1b353d9c8 __CFDataGrow + 320 (CFData.c:607) 6 CoreFoundation 0x1b353d7d4 CFDataSetLength + 156 (CFData.c:637) 7 CoreGraphics 0x1ba5aa924 CGDataProviderCopyData + 236 (CGDataProviderData.c:470) 8 AlamofireImage 0x10332e86c specialized AlamofireExtension.inflate() + 176 (UIImage+AlamofireImage.swift:113) 9 AlamofireImage 0x103334480 ImageResponseSerializer.serializeImage(from:) + 360 (Request+AlamofireImage.swift:120) 10 AlamofireImage 0x1033341ac ImageResponseSerializer.serialize(request:response:data:error:) + 252 (Request+AlamofireImage.swift:105) 11 AlamofireImage 0x10333480c protocol witness for DataResponseSerializerProtocol.serialize(request:response:data:error:) in conformance ImageResponseSerializer + 24 (:0) 12 Alamofire 0x102c023bc closure #1 in closure #1 in DataRequest.response(queue:responseSerializer:completionHandler:) + 736 (ResponseSerialization.swift:219) 13 Alamofire 0x102c01478 closure #1 in DataRequest.response(queue:responseSerializer:completionHandler:) + 528 (ResponseSerialization.swift:218) 14 Alamofire 0x102c6dd78 thunk for @escaping @callee_guaranteed () -> () + 4 (:0) 15 Alamofire 0x102c6dd78 partial apply for thunk for @escaping @callee_guaranteed () -> () + 20 16 Alamofire 0x102c9cecc thunk for @escaping @callee_guaranteed () -> (@out ()) + 4 (:0) 17 Alamofire 0x102c9cecc partial apply for thunk for @escaping @callee_guaranteed () -> (@out ()) + 20 18 Alamofire 0x102c9ceac closure #3 in Request.processNextResponseSerializer() + 4 (Request.swift:598) 19 Alamofire 0x102c9ceac partial apply for closure #3 in Request.processNextResponseSerializer() + 20 (:0) 20 Alamofire 0x102c556b4 thunk for @escaping @callee_guaranteed () -> () + 20 (:0) 21 libdispatch.dylib 0x1b32a6b7c _dispatch_call_block_and_release + 32 (init.c:1408) 22 libdispatch.dylib 0x1b32a7fd8 _dispatch_client_callout + 20 (object.m:495) 23 libdispatch.dylib 0x1b32ae450 _dispatch_lane_serial_drain + 568 (inline_internal.h:2484) 24 libdispatch.dylib 0x1b32aeeb4 _dispatch_lane_invoke + 424 (inline_internal.h:1851) 25 libdispatch.dylib 0x1b32ae320 _dispatch_lane_serial_drain + 264 (inline_internal.h:2525) 26 libdispatch.dylib 0x1b32aee7c _dispatch_lane_invoke + 368 (inline_internal.h:1851) 27 libdispatch.dylib 0x1b32b7f20 _dispatch_workloop_worker_thread + 580 (queue.c:6445) 28 libsystem_pthread.dylib 0x1b330d6d0 _pthread_wqthread + 280 (pthread.c:2351) 29 libsystem_pthread.dylib 0x1b33139e8 start_wqthread + 8
Alamofire version: 5.4.3 Xcode version: 12.4 Swift version: 5.2 Platform(s) running AlamofireImage: 4.1.0 macOS version running Xcode: 11.6
Date/Time: 2021-12-17 11:13:44.4552 +0900 Launch Time: 2021-12-17 10:08:46.5867 +0900 OS Version: iPhone OS 13.3 (17C54) Release Type: User Baseband Version: 2.03.07 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 6
Date/Time: 2021-12-17 11:13:44.4552 +0900 Launch Time: 2021-12-17 10:08:46.5867 +0900 OS Version: iPhone OS 13.3 (17C54) Release Type: User Baseband Version: 2.03.07 Report Version: 104
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 6
The text was updated successfully, but these errors were encountered:
This is likely an inflation out of memory crash, which can be worked around by disabling the automatic inflation as suggested in #332 (comment).
Sorry, something went wrong.
No branches or pull requests
What did you do?
we develop a POS application which uses Alamofire as a networking lib
What did you expect to happen?
Sometime when display product image( network image) the ipad crashed with log
Alamofire Environment
Alamofire version: 5.4.3
Xcode version: 12.4
Swift version: 5.2
Platform(s) running AlamofireImage: 4.1.0
macOS version running Xcode: 11.6
App environment
The text was updated successfully, but these errors were encountered: