unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Peter Oliver <p.d.oliver@mavit.org.uk>, Po Lu <luangruo@yahoo.com>
Cc: 66068@debbugs.gnu.org
Subject: bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort
Date: Sat, 07 Sep 2024 12:32:02 +0300	[thread overview]
Message-ID: <86r09vyfl9.fsf@gnu.org> (raw)
In-Reply-To: <db43220e-d1b1-b1d0-a3b6-002c988bf52f@mavit.org.uk> (message from Peter Oliver on Wed, 4 Sep 2024 12:23:28 +0100 (BST))

> Date: Wed, 4 Sep 2024 12:23:28 +0100 (BST)
> From: Peter Oliver <p.d.oliver@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?
> 
> From 262ea1bb8c47f703819f2df4d920a1f15f2c35b9 Mon Sep 17 00:00:00 2001
> From: Peter Oliver <git@mavit.org.uk>
> Date: Wed, 4 Sep 2024 12:12:50 +0100
> Subject: [PATCH] Disable xwidgets with recent webkitgtk versions (Bug#66068)
> 
> * 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 objections to this patch?





  parent reply	other threads:[~2024-09-07  9:32 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18 10:06 bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort Stephen Berman
2023-09-18 11:16 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 12:16   ` Stephen Berman
2023-09-18 14:11     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 15:08       ` Stephen Berman
2023-09-20  3:22         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-24 15:12           ` Stephen Berman
2023-09-25  0:30             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-25  8:47               ` Stephen Berman
2023-09-25  9:25                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-25 10:22                   ` Stephen Berman
2023-09-30 10:03                     ` Stephen Berman
2023-09-30 11:52                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-30 12:09                         ` Stephen Berman
2023-09-18 11:28 ` Eli Zaretskii
2023-09-18 12:17   ` Stephen Berman
2023-12-07 10:28 ` Ramon Diaz-Uriarte
2023-12-09 15:12   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 20:39     ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10  5:32       ` Eli Zaretskii
2023-12-10 13:36         ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 15:02           ` Eli Zaretskii
2023-12-10 15:28             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 15:47               ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11  0:43                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11  9:55                   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11 10:16                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 15:49               ` Eli Zaretskii
2023-12-11 21:03           ` Ramon Diaz-Uriarte
2024-09-04 11:23 ` Peter Oliver
2024-09-05  8:14   ` Eli Zaretskii
2024-09-07  9:32   ` Eli Zaretskii [this message]
2024-09-14  7:45     ` Eli Zaretskii
2024-09-14 12:11       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-14 14:21         ` Stefan Kangas
2024-09-21  9:01         ` Eli Zaretskii
2024-09-21 21:45 ` bug#66068: removing the WebKit when webkit2gtk3-2.42.5-1.el9.x86_64 will not alllow RL9 to configure Doug Maxey
2024-09-22  5:05   ` Eli Zaretskii
     [not found]     ` <db88e0b43b02580ee78171c3b0d55bcda6b2a458.camel@maxeygroup.tech>
2024-09-23 11:14       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r09vyfl9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66068@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=p.d.oliver@mavit.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).