-
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
WPiOS Crashed When Adding Media to a Story Post #18550
Comments
👋 @SiobhyB! Can you try to reproduce this report? Thanks! |
@hypest, absolutely, I spent a bit of time testing and was able to reproduce what the user described pretty consistently. I tested on a free (and simple) WP.com site using the latest version of the app (20.1). I was able to reproduce the crash after adding 10+ images to a story and then attempting to publish the new story post. Something interesting to note is that I replicated the crash both by attempting to upload 10+ new images to the site directly from the device and, separately, by selecting 10+ existing images from the site's media library. It seems to be the amount of images that are added to the story that's causing the crash, not the process of uploading new images to the site. I wonder, therefore, if the media upload errors from the user's report may be a red herring, as I'm not seeing similar in my logs. From this issue, I also understand that Sentry's I've attached the logs I'm seeing when reproducing this in Xcode, in case they point to anything useful. Xcode logs
|
I think you're on to something @SiobhyB! After selecting items and pressing the "Next" button, memory usage appears to scale linearly by a factor of how many were selected. If memory consumption exceeds what's allowed, the OS terminates the app. |
👋 Just wanted to chime in that I have a fix and am trying to figure out the best way to incorporate the changes since they will be in the Kanvas library. |
A user reported that when they add media to a Story post, it "blacks out and kicks me out of the app".
I found the following error in the app logs:
2022-05-07 19:26:50:197 🔵 Tracked: media_service_upload_failed <default_tab_experiment: nonexistent, error_code: 3, error_description: Error Domain=WordPressKit.WordPressComRestApiError Code=3 "Unable to create directory wp-content. Is its parent directory writable by the server?"
I also found a Sentry report with the following error:
User/device details
Ticket link: 5198098-zen
App version: 19.7
Device model: iPhone 13 mini (iPhone14,4)
OS version: iOS 15.4.1
Type of site (Simple, Atomic, Jetpack, or self-hosted): Simple
The text was updated successfully, but these errors were encountered: