From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame) Date: Mon, 18 Apr 2022 18:29:16 +0800 Message-ID: <87y202hegz.fsf@yahoo.com> References: <86mtgjh13r.fsf@gmail.com> <877d7nmfbm.fsf@yahoo.com> <87y203np3y.fsf@manco.pe> <87v8v7kv9h.fsf@yahoo.com> <86mtgjgiaj.fsf@gmail.com> <87ilr7kmkh.fsf@yahoo.com> <86lew3gd98.fsf@gmail.com> <87zgkjj5ox.fsf@yahoo.com> <86h76qhq5g.fsf@gmail.com> <87lew2khks.fsf@yahoo.com> <86fsmahmfk.fsf@gmail.com> <87v8v6izxm.fsf@yahoo.com> <86ee1uhkp6.fsf@gmail.com> <87fsmaiycx.fsf@yahoo.com> <86czhehj2n.fsf@gmail.com> <877d7miwwz.fsf@yahoo.com> <86a6cihh3t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 18 12:31:40 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ngOfU-0000NO-HA for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 12:31:40 +0200 Original-Received: from localhost ([::1]:60552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngOfT-0002lh-6s for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 06:31:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngOdR-0001q8-Hq for emacs-devel@gnu.org; Mon, 18 Apr 2022 06:29:33 -0400 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:33846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngOdP-0007ry-87 for emacs-devel@gnu.org; Mon, 18 Apr 2022 06:29:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650277768; bh=VFEfsK/r6YQoor7cGQ5kaS+J1gHnLSMerA3LRDbq194=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=egC0zt/AUjilVptia9EfHnyDsks8hM9j6idXrcOsL5xJkYz6atVTheWHmHrvQ+a/XqaHZlfq1kioeqKkZ4qCIQ7SbNIIVeCtQnIh3dPJKILNcoPFOmGXXiNAENu2V4TIA4WafAdfI4Q63BP8H7p9FvhbzgXsn5i6rNrTj8dsI2DSDdi52xHHusr40VV8bThgbNyzRzWtD3LfQtpXozbJrKOrzd44cJHFCQ1d6LifdGIMBpgLVNRv/iif/fdksG0vOfSlv1bc8XSGRJNFRXYkyTQDyzth2KCbs9cjB7f4QkH2YNFDmBD2QBL5Bb12VjQCut+uEKayDekXsv7aOq+tVw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650277768; bh=yJKWBW/Hqow3Q4cwZGrxfLpmhkktOQvY108nce1C06x=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=KZT3/Q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Kw595D1euIt_885l6YwivmtCO_AH_DbNAGQsQ J4sqfl1Qcy.6foOdaiB2wf0F_Qb1H4H7NhsMy2ar0EM_3z9uSK8hfDnOKFfqpgvfg3XHcS3_Q0O9 aHgzXuLkgeLjJhVnnhJTczXAMYgCvuKKjZRUZ05BAg X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Mon, 18 Apr 2022 10:29:28 +0000 Original-Received: by hermes--canary-production-sg3-cfddc4f9d-gtcd4 (VZM Hermes SMTP Server) with ESMTPA ID 579c30c94aa7cdeed73f15af17b35e44; Mon, 18 Apr 2022 10:29:21 +0000 (UTC) In-Reply-To: <86a6cihh3t.fsf@gmail.com> (=?utf-8?Q?=22andr=C3=A9s_ram?= =?utf-8?Q?=C3=ADrez=22's?= message of "Mon, 18 Apr 2022 09:32:22 +0000") X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.31; envelope-from=luangruo@yahoo.com; helo=sonic308-56.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288622 Archived-At: andr=C3=A9s ram=C3=ADrez writes: > Hi. Po Lu. > >>>>>> "Po" =3D=3D Po Lu writes: > > Po> Thanks. Does this fix the problem? > > > No. It does NOT fix the issue. > > [...] > > Best Regards What about this? diff --git a/src/xterm.c b/src/xterm.c index 99269e3e92..62d27339c6 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -23702,6 +23702,9 @@ x_delete_terminal (struct terminal *terminal) if (dpyinfo->xkb_desc) XkbFreeKeyboard (dpyinfo->xkb_desc, XkbAllComponentsMask, True); #endif +#ifdef USE_CAIRO + x_catch_errors (dpyinfo->display); +#endif #ifdef USE_GTK xg_display_close (dpyinfo->display); #else @@ -23711,6 +23714,9 @@ x_delete_terminal (struct terminal *terminal) XCloseDisplay (dpyinfo->display); #endif #endif /* ! USE_GTK */ +#ifdef USE_CAIRO + x_uncatch_errors_after_check (); +#endif =20 if (dpyinfo->modmap) XFreeModifiermap (dpyinfo->modmap);