Skip to content

OOM Crash in iOS Safari in the page editor as the pattern picker loads #75019

@adamziel

Description

@adamziel

iOS safari sometimes crashes in the page editor as the pattern picker is loading. I can’t reliably reproduce it in a vanilla WordPress installation, but it happens every now and then. It’s much easier to reproduce in Playground where the memory usage is higher, making me think it’s an OOM error. It’s also consistent with other OOM symptoms I’ve seen in iOS Safari.

Steps to reproduce

  1. In a vanilla WordPress installation, log in as admin and click the "New Page" link.
  2. Wait for the pattern picker to show
  3. Be lucky, witness the crash

Alternatively, reproduce the crash more reliably on https://playground.wordpress.net/ by visiting this link:

https://playground.wordpress.net/#ewogICJsYW5kaW5nUGFnZSI6ICIvd3AtYWRtaW4vcG9zdC1uZXcucGhwP3Bvc3RfdHlwZT1wYWdlIiwKICAibG9naW4iOiB0cnVlLAogICJzdGVwcyI6IFsKICAgIHsKICAgICAgInN0ZXAiOiAiZGVmaW5lV3BDb25maWdDb25zdHMiLAogICAgICAiY29uc3RzIjogewogICAgICAgICJQTEFZR1JPVU5EX0FMTE9XX1BBVFRFUk5fUElDS0VSIjogdHJ1ZQogICAgICB9LAogICAgICAibWV0aG9kIjogImRlZmluZS1iZWZvcmUtcnVuIgogICAgfQogIF0KfQ==

(Note it's not the default Playground. I had to disable that modal by default to Playground from crashing).


Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions