From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63589: [PATCH] 29.0.91; crash after creating graphical frames via emacsclient when compiled with cairo-xcb Date: Sun, 21 May 2023 20:42:25 +0300 Message-ID: <83bkidr37i.fsf@gnu.org> References: <871qj9246a.fsf@yahoo.com> <83o7mdrc3y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39800"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 63589@debbugs.gnu.org To: Thiago Melo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 21 19:57:55 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 1q0nJb-000AAz-9F for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 19:57:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0nJK-0005cy-Fi; Sun, 21 May 2023 13:57:38 -0400 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 1q0nJI-0005cJ-UN for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 13:57:36 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0nJI-0005cM-MN for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 13:57:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0n5B-0003Xh-TX for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 13:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 May 2023 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63589 X-GNU-PR-Package: emacs Original-Received: via spool by 63589-submit@debbugs.gnu.org id=B63589.168469093413555 (code B ref 63589); Sun, 21 May 2023 17:43:01 +0000 Original-Received: (at 63589) by debbugs.gnu.org; 21 May 2023 17:42:14 +0000 Original-Received: from localhost ([127.0.0.1]:32814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0n4P-0003WZ-Kb for submit@debbugs.gnu.org; Sun, 21 May 2023 13:42:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0n4N-0003WM-Nj for 63589@debbugs.gnu.org; Sun, 21 May 2023 13:42:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0n4H-0000xT-VQ; Sun, 21 May 2023 13:42:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xmbRJE6Cf+f6CFNoRHr+vpeDAZntO+EIdPXLA2lgjLQ=; b=jbVvBM10PKP3 n7rwD/UCu4YOEPREMoH8gHFoegpEBGdpdzizQ1oklLVMy/c2c5e2vBnI/XmyvP/MmYH8pM6Nw/kBF 1SLI7zAHaZ+23Ibu26UROCtpsje3GT7gTsU1RAvZJJKcSJcjVkH4GhR9xfhHpXM+l7CqwTlNdNE5K tFi4KhcVp+7ysgpdtBLmaDIen/8AwCHx4sRBA4Nkz4mZlgyCqCLlJU9XCykjJjAN2d/ww59tGdOnL dObMokzV3zUz6jiVWoWVME9jhU+dCgykJuv3v7Q/dqBDFPK7zu1P1mO92zIm5Mj4k1zbwNQdeHx+h Q2AQeCf79FcQnn9n+LWU9g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0n4H-0007Vc-ED; Sun, 21 May 2023 13:42:05 -0400 In-Reply-To: (message from Thiago Melo on Sun, 21 May 2023 16:10:35 +0000) 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:262115 Archived-At: > From: Thiago Melo > Date: Sun, 21 May 2023 16:10:35 +0000 > Cc: Po Lu , 63589@debbugs.gnu.org > > > What I would like to understand is how come this didn't happen until > > now? The Cairo build is the default since Emacs 28, is it not? > > This is not just about cairo, but about cairo with xcb surfaces. It > was introduced in commit de614ec9, which is part of emacs 29. If I > understood well, previously, emacs + cairo used the xlib device only. Which means we must fix this in Emacs 29.1. If the right fix is too unsafe for that, perhaps the alternative is to make the xcb surfaces support be off by default, unless Emacs is explicitly configured to use it.