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#63589: 29.0.91; crash after creating graphical frames via emacsclient when compiled with cairo-xcb Date: Sat, 20 May 2023 09:46:45 +0800 Message-ID: <87sfbr3hbu.fsf@yahoo.com> References: 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="40226"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63589@debbugs.gnu.org To: Thiago Melo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 20 03:48: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 1q0BhY-000AIA-Tb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 May 2023 03:48:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0BhU-0007JX-0Z; Fri, 19 May 2023 21:48:04 -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 1q0BhS-0007JP-B6 for bug-gnu-emacs@gnu.org; Fri, 19 May 2023 21:48: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 1q0BhS-0003ag-3K for bug-gnu-emacs@gnu.org; Fri, 19 May 2023 21:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0BhR-00071c-M7 for bug-gnu-emacs@gnu.org; Fri, 19 May 2023 21:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2023 01:48: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.168454722626801 (code B ref 63589); Sat, 20 May 2023 01:48:01 +0000 Original-Received: (at 63589) by debbugs.gnu.org; 20 May 2023 01:47:06 +0000 Original-Received: from localhost ([127.0.0.1]:57663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0BgX-0006yC-Ol for submit@debbugs.gnu.org; Fri, 19 May 2023 21:47:05 -0400 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:42941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0BgV-0006xh-CJ for 63589@debbugs.gnu.org; Fri, 19 May 2023 21:47:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684547217; bh=wmSZs2DHsRnAE8Iv+def4YTeOwkhX8qUnSLjWlbc3Fc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Vi3oVEAWSzGsi0Il+DSz1Q0xJMKXe9or4h/HlTaPMzvGUCTNbKZFZmoOULlzd5pL8+ur+ezVCjTt8zDL12hRqokF9c096ekdNr+qqKMjVhhklPqwp+BHct6udT9QDV4aXU/Vo8xISaXAh2cQv5lKwBsE9eDTRUoJvN/t4c9StJ7alDhe+7xOsfyvKRr/fngpd8HROYaylzRNIeQ8bCpoTAfEtgZG5me/S2q/lEyX45cD+SPh/NUGqYWMd+AlUx5eGPjwUGNinyooZzGgLgCM4OoTiTB9JWBmXRsFOX5hDW6HFCRbDWNN9VyiXVVPbrgp6Jws/JHI1ny3Q3sSvEXNpg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684547217; bh=DtGg9e/WgMKNzf/wVdoTUO40QCDHh9d85lfV/IWekC4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QdpLysb7FiU9pXaNZCUMov0VTwEioEvSBivYeOTiqNLxlAPoF/rQf9nbBHbXVyuuDoUVIvFElVUM+26nGfcmSS2j9/et2/1tUy8t7w+0DdEper6V5eU+0T+36gWTN0Nuu7+1MzpbAoxwYUnTswa8zLa99GfaQLSabs6XGzVUIw9Vh8UXV/IadSbhxwTmhFPDRBm0XV3iw+U5bOu3LlQgbFs+w6j6oKl1cstd13pa9KE62v7mA8M4SZZHUNngEc01+GCL8XcFPqNqAGLZpig6fJbxkIQryqf9Mg7iKzMpfeC3EO128dJtiDR+q/I6aaXTZPXhMmpkmgiQYPczlgW02w== X-YMail-OSG: oTM3qQwVM1lo3FjExl_d6prFnUoLB8Q8sLV9yyFl_badwnNawX.UsOGN55dGCpH NlRHYzH1_JKDyWW.akAIxCOnh3jMN_4OQhFG5T9u4IMGRIleVgT72lgiCC5DkuhZ02.gx8L1SjFt pkLTnV0YwLYJy3In16akMtkIHjzbYu2gpvFOXDq3QFXjDNFlLE_nwT1UznvZymJYHuLtFR6jpUUI Jttkfq8zBCaeBLayMLK8S07DXBDW1dShCH9_HwBW4uxdggQvI6gqcS69tGlNT.XGXeFIEEdcTwKq 2HPaus1hSAHDY33lZHFtG9JqnOXX8IJWEEkXDBQSffptHAgVTkNbngjjhySR9SI0IAflU.uBUxqy _kA581NUbShcyfQ_8eEl4VLBy0zKdTZ85F8DlOOGR3n4k2KwOjZKibgQEKaMoLLfFdiWPVeJ1ae6 pKyz14PAT02NdiERzgJnGJGzw6DeKaUqgY4OovOPRDOW.XSwC3nXKaaDEo2BhkMk60KvqokBpfhu csahiooxFl1GvMhLxz29pGQN0IyF9JnhQe2oK5zTawk2qAXe7Ahx1HK0r8ljqB3p30i7NG_4OFtG B2jfGTI3KZUuGTLb.4mjB7su_0B4pMDZofo1MkW42mdbmYQu3V2i6luSg.do_AT5NB0IuyRcePbb 21mKfk2zqotmc.7qG2PXmX2GWde_bqoDCwSrqAJbEch1HgGMU3xgWSPqCU.K6yUV6BZqUND_Pwpk vtu62IeanPVEtgdOPvytsHIsYo0ocf6kpITMyDDDkB9.pjA9NRtgGAMjeXXPn8Bwqjiocb7ekBk2 SbyVaR2BszYXB0I_reiy2YdV3wZcXlA06VQKKfjYQq X-Sonic-MF: X-Sonic-ID: e1bb0880-7b95-4d21-a18a-d1b6931d1bdc Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 May 2023 01:46:57 +0000 Original-Received: by hermes--production-sg3-748897c457-24pr6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6a5c0f4f87faf9c42ba8bb08effbd25b; Sat, 20 May 2023 01:46:50 +0000 (UTC) In-Reply-To: (Thiago Melo's message of "Fri, 19 May 2023 11:17:36 +0000") X-Mailer: WebService/1.1.21495 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:262029 Archived-At: Thiago Melo writes: > emacs: ../../../../src/cairo-xcb-screen.c:219: _get_screen_index: > Assertion `!"reached"' failed. > > Fatal error 6: Aborted > ``` > > Affects starting emacs with `emacs -Q --daemon`. > > Issue happens since commit de614ec9 ("Use Cairo XCB surfaces when XCB > is available"). This is one bug. Thanks for bringing it to our attention. However, this crash happens when a display connection is closed, which is not common in normal use. As the backtraces you attached show, an unrelated X error is what caused a connection to be closed. To really fix this bug, we need to know the details of the X error. Once you reach the breakpoint on `x_error_quitter', would you please run: (gdb) p *event and send us the resulting print out?