I'm going to quote Tim, who's successfully using 64k pages on ppc64:
"I assume being a 16k page system it's aarch64, which means there is likely less RAM than this ppc64el machine, and the tab crash described sounds like v8 or similar running out of memory. The flag passed also seems to reinforce that hypothesis. I'd need to dig into the allocator to see what that does, since it might also be good to pass on ppc64el if it doesn't compromise sandboxing or similar -- on ppc64el what I do see from time to time is that a single tab will "crash" with v8 OOM (errorcode -5) on certain Javascript-heavy pages, and it could be the same underlying problem."
Chromium's generally not very good with non-4k page sizes; we're carrying an allocator patch that we had to add due to hitting asserts() for 64k pages. Sadly, both the bug report and screenshot are locked down (thanks google 🙄), so I can't see why they made that decommit-pooled-pages change.
On 12/10/24 09:03, Ard Biesheuvel wrote:
Package: chromium Version: 131.0.6778.108-1 Severity: important X-Debbugs-Cc: [email protected] Dear Maintainer, Chromium does not work at all on systems with 16k pages. This commit appears to be the culprit https://chromium-review.googlesource.com/c/v8/v8/+/5864909 Given that only 16k pagesize systems are affected, this can be worked around for arm64 by applying the following diff to /usr/bin/chromium, without affecting other users. @@ -64,6 +64,11 @@ exit 1 fi ;; + aarch64) + if [ $(getconf PAGESIZE) -gt 4096 ]; then + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --js-flags=--no-decommit-pooled-pages" + fi + ;; esac# Clean up old crash reports (see https://bugs.debian.org/1015931)-- System Information: Debian Release: trixie/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: arm64 (aarch64) Foreign Architectures: armhf Kernel: Linux 6.12.4-16k+ (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages chromium depends on: ii chromium-common 131.0.6778.108-1 ii libasound2t64 1.2.12-1+b1 ii libatk-bridge2.0-0t64 2.54.0-1 ii libatk1.0-0t64 2.54.0-1 ii libatspi2.0-0t64 2.54.0-1 ii libc++1-19 1:19.1.4-1 ii libc++abi1-19 1:19.1.4-1 ii libc6 2.40-4 ii libcairo2 1.18.2-2 ii libcups2t64 2.4.10-2 ii libdav1d7 1.5.0-1+b1 ii libdbus-1-3 1.15.90-1 ii libdouble-conversion3 3.3.0-1+b2 ii libdrm2 2.4.123-1 ii libevent-2.1-7t64 2.1.12-stable-10+b1 ii libexpat1 2.6.4-1 ii libflac12t64 1.4.3+ds-2.1+b1 ii libfontconfig1 2.15.0-1.1+b1 ii libfreetype6 2.13.3+dfsg-1 ii libgbm1 24.2.8-1 ii libgcc-s1 14.2.0-8 ii libglib2.0-0t64 2.82.2-3 ii libgtk-3-0t64 3.24.43-4 ii libharfbuzz-subset0 10.0.1-1 ii libharfbuzz0b 10.0.1-1 ii libjpeg62-turbo 1:2.1.5-3+b1 ii liblcms2-2 2.16-2 ii libminizip1t64 1:1.3.dfsg+really1.3.1-1+b1 ii libnspr4 2:4.36-1 ii libnss3 2:3.106-1 ii libopenh264-7 2.5.0+dfsg-1 ii libopenjp2-7 2.5.0-2+b4 ii libopus0 1.5.2-2 ii libpango-1.0-0 1.55.0+ds-3 ii libpng16-16t64 1.6.44-2 ii libpulse0 16.1+dfsg1-5.1+b1 ii libtiff6 4.5.1+git230720-5 ii libudev1 257~rc3-1 ii libunwind-19 1:19.1.4-1 ii libx11-6 2:1.8.10-2 ii libxcb1 1.17.0-2+b1 ii libxcomposite1 1:0.4.6-1 ii libxdamage1 1:1.1.6-1+b2 ii libxext6 2:1.3.4-1+b2 ii libxfixes3 1:6.0.0-2+b2 ii libxkbcommon0 1.6.0-1+b2 ii libxml2 2.12.7+dfsg+really2.9.14-0.2+b1 ii libxnvctrl0 535.171.04-1+b1 ii libxrandr2 2:1.5.4-1+b1 ii libxslt1.1 1.1.35-1.1+b1 ii libzstd1 1.5.6+dfsg-1+b1 ii xdg-desktop-portal-gnome [xdg-desktop-port 47.1-2 al-backend] ii xdg-desktop-portal-gtk [xdg-desktop-portal 1.15.1-1+b2 -backend] ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1 Versions of packages chromium recommends: pn chromium-sandbox <none> Versions of packages chromium suggests: pn chromium-driver <none> pn chromium-l10n <none> pn chromium-shell <none> Versions of packages chromium-common depends on: ii libc++1-19 1:19.1.4-1 ii libc++abi1-19 1:19.1.4-1 ii libc6 2.40-4 ii libdrm2 2.4.123-1 ii libunwind-19 1:19.1.4-1 ii libx11-6 2:1.8.10-2 ii libxcb1 1.17.0-2+b1 ii libxnvctrl0 535.171.04-1+b1 ii x11-utils 7.7+7 ii xdg-utils 1.2.1-2 ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1 Versions of packages chromium-common recommends: pn chromium-sandbox <none> ii fonts-liberation 1:2.1.5-3 ii gnome-shell [notification-daemon] 47.2-1 ii libgl1-mesa-dri 24.2.8-1 ii system-config-printer 1.5.18-3 ii udev 257~rc3-1 ii upower 1.90.6-2 chromium-dbgsym depends on no packages. -- Configuration Files: /etc/chromium.d/apikeys changed [not included] -- no debconf information
OpenPGP_signature.asc
Description: OpenPGP digital signature

