GNU bug report logs -
#66068
30.0.50; xwidget-webkit-browse-url makes Emacs abort
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Mon, 18 Sep 2023 10:08:01 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #95 received at 66068 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 4 Sep 2024 12:23:28 +0100 (BST)
> From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
>
> If my understanding of this bug is correct, newer versions of WebKitGTK reliably crash Emacs, and no-one has been in touch with the WebKitGTK developers, so there are no plans to fix that.
>
> If that’s the case, how about this attached patch to disable this feature with problematic versions of the library?
> * configure.ac: Accept only webkit2gtk-4.* versions less than 2.41.92.
> ---
> configure.ac | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 28361be4211..1d0ea314f6a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4511,10 +4511,11 @@ AC_DEFUN
> if test "$with_xwidgets" != "no"; then
> if test "$USE_GTK_TOOLKIT" = "GTK3" && test "$window_system" != "none"; then
> WEBKIT_REQUIRED=2.12
> - WEBKIT_MODULES="webkit2gtk-4.1 >= $WEBKIT_REQUIRED"
> + WEBKIT_BROKEN=2.41.92
> + WEBKIT_MODULES="webkit2gtk-4.1 >= $WEBKIT_REQUIRED webkit2gtk-4.1 < $WEBKIT_BROKEN"
> EMACS_CHECK_MODULES([WEBKIT], [$WEBKIT_MODULES])
> if test "$HAVE_WEBKIT" = "no"; then
> - WEBKIT_MODULES="webkit2gtk-4.0 >= $WEBKIT_REQUIRED"
> + WEBKIT_MODULES="webkit2gtk-4.0 >= $WEBKIT_REQUIRED webkit2gtk-4.0 < $WEBKIT_BROKEN"
> EMACS_CHECK_MODULES([WEBKIT], [$WEBKIT_MODULES])
> fi
> HAVE_XWIDGETS=$HAVE_WEBKIT
> --
> 2.46.0
>
Po Lu, any comments to the patch?
This bug report was last modified 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.