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: Thu, 25 May 2023 10:12:59 +0300 Message-ID: <83jzwwnatg.fsf@gnu.org> References: <83wn10ppa1.fsf@gnu.org> <874jo3yjly.fsf@yahoo.com> <837cszp9cc.fsf@gnu.org> <87cz2rw8pz.fsf@yahoo.com> <83y1lfnqwb.fsf@gnu.org> <87y1lfuqyb.fsf@yahoo.com> <83wn0znn7j.fsf@gnu.org> <87lehevaqz.fsf@yahoo.com> <83r0r6o3zk.fsf@gnu.org> <87edn6v2v3.fsf@yahoo.com> <83h6s2ng1p.fsf@gnu.org> <87v8gisz6u.fsf@yahoo.com> <83bki9ohsc.fsf@gnu.org> <87o7m9tga9.fsf@yahoo.com> <83sfblm66s.fsf@gnu.org> <87h6s1t01w.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63589@debbugs.gnu.org, tmdmelo@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 25 09:13:21 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 1q25A1-0002ng-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 May 2023 09:13:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q259j-0005m1-Kr; Thu, 25 May 2023 03:13:03 -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 1q259i-0005lt-AY for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:13:02 -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 1q259i-0005SY-2o for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q259h-0007JF-Te for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:13: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: Thu, 25 May 2023 07:13: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.168499876028067 (code B ref 63589); Thu, 25 May 2023 07:13:01 +0000 Original-Received: (at 63589) by debbugs.gnu.org; 25 May 2023 07:12:40 +0000 Original-Received: from localhost ([127.0.0.1]:45801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q259M-0007Ic-GZ for submit@debbugs.gnu.org; Thu, 25 May 2023 03:12:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q259I-0007IN-7g for 63589@debbugs.gnu.org; Thu, 25 May 2023 03:12:39 -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 1q259C-0005PA-RB; Thu, 25 May 2023 03:12:30 -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=ciZnwvw7jI9c+m0aJM1N3dZF9KHnn13oLAWyrGY7UZM=; b=A/2LbfpDCQmV +qPLe6VR9fmDW5R1Q7CE3UiJjsOAbucA7eqSaq5+9uPVnsg47PkBkHKmY2TIbVIL//Sg0KOgTSclM gsJcwo8eVUYEdkch0KcrcsTNLb9WzccsBUFepYh5jlKTkJdyX6H4FQVMPGNGu2a1vbaV8DFU3cx9R V+3Gim85/s9QTmO8xmgMBmzSgjqiptHkmCqBUNYIrKw676Jyk4DkRzr0cD5Go6TcqBzeZ7yGmlC74 +tvbJShMyyxP4jU+J2VJVXSlN5NU8lGLSyV3mhozyV2dovvm02C5Pnu3MuUdGufEPRdDTTD6LDoSM WiYxi2Wf5BT2LE+/WJL6Hw==; 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 1q259C-0002Gj-CE; Thu, 25 May 2023 03:12:30 -0400 In-Reply-To: <87h6s1t01w.fsf@yahoo.com> (message from Po Lu on Thu, 25 May 2023 14:08:59 +0800) 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:262343 Archived-At: > From: Po Lu > Cc: tmdmelo@gmail.com, 63589@debbugs.gnu.org > Date: Thu, 25 May 2023 14:08:59 +0800 > > Eli Zaretskii writes: > > > So let's back up a notch. There was a suggestion to avoid the call to > > XCloseDisplay when the last frame on display is deleted, like we do > > for some other toolkits already. Would that avoid the crashes due to > > this issue? If yes, why did you reject the suggestion? > > Because it would still lead to crashes when the display connection is > closed by other means. Which other means are those? Please be more specific. > Thus, the proper solution is simply to disable cairo-xcb by default. We already agreed to do that (why wasn't that change installed, btw?). I'm trying to establish if there's anything we could do in the cairo-xcb configuration to make the crashes more rare, or even prevent them altogether. Please bear with me.