Skip to content

fix(x11): crash on first frame when software rendering - #23290

Merged
ramezgerges merged 1 commit into
masterfrom
x11_software_rendering_first_frame_crash
May 21, 2026
Merged

ramezgerges merged 1 commit into
masterfrom
x11_software_rendering_first_frame_crash

Conversation

@ramezgerges

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #23275

PR Type:

What changed? 🚀

PR Checklist ✅

Copilot AI review requested due to automatic review settings May 19, 2026 14:32
@github-actions github-actions Bot added the platform/x11 🐧 Categorizes an issue or PR as relevant to X11 label May 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Fixes an X11 software-rendering crash occurring on the first frame by avoiding dereferencing an uninitialized XImage during flush.

Changes:

  • Guard XPutImage call behind a non-null _xImage check.
  • Pass the validated xImage instance instead of using _xImage!.Value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@ramezgerges
ramezgerges merged commit b3352cd into master May 21, 2026
44 checks passed
@ramezgerges
ramezgerges deleted the x11_software_rendering_first_frame_crash branch May 21, 2026 00:56
@HakanL

HakanL commented Jul 27, 2026

Copy link
Copy Markdown

Can we have this backported to v6.6?

@agneszitte

Copy link
Copy Markdown
Member

@Mergifyio backport release/stable/6.6

@mergify

mergify Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

backport release/stable/6.6

✅ Backports have been created

Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/x11 🐧 Categorizes an issue or PR as relevant to X11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Skia X11] X11SoftwareRenderer.Flush() throws "Nullable object must have a value" on first frame when UpdateSize() has not yet run

7 participants