tristanhimmelman / ObjectMapper

Simple JSON Object mapping written in Swift
MIT License
9.13k stars 1.03k forks source link

Map.subscript(key:nested:delimiter:ignoreNil:). crash #1128

Open 405092901 opened 2 years ago

405092901 commented 2 years ago

it is Crash log

Incident Identifier: 5B9B24FD-FE3F-426C-B245-344F3FABAF12 Hardware Model: iPhone12,5 Process: Xxxxx [1426] Path: /private/var/containers/Bundle/Application/12DF6929-8420-4B09-B5D5-144FC3D27F24/Xxxxx.app/Xxxxx Identifier: XXXX Version: 4.6.0 (3691) AppStoreTools: 13F15 AppVariant: 1:iPhone12,5:15 Code Type: ARM-64 (Native) Role: Non UI Parent Process: launchd [1] Coalition: XXXXX [747]

Date/Time: 2022-05-23 07:03:55.2024 +0530 Launch Time: 2022-05-23 07:03:08.4966 +0530 OS Version: iPhone OS 15.3.1 (19D52) Release Type: User Baseband Version: 3.01.02 Report Version: 104

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-create watchdog transgression: application:1426 exhausted CPU time allowance of 3.81 seconds ProcessVisibility: Background ProcessState: Running WatchdogEvent: scene-create WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 7.850 (user 7.850, system 0.000), 54% CPU", "Elapsed application CPU time (seconds): 4.513, 31% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive>

Triggered by Thread: 0

Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get

Thread 0 name: Thread 0 Crashed: 0 libswiftCore.dylib 0x0000000185f7d0f8 swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata const, swift::TargetProtocolDescriptor const, bool) + 1260 (atomic:0) 1 libswiftCore.dylib 0x0000000185f7cd2c swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata const, swift::TargetProtocolDescriptor const, bool) + 288 (ProtocolConformance.cpp:236) 2 libswiftCore.dylib 0x0000000185f7c8a0 swift_conformsToProtocol + 136 (ProtocolConformance.cpp:1000) 3 libswiftCore.dylib 0x0000000185f40784 tryCast(swift::OpaqueValue, swift::TargetMetadata const, swift::OpaqueValue, swift::TargetMetadata const, swift::TargetMetadata const&, sw... + 2244 (DynamicCast.cpp:2233) 4 libswiftCore.dylib 0x0000000185f404dc tryCast(swift::OpaqueValue, swift::TargetMetadata const, swift::OpaqueValue, swift::TargetMetadata const, swift::TargetMetadata const&, sw... + 1564 (DynamicCast.cpp:0) 5 libswiftCore.dylib 0x0000000185f3fdb4 swift_dynamicCastImpl(swift::OpaqueValue, swift::OpaqueValue, swift::TargetMetadata const, swift::TargetMetadata const, swift::DynamicCastFlags) + 72 (DynamicCast.cpp:2305) 6 Xxxxx 0x0000000108027180 specialized Map.subscript(key:nested:delimiter:ignoreNil:) + 692 (Map.swift:110) 7 Xxxxx 0x00000001080258f4 $s12ObjectMapper3MapC9subscript33_B5D1A970400C81B87B0A9E4C4DDAEFE4LL3key6nested9delimiter9ignoreNilACSS_SbSgSSSbtF + 20 (:0) 8 Xxxxx 0x00000001080258f4 Map.subscript.getter + 28 (Map.swift:65) 9 Xxxxx 0x000000010683e2d0 0x1045c8000 + 36135632 10 Xxxxx 0x000000010683df90 0x1045c8000 + 36134800 11 Xxxxx 0x000000010683e71c 0x1045c8000 + 36136732 12 Xxxxx 0x0000000108029f48 Mapper.map(JSON:) + 644 (Mapper.swift:105) 13 Xxxxx 0x000000010802d4ec $sSDySSypGxSgs5Error_pIggrzo_AaBsAC_pIegnrzo_12ObjectMapper12BaseMappableRzlTR + 8 (:0) 14 Xxxxx 0x000000010802d4ec partial apply for thunk for @callee_guaranteed (@guaranteed [String : Any]) -> (@out A?, @error @owned Error) + 24 15 Xxxxx 0x000000010802db10 thunk for @calleeguaranteed (@guaranteed [String : Any]) -> (@out A?, @error @owned Error)partial apply + 12 16 Xxxxx 0x0000000108029ac4 Dictionary.filterMap(:) + 1936 (Mapper.swift:486) 17 Xxxxx 0x000000010802b360 Mapper.mapDictionary(JSON:) + 132 (Mapper.swift:193) 18 Xxxxx 0x0000000108029028 Mapper.mapDictionary(JSONObject:) + 108 19 Xxxxx 0x000000010801eeac static FromJSON.optionalObjectDictionary(:map:) + 408 (FromJSON.swift:147) 20 Xxxxx 0x000000010802e3fc <- infix(::) + 168 21 Xxxxx 0x000000010683e870 0x1045c8000 + 36137072 22 Xxxxx 0x000000010683e7b8 0x1045c8000 + 36136888 23 Xxxxx 0x000000010683ea4c 0x1045c8000 + 36137548 24 Xxxxx 0x0000000108029f48 Mapper.map(JSON:) + 644 (Mapper.swift:105) 25 Xxxxx 0x0000000108028c0c Mapper.map(JSONObject:) + 116 (Mapper.swift:89) 26 Xxxxx 0x0000000105b72e34 0x1045c8000 + 22720052 27 Xxxxx 0x0000000107b99268 specialized closure #2 in closure #2 in static XxxxxNetwork.request(:callbackQueue:thisProvider:success:error:failure:) + 368 28 Xxxxx 0x0000000107b99a98 partial apply for specialized closure #3 in closure #2 in static XxxxxNetwork.request(_:callbackQueue:thisProvider:success:error:failure:) + 72 29 Xxxxx 0x000000010497d3f4 0x1045c8000 + 3888116 30 libdispatch.dylib 0x0000000180e79924 _dispatch_call_block_and_release + 32 (init.c:1517) 31 libdispatch.dylib 0x0000000180e7b670 _dispatch_client_callout + 20 (object.m:560) 32 libdispatch.dylib 0x0000000180e89b70 _dispatch_main_queue_callback_4CF + 944 (inline_internal.h:2601) 33 CoreFoundation 0x00000001811c1d84 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1795) 34 CoreFoundation 0x000000018117bf5c __CFRunLoopRun + 2540 (CFRunLoop.c:3144) 35 CoreFoundation 0x000000018118f468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 36 GraphicsServices 0x000000019cd3338c GSEventRunModal + 164 (GSEvent.c:2200) 37 UIKitCore 0x0000000183b325d0 -[UIApplication _run] + 1100 (UIApplication.m:3493) 38 UIKitCore 0x00000001838b0f74 UIApplicationMain + 364 (UIApplication.m:5047) 39 Xxxxx 0x00000001047ccd50 0x1045c8000 + 2116944 40 dyld 0x000000010b8d9aa4 start + 520 (dyldMain.cpp:879)