#1108277 libwebkit2gtk-4.1-0: rendering to offscreen window segfaults (regression v. 2.46 -> 2.48)

Package:
libwebkit2gtk-4.1-0
Source:
libwebkit2gtk-4.1-0
Description:
Web content engine library for GTK
Submitter:
test
Date:
2025-09-03 15:23:03 UTC
Severity:
normal
Tags:
#1108277#5
Date:
2025-06-24 17:03:07 UTC
From:
To:
Dear Maintainer,

the update of the package from v. 2.46 to 2.48 includes a regression which
leads to a segfault when rendering a WebKitWebView in an Gtk3 offscreen window
created by calling gtk_offscreen_window_new().  This breaks, inter alia,
printing HTML messages from the MUA Balsa
<https://gitlab.gnome.org/GNOME/balsa>.

See <https://bugs.webkit.org/show_bug.cgi?id=291372> for a detailed discussion.
Please note that the bug affects both Bookworm and Trixie.

The bug has been fixed with commit
<https://github.com/WebKit/WebKit/pull/46494/commits>.  I could apply it (with
line offsets) to 2.48.3 and re-build the package on Trixie, which fixes the
segfault.

#1108277#10
Date:
2025-06-25 11:57:35 UTC
From:
To:
Control: tags -1 fixed-upstream pending

Thanks, this has been fixed in the stable branch upstream and will be
released soon:

https://github.com/WebKit/WebKit/commit/e9ed7cbd66e7be70e3fb4b2fc56567af851feb2f

Berto

#1108277#19
Date:
2025-09-03 15:20:23 UTC
From:
To:
fixed 1108277 2.48.5-1
thanks

I forgot to close this, it was fixed in 2.48.5-1

Berto