From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort Date: Sun, 10 Dec 2023 23:28:30 +0800 Message-ID: References: <87v89a2ss0.fsf@gmail.com> <877clnz9z0.fsf@gmx.net> <87y1e36rfw.fsf@gmx.net> <83lea2wrkf.fsf@gnu.org> <87o7eyxjqu.fsf@gmx.net> <83v896ummp.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30461"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66068@debbugs.gnu.org, rdiaz02@gmail.com, Stephen Berman To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 10 16:30:09 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rCLkt-0007pU-MP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Dec 2023 16:30:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCLkd-00014l-03; Sun, 10 Dec 2023 10:29:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCLka-00014Z-UD for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:29:48 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCLka-0006B8-Ly for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:29:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCLko-0001rZ-IE for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Dec 2023 15:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66068 X-GNU-PR-Package: emacs Original-Received: via spool by 66068-submit@debbugs.gnu.org id=B66068.17022221837106 (code B ref 66068); Sun, 10 Dec 2023 15:30:02 +0000 Original-Received: (at 66068) by debbugs.gnu.org; 10 Dec 2023 15:29:43 +0000 Original-Received: from localhost ([127.0.0.1]:51630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCLkU-0001qY-Lo for submit@debbugs.gnu.org; Sun, 10 Dec 2023 10:29:42 -0500 Original-Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:42292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCLkQ-0001qD-Bv for 66068@debbugs.gnu.org; Sun, 10 Dec 2023 10:29:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702222158; bh=uiXfKc1kd9Oe0ygr8sP0pN3fl7PWRFZ4aGRXCsbdK+Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=tippEs1S1rXPrEgPo9callmz1BAj9pOaMyCTjt1aEg0Wy02irp+TyRWXSRf9ehtCqOSE+5t6ADgf1JJ4Y4CCdK/B6Il+94eN3w1d0BrNb1Xk86+Oy0OggTyEC4rErYansCDrkOPXtU8o3oWrTIhOjIpfTFbUj77z/FoiKrWC2EsU3CKMQ4kyws1fjNyVgQbYhtQloSqQtX7jRU5yxMKVLYhW6LrixXrNBhB6cO7JhpkmpLVMw01hu/9eOrCYWSL/RezRYb6ledT7PYWBTIuV8nn0n+dgCBHPYKOH0t5tcbeoDWgfl1becerdpxDPFY2rWMZt+9yrQmoeRvQIFQuCyg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702222158; bh=3hZgf3zBBIdiVb+2UKs7NTMoGQpNFNqmVHV9y2lpHL2=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Qi9viM7zsvaOnwZluRWy2Xq2UTu5pek61FVoFk4jSZ/eyTQtozSwVDGfVAHe46DtsVesgXtQudqHd5gV5ELStP4malJx65esCAVyiOH2YnY/nmVLrgM82SsQ+ofVU8lHaSrCQ+X/8tw4b9tISvj4Do8YnyeyUHX/cIoItICtoLZwkC+eRtjDugM9+2oVf44pE4rn6igYylUwAPtJCiLxinMVGRDSb9wjhIqm+wEO0HmLFkzSerPvvzxePDF+jXc9VbrfQQfPlwx+dYuXKQ5XBJrNdkN+1DrTM2hbAD2gzsUz4le57t6ukiLV5q4RvTv9SA1Gn1TWOcqHKdZerjgkoQ== X-YMail-OSG: wP2y.lQVM1kXsiDHLj.ezrmJLSqKadv60vmIYGTTUvGU7Us0AwIVlNAW_PoqZed xPQe5Utlyb3ngGBVYv3GfrttO1zNTbbkHGagIds4ICpGbXylL4K1eUvoCu22fFonM4pw.QRVr_kf iGMlTj2.hFcmSpT7J_HS9T3ZVqIpdjPk68Oy__baa6_aNvHamvo3ltA70b1XRV0Wsr0x.RY_rfo6 7UCBuSQ.PRYhec75E4_Uiuc65yJ8meOUsTsJzDFJJqSqIUdxecJ0a7DW11kEIieuUNyI5dvgOzno MdNZPe9nZUnjjgXt.3bhRQS0EUm_d4TTghmVnHeZWE9yAumGRjtRtcCHTdCD4he2eQTfYV6fDpFU 7mxsRmb.xI_5HkOAzCiTlk2AIGS.fgya16_b8DZ0r0IPA2F857.T1dkRVaSWF9W3KvL895Rz0A5U eDeNAxO_CBOlMUZeOmv_xrG3x2IAPZ7JOEuj6YZwdl_HQXz4lnQvRn21L27a6n42Xbq59tO88Py7 tK7wcQZaWocq2IUA312ZrqoHuHjHCnT4Iq3tOKHwe_d0HmF20vHzV2VK53l2PfELeSZNB0Ot7I0W Z25CxI71JuKogSJjG6A.f69YoPwa7sSwvH5ayKAGtTAo1tuL2rSSMuCWDbF0ogLRHYk4Ljto_zT6 eFfP.uY0ZoAOfY9Q2blWDfy3nNSqacev7Nf7f0wpY7_Ll1wBhtWqYiq7T6WPxJqvxs5TMbkJMfyd tRryb6Ut_ferowlN8r.O2aJ_qYyG1feWNd9_Zz.Joaj5sY6sPUZ4_0ocIK7AXkr51SRMid.HlAoT 4Zs_P0xyMe7gTvWBnqxL9oIZkBl3Ysf0KNQjauRiKk X-Sonic-MF: X-Sonic-ID: 63113c9a-4c43-4fc0-8f0b-19af67392b9d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 10 Dec 2023 15:29:18 +0000 Original-Received: by hermes--production-sg3-f6b777bf6-99wb2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 63009b1ea42295985e83e3081680e0f5; Sun, 10 Dec 2023 15:29:14 +0000 (UTC) In-Reply-To: <83v896ummp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Dec 2023 17:02:06 +0200") X-Mailer: WebService/1.1.21943 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275929 Archived-At: Eli Zaretskii writes: > The backtrace seems to say that there was some X error: > > X protocol error: GLXBadWindow on protocol request 151 > Serial no: 4286 > Failing resource ID (if any): 0x3c001c5 > Minor code: 32 > > I guess we now need to understand what window triggered the "bad > window" error and why? I've commented on precisely the same bug in the past; if someone can unearth that bug number, this bug ought to be merged with it. It boils down to how the WebKitGTK developers have elected to cease supporting off-screen windows, by presuming that every window holding a WebView widget is an X server window eligible for an OpenGL context. Emacs requires placing these widgets within offscreen windows managed by GTK, for each xwidget might be displayed in multiple distinct windows, and its contents must be captured and reproduced within all of them if that be the case. To put this another way, WebKitGTK doesn't support displaying a single widget more than once anymore. There is another library designed for such use-cases as that of Emacs, based on the same WebKit library as WebKitGTK, by the name of WPE. The solution to this bug, in my estimation, is rewriting xwidgets for that library... any volunteers? BTW, please pardon my belated response to this bug. Time remains scarce for me.