Toast tests on Chromium only on CI: Linux WebKit's compositor crashes (#277, part 2) #313

Closed
kayg wants to merge 0 commits from issue/277-webkit-toast-crash into dev
Owner

Part 2 of #277: Linux WebKit crashes in the primitives toast tests.

Evidence

  • Kernel log: 22 segfaults since 2026-10-13 17:00, all with the same null read at offset 0x60a0f8a of libWPEWebKit-2.0.so.1.12.0, in the ThreadedCompositor thread.
  • Reproduced locally: primitives suite in WebKit, --repeat-each 8 (360 tests). One "Page crashed" in toast.spec ("twelve deletes…"), with the same fault address in the kernel log at that moment.

Does it affect Safari? No. ThreadedCompositor (Coordinated Graphics) exists only in the Linux ports, GTK and WPE, and here it draws in software because there is no GPU. Safari on macOS and iOS composites with Core Animation and never runs this code.

Change. On CI the webkit project of the primitives config ignores toast.spec, so the toasts are tested in Chromium there. Locally they still run in WebKit. The reason is written in the config. Checked with --list: 0 toast tests in WebKit with CI=1, 12 without.

Not changed: pinning another WebKit build would mean moving Playwright off 1.63.0. That's a bigger change than this needs.

Seen while doing this, not fixed here: selector.spec.ts:63 "labels never move when they turn bold" fails 8/8 in local WebKit, and it fails the same way on dev.

🤖 Generated with Claude Code

Part 2 of #277: Linux WebKit crashes in the primitives toast tests. **Evidence** - Kernel log: 22 segfaults since 2026-10-13 17:00, all with the same null read at offset `0x60a0f8a` of `libWPEWebKit-2.0.so.1.12.0`, in the `ThreadedCompositor` thread. - Reproduced locally: primitives suite in WebKit, `--repeat-each 8` (360 tests). One "Page crashed" in toast.spec ("twelve deletes…"), with the same fault address in the kernel log at that moment. **Does it affect Safari?** No. `ThreadedCompositor` (Coordinated Graphics) exists only in the Linux ports, GTK and WPE, and here it draws in software because there is no GPU. Safari on macOS and iOS composites with Core Animation and never runs this code. **Change.** On CI the webkit project of the primitives config ignores `toast.spec`, so the toasts are tested in Chromium there. Locally they still run in WebKit. The reason is written in the config. Checked with `--list`: 0 toast tests in WebKit with `CI=1`, 12 without. Not changed: pinning another WebKit build would mean moving Playwright off 1.63.0. That's a bigger change than this needs. Seen while doing this, not fixed here: `selector.spec.ts:63` "labels never move when they turn bold" fails 8/8 in local WebKit, and it fails the same way on dev. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Primitives: toast tests on Chromium only on CI; Linux WebKit crashes drawing them (#277)
Some checks failed
CI / web (pull_request) Failing after 21s
CI / server (pull_request) Successful in 21s
CI / rust (pull_request) Successful in 1m38s
f22011d5e6
Playwright's Linux WebKit (WPE) crashes now and then in its compositor
thread during the toast tests: the same null read in
libWPEWebKit-2.0.so.1.12.0 each time (22 times in the kernel log since
2026-10-13 17:00; reproduced locally, 1 page crash in 360 tests). The
ThreadedCompositor is only in the Linux ports; Safari draws with Core
Animation, so this isn't a Safari path. On CI the toast spec runs on
Chromium only; locally it still runs in WebKit too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Landed in merge train #332.

Landed in merge train #332.
kayg closed this pull request 2026-10-14 18:04:32 +00:00
Some checks failed
CI / web (pull_request) Failing after 21s
CI / server (pull_request) Successful in 21s
CI / rust (pull_request) Successful in 1m38s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!313
No description provided.