Crash when trying to add or edit bookmark on Apple iPad Air 2, iPadOS 14.2
1) Existing sync chain with Windows 10 PC and Android phone. (Donât know if both devices are needed)
2) Install brave 1.21 as new installation.
3) Add iPad to the sync chain.
Removing sync from the iPad makes no change.
Removing sync from the iPad and deleting all bookmarks makes (edit remove: above work.)
(edit add: it possible to add a bookmark and edit it)
Actual result:
Crash
Expected result:
Be able to add or edit bookmark.
Reproduces how often: [Easily reproduced, Intermittent Issue]
Easy (for me)
Brave Version:
Device details:
Website problems only:
Some additional info:
Creating a new sync chain doesnât solve it.
PC and Android versions are the latest released.
Brave version is installed from App Store (no developer account).
I wrote âcrashâ, from user point itâs hanging.
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD,
Triggered by Thread: 0
Thanks for the detailed ticket, does the crash happen no matter what website you add bookmarks?
Do you use english language on your device?
Well, there are a lot of websites to try out, but I havenât found one that works. Bookmarking a simple google search does it.
Editing is the same no matter desktop or mobile bookmarks. Local favourites seems to work.
The iPad has Danish language, but defaults to English for Brave. I have tried Norsk (Norwegian) for Brave and Danish for the iPad and English for the iPad and Brave, but it doesnât make a difference.
When I first discovered the problem it was an update from 1.20.
Not sure if it matters, but
Do you remember if you got any popup about 'Bookmark migration'? Either when you joined a sync chan or at first launch after upgrading to 1.21 @parsd51
Iâm not sure, but I donât remember having seen any popup with âBookmark migrationâ.
I have tried starting a whole new sync chain with PC as âmasterâ and no bookmarks on android phone or iPad.
Did you have any bookmarks added to iOS before you enabled sync?
No iPad Brave bookmarks before sync.
After this step
Removing sync from the iPad and deleting all bookmarks makes above work.
does it work for you finally, or did it work only for first bookmark you added, then started to fail again?
thanks you for providing us details, it really helps
I think I only tried adding one bookmark and edited it and saw it working on the iPad with no sync.
After that I tried with a whole new sync chain with PC as âmasterâ and no bookmarks on android phone or iPad and it didnât solve it.
PC sync is set to only sync bookmarks.
Disabling Brave shields for the website to add bookmark for, doesnât help.
Can't repro the crash on iPhone/iPad
I have tried to narrow it down. Here is what I did and found out.
I left the Android out and it was the same problem.
I have been copying bookmark files and then tried export/import. Same problem.
So I tried editing my bookmarks. I have around 1400.
I discovered it worked with few bookmarks, then I tried with depth of path and more bookmarks.
Here I saw a little lack when trying to edit or add, so I tried with all bookmarks and patience - and it works, but it takes a lot of time:
Adding or editing a bookmark: 50 seconds for the UI to show up.
On Android snapdragon 675 itâs instantly.
When editing a bookmark, it takes long time to save.
When adding a bookmark, I press save, save is grayed out and after a long time
I have a couple of those Client.cpu_resource:
ï»ż{"app_name":"Client","timestamp":"2020-11-13 17:35:16.00 +0100","app_version":"1.21","slice_uuid":"FE1B7815-DFFE-3F41-BA75-560ED071DD2F","adam_id":1052879175,"build_version":"20.11.10.16","bundleID":"com.brave.ios.browser","share_with_app_devs":0,"is_first_party":0,"bug_type":"202","os_version":"iPhone OS 14.2 (18B92)","incident_id":"20455A94-BED7-4E9D-9446-DE0C705CF06D","name":"Client"}
Date/Time: 2020-11-13 17:33:46.399 +0100
End time: 2020-11-13 17:35:16.627 +0100
OS Version: iPhone OS 14.2 (Build 18B92)
Architecture: arm64
Report Version: 32
Incident Identifier: 20455A94-BED7-4E9D-9446-DE0C705CF06D
Data Source: Microstackshots
Shared Cache: 1DF3AC0F-6F2E-3BC1-A063-E0E4BB55929C slid base address 0x199ba0000, slide 0x19ba0000
Command: Client
Path: /private/var/containers/Bundle/Application/B9FF7DE2-9BBB-4BE7-A2CC-95B83D8681CF/Client.app/Client
Identifier: com.brave.ios.browser
Version: 1.21 (20.11.10.16)
Adam ID: 1052879175
Is First Party: No
Beta Identifier: 2F5DF8E0-7068-4750-B581-7F70A2F6C700
Parent: UNKNOWN [1]
PID: 10203
Event: cpu usage
Action taken: none
CPU: 90 seconds cpu time over 90 seconds (100% cpu average), exceeding limit of 50% cpu over 180 seconds
CPU limit: 90s
Limit duration: 180s
CPU used: 90s
CPU duration: 90s
Duration: 90.23s
Duration Sampled: 84.66s
Steps: 40
Hardware model: iPad5,4
Active cpus: 3
@parsd51 thanks for all your help, i sent you a small BAT tip for your effort
Looks like this is a performance problem on our end for users with many bookmarks, we are now going to recreate 'big bookmarks' stack scenario and debug it
Thanks, and thank you for your fast action and interest.
I have bookmarks, with a mix of long name, long url and with
ICON="data:image/png;base64......
I hope you can replicate it, else donât hesitate to return.
We localized the issue, it is a performance problem when user has many nested folders.
The more folders you have the longer UI freezes for
In general it seems to happen only for users with hundreds of bookmarks, we are working on a fix
Test file with a lot of bookmarks:
Bookmarks_debug.html.zip
Test plan:
Preparation, this can be done once for all tests,
make sure each test you perform has this large amount of bookmarks imported:
Bookmarks screen:
Add bookmark screen:
Edit bookmark screen:
I have discovered a few, to me, minor things. I donât know if they are fixed already, so I will not file them separately:
Verification passed on iPhone 7+ with iOS 14.2 running 1.22(20.11.20.16)
Verification passed on iPhone XR with iOS 13.5 running 1.22(20.11.20.16)
Verification passed on iPad Pro with iOS 12.4.1 running 1.22(20.11.20.16)