{"action":"created","issue":{"url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/522","repository_url":"https://api.github.com/repos/jdg/MBProgressHUD","labels_url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/522/comments","events_url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/522/events","html_url":"https://github.com/jdg/MBProgressHUD/issues/522","id":293545014,"number":522,"title":"Getting crashes with the constraints used in MBProgressHUD","user":{"login":"SrinivasG","id":1043651,"avatar_url":"https://avatars1.githubusercontent.com/u/1043651?v=4","gravatar_id":"","url":"https://api.github.com/users/SrinivasG","html_url":"https://github.com/SrinivasG","followers_url":"https://api.github.com/users/SrinivasG/followers","following_url":"https://api.github.com/users/SrinivasG/following{/other_user}","gists_url":"https://api.github.com/users/SrinivasG/gists{/gist_id}","starred_url":"https://api.github.com/users/SrinivasG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrinivasG/subscriptions","organizations_url":"https://api.github.com/users/SrinivasG/orgs","repos_url":"https://api.github.com/users/SrinivasG/repos","events_url":"https://api.github.com/users/SrinivasG/events{/privacy}","received_events_url":"https://api.github.com/users/SrinivasG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-01T14:13:56Z","updated_at":"2018-02-05T06:01:35Z","closed_at":null,"author_association":"NONE","body":"We are receiving too many crashes from the users in Fabric with constraints used in MBProgressHUD. Here is the stacktrace received in Fabric:\r\n\r\nFatal Exception: NSInvalidArgumentException\r\n0 CoreFoundation 0x185311d04 __exceptionPreprocess\r\n1 libobjc.A.dylib 0x184560528 objc_exception_throw\r\n2 Foundation 0x185e22ec8 +[NSIBPrototypingLayoutConstraint classFallbacksForKeyedArchiver]\r\n3 Foundation 0x185c4bc54 -[NSLayoutConstraintParser finishConstraint]\r\n4 Foundation 0x185c4aa20 -[NSLayoutConstraintParser parse]\r\n5 Foundation 0x185c4a5c4 +[NSLayoutConstraintParser constraintsWithVisualFormat:options:metrics:views:]\r\n6 MyApp 0x100672c64 __34-[MBProgressHUD updateConstraints]_block_invoke (MBProgressHUD.m:658)\r\n7 CoreFoundation 0x1851eb988 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]\r\n8 MyApp 0x100672a48 -[MBProgressHUD updateConstraints] (MBProgressHUD.m:675)\r\n9 UIKit 0x18f246bb0 -[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:]\r\n10 UIKit 0x18f247078 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]\r\n11 UIKit 0x18f246f50 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]\r\n12 Foundation 0x185c4359c -[NSISEngine withBehaviors:performModifications:]\r\n13 UIKit 0x18f247810 __100-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invoke\r\n14 UIKit 0x18f2463fc -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:]\r\n15 UIKit 0x18f24742c -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]\r\n16 UIKit 0x18f23e770 -[UIWindow(UIConstraintBasedLayout) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]\r\n17 UIKit 0x18f248458 -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:]\r\n18 UIKit 0x18ea28f5c -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine]\r\n19 UIKit 0x18e746304 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]\r\n20 QuartzCore 0x1892ffec8 -[CALayer layoutSublayers]\r\n21 QuartzCore 0x189303fa8 CA::Layer::layout_if_needed(CA::Transaction*)\r\n22 QuartzCore 0x189272a98 CA::Context::commit_transaction(CA::Transaction*)\r\n23 QuartzCore 0x189298eb4 CA::Transaction::commit()\r\n24 QuartzCore 0x189299cf4 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)\r\n25 CoreFoundation 0x1852b9848 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION\r\n26 CoreFoundation 0x1852b7200 __CFRunLoopDoObservers\r\n27 CoreFoundation 0x1852b77bc __CFRunLoopRun\r\n28 CoreFoundation 0x1851d7fb8 CFRunLoopRunSpecific\r\n29 GraphicsServices 0x18706ff84 GSEventRunModal\r\n30 UIKit 0x18e7ac2f4 UIApplicationMain\r\n31 MyApp 0x1004b3404 main (main.m:14)\r\n32 libdyld.dylib 0x184cfa56c start\r\n\r\nCan anyone suggest a fix for the above?"},"comment":{"url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/comments/362989543","html_url":"https://github.com/jdg/MBProgressHUD/issues/522#issuecomment-362989543","issue_url":"https://api.github.com/repos/jdg/MBProgressHUD/issues/522","id":362989543,"user":{"login":"YamunaChebolu","id":24652828,"avatar_url":"https://avatars1.githubusercontent.com/u/24652828?v=4","gravatar_id":"","url":"https://api.github.com/users/YamunaChebolu","html_url":"https://github.com/YamunaChebolu","followers_url":"https://api.github.com/users/YamunaChebolu/followers","following_url":"https://api.github.com/users/YamunaChebolu/following{/other_user}","gists_url":"https://api.github.com/users/YamunaChebolu/gists{/gist_id}","starred_url":"https://api.github.com/users/YamunaChebolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YamunaChebolu/subscriptions","organizations_url":"https://api.github.com/users/YamunaChebolu/orgs","repos_url":"https://api.github.com/users/YamunaChebolu/repos","events_url":"https://api.github.com/users/YamunaChebolu/events{/privacy}","received_events_url":"https://api.github.com/users/YamunaChebolu/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T06:01:35Z","updated_at":"2018-02-05T06:01:35Z","author_association":"NONE","body":"@matej Can you please suggest is there any way to fix this issue?"}}
{"actor":{"display_login":"YamunaChebolu"}}