Open YamunaChebolu opened 6 years ago
Any one, can you please suggest is there any way to fix this issue?
Looks like you're updating the UI on a background thread.
Also - this is a bug tracker, not a support forum. Something like this would be more appropriate to ask on a site like Stackoverflow.
MBProgressHUD.m line 476 -[MBProgressHUD updateIndicators]
Crashed: NSOperationQueue 0x1702361c0 :: NSOperation 0x174253cb0 (QOS: DEFAULT) EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 -[MBProgressHUD updateIndicators]
Crashed: NSOperationQueue 0x1702361c0 :: NSOperation 0x174253cb0 (QOS: DEFAULT) 0 CoreFoundation 0x18eb0bf2c -[NSSetM dealloc] + 72 1 Foundation 0x18f622370 -[NSConcreteMapTable assign:key:value:isNew:] + 204 2 Foundation 0x18f622250 -[NSConcreteMapTable setObject:forKey:] + 104 3 Foundation 0x18f6698e0 -[NSISEngine rowCrossIndexNoteBodyVariable:wasAddedToRowWithHead:] + 124 4 Foundation 0x18f821b9c 128-[NSISObjectiveLinearExpression replaceVariable:withExpression:processVariableNewToReceiver:processVariableDroppedFromReceiver:]_block_invoke + 364 5 Foundation 0x18f6689cc -[NSISLinearExpression enumerateVariablesAndCoefficients:] + 116 6 Foundation 0x18f66bb68 -[NSISObjectiveLinearExpression replaceVariable:withExpression:processVariableNewToReceiver:processVariableDroppedFromReceiver:] + 348 7 Foundation 0x18f6695e8 -[NSISEngine substituteOutAllOccurencesOfBodyVar:withExpression:] + 636 8 Foundation 0x18f66c19c -[NSISEngine pivotToMakeBodyVar:newHeadOfRowWithHead:andDropRow:] + 360 9 Foundation 0x18f670c30 -[NSISEngine removeConstraintWithMarker:] + 780 10 Foundation 0x18f670770 -[NSLayoutConstraint _removeFromEngine:] + 240 11 UIKit 0x194e56018 -[UIView(UIConstraintBasedLayout) _layoutEngine_willRemoveLayoutConstraint:] + 108 12 UIKit 0x1956ae6e0 -[UIView(UIConstraintBasedLayout) nsli_removeConstraint:] + 96 13 UIKit 0x194d51b1c _UIViewRemoveConstraintsMadeDanglyByChangingSuperview + 744 14 UIKit 0x194d514e0 45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 68 15 Foundation 0x18f665abc -[NSISEngine withBehaviors:performModifications:] + 168 16 UIKit 0x194d513b0 -[UIView(Hierarchy) _postMovedFromSuperview:] + 816 17 UIKit 0x19504aed0 UIViewWasRemovedFromSuperview + 172 18 UIKit 0x194d50434 -[UIView(Hierarchy) removeFromSuperview] + 512 19 testApp 0x1002958cc -[MBProgressHUD updateIndicators] (MBProgressHUD.m:476) 20 testApp 0x100234974 54-sampleMethod_block_invoke.927 (sampleClass.m:1552) 21 testApp 0x1000cee80 -[AFURLSessionManagerTaskDelegate observeValueForKeyPath:ofObject:change:context:] (AFURLSessionManager.m:179) 22 Foundation 0x18f630d08 NSKeyValueNotifyObserver + 304 23 Foundation 0x18f630830 NSKeyValueDidChange + 404 24 Foundation 0x18f61b790 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120 25 CoreFoundation 0x18eb19e34 53-[NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 132 26 CoreFoundation 0x18eb19d30 -[NSArrayM enumerateObjectsWithOptions:usingBlock:] + 312 27 Foundation 0x18f83b1bc -[NSProgress _setValueForKeys:settingBlock:] + 596 28 Foundation 0x18f83b938 -[NSProgress setCompletedUnitCount:] + 124 29 testApp 0x1000cfcec -[AFURLSessionManagerTaskDelegate URLSession:dataTask:didReceiveData:] (AFURLSessionManager.m:260) 30 testApp 0x1000d4688 -[AFURLSessionManager URLSession:dataTask:didReceiveData:] (AFURLSessionManager.m:1104) 31 CFNetwork 0x18f404a20 67-[NSURLSession delegate_dataTask:didReceiveData:completionHandler:]_block_invoke.242 + 36 32 Foundation 0x18f6fa854 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16 33 Foundation 0x18f63f7b0 -[NSBlockOperation main] + 96 34 Foundation 0x18f62fb68 -[__NSOperationInternal _start:] + 612 35 Foundation 0x18f6fcbf0 NSOQSchedule_f + 228 36 libdispatch.dylib 0x18dae29a0 _dispatch_client_callout + 16 37 libdispatch.dylib 0x18daf0ad4 _dispatch_queue_serial_drain + 928 38 libdispatch.dylib 0x18dae62cc _dispatch_queue_invoke + 884 39 libdispatch.dylib 0x18daf2a50 _dispatch_root_queue_drain + 540 40 libdispatch.dylib 0x18daf27d0 _dispatch_worker_thread3 + 124 41 libsystem_pthread.dylib 0x18dceb100 _pthread_wqthread + 1096 42 libsystem_pthread.dylib 0x18dceacac start_wqthread + 4