Skip to content

Importing .wpress backup >2GB crashes Studio with Node fs.read Int32 assertion #4387

Description

@adawongHL

Quick summary

Unable to import a .wpress backup file that's more than 2GB because it crashes the import process

Steps to reproduce

Steps done:

  1. Create a WordPress site in Studio
  2. Select Import
  3. Import a .wpress backup file larger than 2 GB
  4. Wait for the import process

What you expected to happen

Studio should import the .wpress backup successfully or provide a user-facing error explaining that the file size is unsupported.

What actually happened

The import process crashed:

it showed an error involving "[stderr]
Assertion failed: args[3]->IsInt32()"

App or CLI?

Studio App

Version

1.17.0

Impact

One

Available workarounds?

No but the app is still usable

Platform

No response

Architecture

None

Logs or notes

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions