[iOS] Do not allow simultaneous sign-in operations.
The SignOut operation with Chrome data clearing does not have the proper conditionals in place to ensure that a subsequent operation cannot occur while sign-out is in progress. We suspect this causes a crash on sign-out / sign-in to switch accounts since the navigation controller that AccountsTableViewController attempts to perform an operation on may no longer exist. https://crash.corp.google.com/browse?q=product_name%3D%27Chrome_iOS%27+AND+expanded_custom_data.ChromeCrashProto.channel%3D%27%27+AND+expanded_custom_data.ChromeCrashProto.magic_signature_1.name%3D%27%5BHang%5Dweb%3A%3AWebSubThread%3A%3AIOThreadRun%27+AND+%28EXISTS+%28SELECT+1+FROM+UNNEST%28productdata%29+WHERE+key%3D%27breadcrumbs0%27%29+OR+EXISTS+%28SELECT+1+FROM+UNNEST%28productdata%29+WHERE+key%3D%27breadcrumbs%27%29%29&stbtiq=&reportid=&index=0 Bug: 1108310 Change-Id: I66d1852d1071d7acea243005bfabc7797af14dd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2408754Reviewed-by:Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Nohemi Fernandez <fernandex@chromium.org> Cr-Commit-Position: refs/heads/master@{#806613}
Showing
Please register or sign in to comment