From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman 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 16:47:40 +0100 Message-ID: <87jzpmxdnn.fsf@gmx.net> 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: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40044"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66068@debbugs.gnu.org, Eli Zaretskii , rdiaz02@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 10 16:49:18 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 1rCM3S-000ABt-8Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Dec 2023 16:49:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCM2z-0005Ie-HN; Sun, 10 Dec 2023 10:48:49 -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 1rCM2y-0005I3-JU for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:48: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 1rCM2y-0004tw-Ao for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:48:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCM3C-00055C-7R for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2023 10:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Dec 2023 15:49: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.170222329019230 (code B ref 66068); Sun, 10 Dec 2023 15:49:02 +0000 Original-Received: (at 66068) by debbugs.gnu.org; 10 Dec 2023 15:48:10 +0000 Original-Received: from localhost ([127.0.0.1]:51645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCM2M-000502-6P for submit@debbugs.gnu.org; Sun, 10 Dec 2023 10:48:10 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:49171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCM2G-0004z7-H7 for 66068@debbugs.gnu.org; Sun, 10 Dec 2023 10:48:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1702223261; x=1702828061; i=stephen.berman@gmx.net; bh=pG1a0WhTYg9CK36hejPJjc8yZpODTcXiyEOARFztXtA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=SQ/nVGywxEbKgmQUkjrg2CoICea8k7E3XX8ZzcbZFq5KWWDsE2pqtxI31ukmQYYZ BiMWp55DY8QfM3kO6OO4f7SkvoPbwi4ith/xifiGpGtnuI8RwqA4i3XCCScn0s+Vy IeiPa+JWe36xIt4ma/GQu8qU1FxW+A3v1kYGfWCI3ZTlcB+MevSB2nKd7UGpaMOVO ucNXfQSTH9OyVOH11+zQIPoS+WoPX4NjlZTZJrlR+SrNIjFk39GC8QiKkbsHasvrH pFGBLwHcKkB3vcnorLNnelEzgVqaTpOt+CZ9wMqc5hgJnNDIPE4Rb8W3KA5c4s0rs HdgD287RlzW5m9zvjQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs2 ([94.134.196.126]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MIdeX-1qxnAm08P7-00EZxh; Sun, 10 Dec 2023 16:47:41 +0100 In-Reply-To: (Po Lu's message of "Sun, 10 Dec 2023 23:28:30 +0800") X-Provags-ID: V03:K1:dH/mUupi9q1VFIbJA6BoeYi1QyjSN+8eO3Jv8j5W9esvpKWzqu8 pww+wSQnqds73HbV60RDMS18WajnqYaUk/6nKW5tJQCAKpSUxMyQAyq4OxcoRNOAFTsWgxu ww2JsCM6AtR0zdWltfqsbdGlEIWqBvCJz0OxM8652owwi2N66h/CC9vP6DBrtYodZZ7MPgP P2OmQ2i20WGaJnH+OQUJA== UI-OutboundReport: notjunk:1;M01:P0:Bv96agAYu7o=;bNgue3ZmNuTxeu6pgZX9n02QD2C iOtJ1+GNvWKGGN6YCU4nbYkz7iVBwmrRL7apqA/VgiEe3S70XFioYkD2bGPbKgMnpYumGDaxg /1TRUKaAgkWNgTFcXLCylg8F/KTdnNbzwxuYt88b/NyVEFGs7dZUrx4ns+cO0pCiF5D+IOFlL EGe1HiXAYGY4Vu+qPUkiqQvSNt+nJ8/GrX9DVME8ZiPX7GCXheEZaiGpNzgC8v5//onPgzRwX 1pm7ECZKhhWYrd4CvQ2CrblBNWQ8nUgGfigxgW2u97wTyzDgXbmxntFs0BuLLZ9PX7qBytBJt BTmoE6l3vd6X8vJBenqCUr0VS/WyA++2unhWVK8dNdF2kwTwFJwTidowVnyrleNT9I8I20hfv MaEcNAuR8x/J6QdVMQIq0GjFM0pg7WhePnXHQdtE8TJpiAeChk8ZSB4JRLCi5pTF/D+3eqOGm CJ1wynZIQzOvLTwY5bIJca+DnpqRGPYspJltb5MiG2tiTCgllYAvHhVDSJ5CcJpQtU8bR/J2Q 2Wiui4KxYoxUCYMpAwXq025cfOxMwfwvnhwV6ZP5O26M/49xVspUh72zSvHpi+ALjRjikBTw9 I4hJMMI0FfflxvqS8VJBWAy1QMJoNuQL7Xf2FLrjYp/1v3ur5Z7GDqW7lPPEzddXYvh7729+x 56n6cIMgESHrrCDPatYWr7in1O7Gx5mdxLIstRMRT/R96K+x3zqxt4BnltqFNrRRl8uZFOgRA VWcAaUwBP3MmGKQvhOK6dTr9Jd2PSJ1GDeISU/2cngw37BII2BNdtx0C1CiO81dxTZ8jKFU2 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:275930 Archived-At: On Sun, 10 Dec 2023 23:28:30 +0800 Po Lu wrote: > 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. Nothing to merge, it was this very bug: https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-09/msg02680.html > 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? But again, xwidget-webkit-browse-url does work with -q -xrm "emacs.synchronous: true" but only when running emacs under gdb. So if someone can figure out why and how, I'd think it must be possible to get it to work when running emacs by itself. Steve Berman