-
Notifications
You must be signed in to change notification settings - Fork 440
brave crashing often when cancelling/retrying under demo.yubico.com/u2f #1388
Comments
@iccub and I tried repro'ing this on iPhone 7, iPad6th Gen, iPhone SE. Not able to repro yet. Waiting for the crash logs from app store connect. |
I can also reproduce this using |
Crash (authentication crash) happens on line 559 of which calls a Yubico function and ends up at (after many calls to other functions) However, Yubico library calls I don't know enough about Yubico yet to figure out what happened but the above should be helpful stack-trace to whoever debugs it. EDIT: Second crash (on registration):
called from:
called from: the same line as the previous crash.. |
This is helpful @Brandon-T , did you repro this with the latest |
There is one more possibility of a crash I'm investigating: brave-ios/Client/U2FExtensions.swift Line 380 in f96dad3
On cancelling the request using the modals, the code is not terminating this execute request. When the user cancels and retries the execute, a new request is added to the queue which causes multiple requests to be queued evenutally causing a crash. I’m not sure what’s the best way to cancel this request when |
How I reproduce the crash like in the video:
I debugged further by setting a breakpoint on the crash address with (lldb) po 0x28240a4c0
{
id = <fa7a5ac1 ... 520278e6>;
type = "public-key";
} The above is a representation of the dictionary that is being compared to a A symbolic breakpoint on |
I experienced a crash once when attempting to authenticate on https://webauthntest.azurewebsites.net/ but haven't reproduced yet. Was using iPad 5th Gen with 1.11.1 (19.08.13.17). |
Moving this into https://github.com/brave/brave-ios/milestone/28 as we won't be fixing it for the |
Reproduced multiple times with |
Verification passed on iPhone XR with iOS 13.1 beta 2 running 1.12(19.09.07.03)
Verification PASSED on
Verification PASSED on
|
Description:
Brave crashes pretty often when cancelling/retrying during the
Registration
&Authentication
process under https://demo.yubico.com/u2f.Steps to Reproduce
It's not 100% but I usually end up crashing Brave by simply clicking on
Cancel
on the modal and retrying 3-4 times in a row. Eventually you'll get a crash.Example: https://youtu.be/bYWIHMlf71c
Actual result:
Expected result:
Brave shouldn't never be crashing when attempting multiple
Cancel
&Retry
actions under demo.yubico.com/u2f.Reproduces how often: [Easily reproduced, Intermittent Issue]
Pretty reproducible, I've received ~10 crashes so far while playing around with
Cancel
&Retry
via demo.yubico.com/u2f.Brave Version:
1.11.1 (19.08.12.19)
from Beta TFDevice details:
iPhone 6s+ iOS 12.4
Website problems only:
N/A
N/A
The text was updated successfully, but these errors were encountered: