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#69762: X11 versions of Emacs 29 on sparc fail at startup Date: Thu, 14 Mar 2024 14:16:12 +0800 Message-ID: <87frwtuymr.fsf@yahoo.com> References: <1e95c2c8-f7fc-456c-a8aa-d2ada44b7d13@emvision.com> <87a5n3vujp.fsf@yahoo.com> <244fddd2-2de4-4e16-945e-4927fab4af12@emvision.com> <87jzm5vf8y.fsf@yahoo.com> <2de8afe1-6410-4729-abc1-cfd541b1b4d1@emvision.com> 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="16430"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69762@debbugs.gnu.org To: Ali Bahrami Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 14 07:18:42 2024 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 1rkeQL-00042m-EQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Mar 2024 07:18:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkePl-0005ja-00; Thu, 14 Mar 2024 02:18:05 -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 1rkePE-0005UF-8z for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2024 02:17:34 -0400 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 1rkeP8-0005DH-EM for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2024 02:17:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkePh-0003zA-Sz for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2024 02:18: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: Thu, 14 Mar 2024 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69762 X-GNU-PR-Package: emacs Original-Received: via spool by 69762-submit@debbugs.gnu.org id=B69762.171039702915186 (code B ref 69762); Thu, 14 Mar 2024 06:18:01 +0000 Original-Received: (at 69762) by debbugs.gnu.org; 14 Mar 2024 06:17:09 +0000 Original-Received: from localhost ([127.0.0.1]:47926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkeOq-0003ws-LU for submit@debbugs.gnu.org; Thu, 14 Mar 2024 02:17:09 -0400 Original-Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:43468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkeOo-0003w8-L9 for 69762@debbugs.gnu.org; Thu, 14 Mar 2024 02:17:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710396983; bh=txLlipf+p4DwV1p2hVquczNxV6WyDprPnBoY4ldst/8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=qNkpt3vDN4GqBN9oXeb4Ep+clDhS9cfQeD4gASimbAwHXsEJCNjmUD6SY7iPehaYY8i7KC0VgxFd2pr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FQv6jRs8Bd_MNFIJN5j5mhwV1yBKTp5Q4nyHnxCJ.zqCgmtstU47n.k_.06M4dD5wdWhg gRH4ZSloBrcD3jywyUjSH89dS5.1bhLlt57CNOFuhbCUIHZo8Wm4OOepCRowbIdLEMV55RKiXS7S g0hW7qtaLwYvmOdTtoi4syqINIf..MLdzUIlrOCDwTb6iylkkb4ik3pEdcq917Rfy9TJ86cgjVBw ODKqsqeOeYGtJllLhwHQMUlL0E.GDTbInT6jzvW8rCnNaNWyjnGbtrkCGraYmGwiq0puK.AUvYXh .jEC_GrCUzcrsBGGHj0llDPOqqkzVP67z0n6rhsU4GrLoCZ0ZqWzmPDqR8cW2eUU0W7hhIlTdGck uGfbINY.UheL2s1TVxggSzkHRlU4be_Y9aeuPWecmQQTwKoLGn9BTcz3moRBZS9uq.La2g58BTz9 FDHIDNApe7AlP0tKMj2hS6Wk3w5SLY4yQPgDoQalupfnP9nOXagC4v5Qg8fKIVG09PhFqyPHUUq1 gfi0.xzS0L1tjD7SZjp9IS4pJG7ksOKTmFyyiccBx0 X-Sonic-MF: X-Sonic-ID: d860e1f3-ff82-4591-ad36-810d1c32e8eb Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Mar 2024 06:16:23 +0000 Original-Received: by hermes--production-sg3-6dc75bc8fb-pccgz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3e298b5947e50d8703c1aee923e9469d; Thu, 14 Mar 2024 06:16:18 +0000 (UTC) In-Reply-To: <2de8afe1-6410-4729-abc1-cfd541b1b4d1@emvision.com> (Ali Bahrami's message of "Wed, 13 Mar 2024 23:56:28 -0600") X-Mailer: WebService/1.1.22129 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:281581 Archived-At: Ali Bahrami writes: > On 3/13/24 6:17 PM, Po Lu wrote: >> Please run Emacs under gdb (or some other suitable debugger, e.g. dbx) >> with the command-line options: >> -q -xrm 'Emacs.synchronous: True' >> exactly as written above, break on xterm.c:x_error_quitter, and >> reply >> with the backtrace generated after this breakpoint is hit. > > The gdb output follows. Thanks. Thanks. Does this resolve the problem? diff --git a/src/xterm.c b/src/xterm.c index c8a43785564..55aba5b8604 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7297,11 +7297,11 @@ x_sync_init_fences (struct frame *f) /* The drawable given below is only used to determine the screen on which the fence is created. */ - FRAME_X_WINDOW (f), + FRAME_OUTER_WINDOW (f), False); output->sync_fences[1] = XSyncCreateFence (FRAME_X_DISPLAY (f), - FRAME_X_WINDOW (f), + FRAME_OUTER_WINDOW (f), False); XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),