Igalia / meta-webkit

Yocto / OpenEmbedded layer for WebKit based engines and browsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Early WebProcess exit on 32-bit platforms since memory limit is zero

psaavedra opened this issue · comments

Describe the bug

Backport this patch from upstream: WebKit/WebKit@b0895ea

In 250548@main, the memory limit in MemoryPressureHandler is set to a
least 7 GB for active process.
This value is stored in a size_t variable, but this is limited to 4 GB
on 32-bit platforms.

The memory limit is truncated down to 0, which triggers a WebProcess
exit after the first MemoryPressure check.

To Reproduce

Not needed

Expected behavior

not needed

Screenshots

not needed

Environment (please complete the following information):

  • yocto release: any
  • hardware target: 32bits

Additional context
none

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stale for 7 days with no activity.

This issue was closed because it has been stale for 7 days with no activity.