-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSRangeException: Aztec.TextStorage attributedSubstringFromRange:: Out of bounds #12626
Comments
7-day impact: 29 (new crash) https://sentry.io/share/issue/94e42b8dcb934785a6c2d37238fcb1d2/ |
22-day impact: ~7 per day https://sentry.io/share/issue/94e42b8dcb934785a6c2d37238fcb1d2/ |
@koke is it reasonable to assume this one is due to not having enough memory free on the device? I looked through several of the crashes and many had <100MB free and some had as much as 290MB free. |
I don't think it's related to memory. Looking at the crash I see:
The only change in 13.2.3.1 that seems relevant is #12548 (cc @SergioEstevao) I've been messing around selecting things and trying to drag text around in the editor but I haven't been able to reproduce. However that code in #12548 is modifying the current selection in the text view. So it might be that memory pressure has something to do with it. In my testing, if I try to drag and drop a link when the editor doesn't have the focus, the code that brings the focus runs before the link appears draggable, but if the device is being slow, I could imagine the dragging UI appearing first, and while the user is dragging the link the @SergioEstevao I don't fully understand the implementation in #12548. If I implement the delegate method but just |
That works for version for iOS 13.1 and above but not on 13.0 I can add a platform check just to make sure we only run it on 13.0, like we did for Gutenberg mobile:
|
Gotcha, I remember 13.0 was related somehow, but I missed the connection. Currently 13.0 usage is around 1% and dropping. I think I would be ok with the buggy behavior on 13.0 if it gets us out of the crash |
Sentry Issue: WORDPRESS-IOS-5QA
Events in the last 90 days: 2,900 |
I searched Sentry for Note that there are still crashes happening for the same error on 14.3.0.3 on iOS 13.3.1 though. |
Sentry Issue: WORDPRESS-IOS-5QA |
Events in the last 90d: 3,500 |
Events in the last 90d: 4,000 Note: seems to be happening less and less often in the latest releases. |
Events in the last 90d: 642 |
Events in the last 90d: 522 |
Events in the last 90d: 4,400 40% reduction in users affected compared to the last time we checked, and this issue has been open for over 14 months and it's labeled as low priority. @jkmassel is it okay to close this issue? |
Noting that this might affect block editor users despite Aztec being in the name.
Started a thread on Slack: p1712607058564289-slack-C012H19SZQ8 |
I can confirm that this is also occurring in the block editor @guarani (it uses Aztec components). One commonality I'm seeing with the crashes is Arabic encodings in the content. |
Thanks for reporting! 👍 |
Sentry Issue: WORDPRESS-IOS-5QA |
Sentry Issue: JETPACK-IOS-BN |
Sentry Issue: WORDPRESS-IOS-1W6P
This one seems like it could be due to the device just not having enough memory🤔
The text was updated successfully, but these errors were encountered: