GNU bug report logs - #54715
28.0.92; crash when X server died

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ken Raeburn <raeburn@HIDDEN>; dated Mon, 4 Apr 2022 21:21:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 54715 <at> debbugs.gnu.org:


Received: (at 54715) by debbugs.gnu.org; 5 Apr 2022 19:24:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 15:24:54 2022
Received: from localhost ([127.0.0.1]:56262 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nbonO-0007Xs-GS
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2022 15:24:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58132)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nbonL-0007Xb-SG
 for 54715 <at> debbugs.gnu.org; Tue, 05 Apr 2022 15:24:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41346)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nbonG-0006B9-Cd; Tue, 05 Apr 2022 15:24:46 -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=Gj2Ophh6iTPxmTx+rqnB/Zc2eFsSE9rN56BRP6wkcMY=; b=kdhLtyHAilFQ
 6N3KU8TOZdwk+b9pi6gLviSb2d4SJJkTbV7AX+RDVh6OBXOzuRdLn0uihZQFGsXZMAJRZgraBOHUF
 bQam/a5MbvOjGgt3ZPpq0bJrI5oOA6jgwr7bNLDldw5f7VLRiERPUPhqpQXh/VQQJ4U2Xq4jHP3vd
 p83Ri3Elyxfq9q//O72ebObSmqKBnLY4mUgVJitDcwhzpsVv1QRkRbm5AjNgJ3jBRKU7vlVtkSnjJ
 T8at742aSXFhCPT3HmuaIiondn2ribhNrjzEQFhVChWtT+qu44ITpge03ka7l8k2N5E6bmlHUGrDW
 cDruQ5r0KsOz9rT/FG/93g==;
Received: from [87.69.77.57] (port=1540 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nbonF-0005Rd-Ql; Tue, 05 Apr 2022 15:24:46 -0400
Date: Tue, 05 Apr 2022 22:24:51 +0300
Message-Id: <83v8vncozg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ken Raeburn <raeburn@HIDDEN>
In-Reply-To: <87sfqrs5vu.fsf@HIDDEN> (message from Ken Raeburn on Tue, 05
 Apr 2022 15:10:45 -0400)
Subject: Re: bug#54715: 28.0.92; crash when X server died
References: <87tub8v94y.fsf@HIDDEN> <87ilro5ohc.fsf@HIDDEN>
 <87sfqrs5vu.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54715
Cc: luangruo@HIDDEN, 54715 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ken Raeburn <raeburn@HIDDEN>
> Date: Tue, 05 Apr 2022 15:10:45 -0400
> Cc: 54715 <at> debbugs.gnu.org
> 
> In server-start, hooks are added to kill-emacs-hook and
> delete-frame-functions, among others; tramp-dump-connection-properties
> and org-babel-remove-temporary-directory are also on the list.  But
> server-force-stop appears in the stack trace.  It calls server-start,
> which calls delete-process, which calls redisplay_preserve_echo_area.

Which is why I said that perhaps we shouldn't call
redisplay_preserve_echo_area when we are shutting down Emacs due to a
fatal error.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.

Message received at 54715 <at> debbugs.gnu.org:


Received: (at 54715) by debbugs.gnu.org; 5 Apr 2022 19:10:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 15:10:51 2022
Received: from localhost ([127.0.0.1]:56234 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nboZm-00075U-Rv
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2022 15:10:51 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:53378)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1nboZl-00075M-6d
 for 54715 <at> debbugs.gnu.org; Tue, 05 Apr 2022 15:10:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1649185848;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=5PIAC0VNBP/CP+rpNX0A4XUpASLo4IvyQlKQyp+AN44=;
 b=bzS+mxyrGkwzIAeaQPy826BXGmnze2ReRf4MRivqGOHFLioxpAsnsblBbO3seYfJ7wr549
 pAnJee3QbbBvF7trORzqNKyHsGB6fD9Q5PukZm5qzIjppRC81nToHv0qRuf3buzzIHampq
 9WkA33PKdD+kG8WVAqTuIA5m8GAa2/0=
Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com
 [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-528-PCGXhCf1OLWBELUWlNh4MA-1; Tue, 05 Apr 2022 15:10:47 -0400
X-MC-Unique: PCGXhCf1OLWBELUWlNh4MA-1
Received: by mail-qv1-f69.google.com with SMTP id
 g1-20020a0562140ac100b00443ca5e8059so416539qvi.17
 for <54715 <at> debbugs.gnu.org>; Tue, 05 Apr 2022 12:10:47 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=5PIAC0VNBP/CP+rpNX0A4XUpASLo4IvyQlKQyp+AN44=;
 b=Istux3QOpL8NuOF2120ZVjff6/33xcVdHcRSjrmQq+Sv8w0waoy/T0ClHsxAZjE616
 qxSG0ImvJPjAgOKrMpG+dSKWpv9gL1vT0GZYwtJh1AK8aoo64BYJVKWQBIVU74Najf5f
 iHqSgjp5YhZ81Q5dtrWYEE4W/KUZVkRBZhM3pcNU23C3X7BhFe7GfhLolYJL1ExQFSOZ
 ESTkLO9af8rubKn79SCozpOk9u99I5TygUw4G89fdUkSij2gvmhDqxSev8A8650Q3ZQQ
 93nUZ+fjsAv/sUydtYHb8Lw/m34r7Vsc5w+KU6qk+tXFw0ogDt3kYh5Oe3QObKLtuxBU
 QWSA==
X-Gm-Message-State: AOAM530G2PNHsF5ipyr6qW8IHFjYQ4M472ZNUda5PQ3MlHHTMUhObLMi
 4XKAzH4jRRlvncXMmEsIh69gJRHxGoeRD0HHfhtF2y/Pl7F2xnuukX9Brt18xacnn1FzDsbEb13
 ulD4RdjdaVtgIf7s=
X-Received: by 2002:a05:6214:4016:b0:441:28be:7c45 with SMTP id
 kd22-20020a056214401600b0044128be7c45mr4328240qvb.80.1649185847257; 
 Tue, 05 Apr 2022 12:10:47 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJxEvNU3Gzd/u8lkR0wkrRY9QiMcwLsR2ttLkrWDrjIEM4TQdUBguyAUpr1mQry75aNrSocemA==
X-Received: by 2002:a05:6214:4016:b0:441:28be:7c45 with SMTP id
 kd22-20020a056214401600b0044128be7c45mr4328226qvb.80.1649185847066; 
 Tue, 05 Apr 2022 12:10:47 -0700 (PDT)
Received: from crash (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149])
 by smtp.gmail.com with ESMTPSA id
 h27-20020a05620a13fb00b0067b3615e4acsm8079134qkl.70.2022.04.05.12.10.45
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 05 Apr 2022 12:10:46 -0700 (PDT)
From: Ken Raeburn <raeburn@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#54715: 28.0.92; crash when X server died
References: <87tub8v94y.fsf@HIDDEN> <87ilro5ohc.fsf@HIDDEN>
Date: Tue, 05 Apr 2022 15:10:45 -0400
In-Reply-To: <87ilro5ohc.fsf@HIDDEN> (Po Lu's message of "Tue, 05 Apr 2022
 09:05:19 +0800")
Message-ID: <87sfqrs5vu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux)
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54715
Cc: 54715 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Po Lu <luangruo@HIDDEN> writes:

> :0 and :0.0 are different X servers from the point of view of Xlib.
> Don't mix up display names like that: it just wastes display
> connections.

I haven=E2=80=99t been, intentionally.  I think the GNOME environment is do=
ing
it somewhere.  Emacs is launched as one of my startup applications;
emacsclient is run via an icon in the top bar on my screen, or a global
key binding, or, occasionally, from a Firefox plugin.


> Yes, thanks.  I think the problem is that selected_frame is dead.  But
> if my reading of the code is correct, x_connection_closed calls
> delete_frame on all the frames on the disconnected terminal before
> Fkill_emacs is called (BTW, is that really right if Emacs is running as
> a daemon?),

To clarify: I used to run Emacs as a daemon (which would=E2=80=99ve been
relevant if it meant there was another, invisible terminal frame), but
apparently I stopped a while ago.  That=E2=80=99s what I meant that my use =
of it
had =E2=80=9Cfallen by the wayside=E2=80=9D.  (Perhaps I should=E2=80=99ve =
just not mentioned
it.)  So with both instances of the local display connection dead at the
same time, there are no working frames left.


Eli wrote:
>> My guess would be that Ken's kill-emacs-hooks were called when the X
>> server died, and one of those hooks is unsafe, in that it causes
>> redisplay.

In server-start, hooks are added to kill-emacs-hook and
delete-frame-functions, among others; tramp-dump-connection-properties
and org-babel-remove-temporary-directory are also on the list.  But
server-force-stop appears in the stack trace.  It calls server-start,
which calls delete-process, which calls redisplay_preserve_echo_area.

Ken





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.

Message received at 54715 <at> debbugs.gnu.org:


Received: (at 54715) by debbugs.gnu.org; 5 Apr 2022 12:52:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 08:52:51 2022
Received: from localhost ([127.0.0.1]:54058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nbify-0003jW-Ud
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2022 08:52:51 -0400
Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]:35440)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nbifx-0003jC-6u
 for 54715 <at> debbugs.gnu.org; Tue, 05 Apr 2022 08:52:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1649163163; bh=kFaFxOfTSmVsQzDqT92cbHayGTWB+FvlxnzJA6o31og=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=S9hSADvG7qRFKeTqkRKXIBMd2alHZfo0m44bs9b0UaGa7DV1W0drRJnapth84UylU858tTcKbk+JOmzaenCoaa0GPj2AM9YmNem4dyLSlXOAAeEgzI2aKHVM3Nt8SvHtdacPidKkK4bFeZLSIl6e+cHoo4q2Nn9pjz9QZd5UabOZypeEWDyjX3yVtFe4JhCSulgpaVSScMCj27Ed/8eBjzmonWVnZFhNgyxqZob7kkk/QTsAOtcTjlWC/PZZkzAMOA2sWpBIjLQbajVrcOrIm1uwpi5SYSqyFboibq5zB68/aebvGpM8pDBntXeesI/IGqB9gfzl7V3uh45yfQcGKg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1649163163; bh=LzDCBKnnKgUfX3eJLJ719fEOiZvuNwOvcxovMvFr/uV=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=h7uI+GS36VegT9ZPg3f8tT1EfdKYqDUUSuT9zshFM7cU2H3sucEVhs6HL+wo6w7XrURrH2G4JNuCT9cacIL2jpOVqaHedoJr9g65pjNKQb+GkU8lQ1JXtzIuLPRWuJooj3OYfT4nymIM0gDWtR+enEfiDOBIN69R1/0H9RTMNpcM3Ej7lh0TxEFKP+U2MdhWYp3qMXlJ5PSeWfnQdzpZ8dcxwdcfcj9GXtMR0T18NXb33zO1KaAs8NOAlyih2dH0rcrvqfuOB00wbYVOLPsLLIXTYSU0xACsGoD0yLdr3Kyf0Pi7pnl09MJKIZ+aWaIWjWMP+aVCLKYjBIb4r/YMAg==
X-YMail-OSG: ZZ9piIkVM1kTsYy8RFHhT20pKUJtP.mMmLVtlKPsKhw9B_CXKNL1MoUubPw32wQ
 WUL4FAb6Q8.2Um5AQofLA7U55_B5zWKrSlhgRr86y5xFWgbejSWW78PD1PJlN1WHopKCTCcNDk4p
 Gyhts69YKVauIos84_8Za89pFnhCtp3UY.UJJQ1UYuHq4830r_XpYwSehk3f9xSQKBXge7cB3NCb
 jaGQVkmOcyQi96TRZrZdvGOfvm2rWOazze6mEHM5aCNwswPAWfVTh.wOs6QNPkCgeX.Wa42EMJeP
 KNNtKmLjnoCJdV9J8YkRzSRx2PIwDf9VQBQfO2qp0vg1d_A91vFfwEXZZPaO15f0nJUIPHIhzjFW
 EF8TK9faHv2OEt16IRLkR2HwtMzl._5IFrp8HeWssUpT.y4SgfiuCCOYuT2uAE.fAQkI_6wPxVZA
 lbp.6NM1Wbe6y18J54F_nBUApMrbZkALeWJjucgUI9GhoggtFzJeo0MlJ5Elhyhgrvjd4JHfNLDJ
 rPEzvKL8WhhnrK8Tos1RnzmVT0DcSUfnYW0p1ojJH8P0uOh5mfEf0rPQxN3dU8z6En2FB_CQwFa0
 lDagaZMecQ6OXLieeKT11g9ceyX9ZHxf1Wua1qthOfSB5nNGTJcYm5tibZ0onQZ_rrQ1GF7JYR5p
 pmtVM9_QyE9qXM5MSL8E8z_o2Mp7LL1Bgs_EiEY7ab5yyZwIwVK80nXQ4707wnqZUH5qnJGv03Rt
 GPbkoin6Vw0Px.L5cCUD6OEsASLmFxhn8g46tLM5_x.Z9vguwSMHOZclsptlFPf8kp0zsA9J0nCg
 .wWxUrP73MC94JZ6mNrHFdT0mxHorXxfNcCZHiqTLQ.y.MkI4qhAYlcspy2e1qv8FRdeeZooInmU
 xJhz4B5qPD16zwWH_Ol.ZCBYI.EVP2tHoXt0R402Ab1CjgmXiEiACuLztTGtzogc1vZDVjuXBjaU
 _qUib.cibn4lmopsv673PUah9GSs_JyN.O6soI0yIOaEwGJNJa3KzsnV_7bOflu4EJOCk34hRtvB
 3y_2OMzJDE.9Vx_bumQOJhbvNmUcGrq3zrn0CB81iuGgLF7YdNYTCDDH.MygaNH89v6siG08Ujwn
 8q6QbAi8DTMDTQFoEUwent1w.sgGEQrOS49.e_mQz_8eVbGf3jiHKQOLzfq.IxT_xlm3e3czg6mr
 2vk3VDx5wBZwGOrxxYsz7NQHxRfBvEctvmIPV3wOgLCO.2_LG9OREi__6B.q.mOr5sB3.wZqwtvf
 LyO3PSuqFm4c8EmzKXepX_.FDmxYFMlItK.BlGQVj4gQS3m61cj62p4Ai3NpPunjVcCgcZTzGacK
 cvTbViSnS7X_PJ8ZGAUkZC98pWUx8mDVQXK3X_6YduqP9754weAAn014.J3RCgGYYUnMQCii4LQZ
 2wP9TzvBF1gHpOAvOdeFRvHlGNWwD4MYfuMI.edS2KnHxSMhGZysDeuWG7gvuQxIhmejhAJ91HXX
 bXpzwBUidD8svDhMewVlnKptNS6.yMnGRRdGFr9GnOg13lRV3AflIsDfE2OgzVLBghry8Eu4Aa3z
 esc8wSKDMcpgmjxrZxmsSx_oAvROjHuEcUxq_gg7R2KOrwg9Edn80tIS82eP2ixbfmVBWjW4eBsC
 DXUeJqM039ZQw5hW.R08.JZ.zsJ3n8ag7elqrAQ.b2CoDML77lBhyvMRlC2PcxiNbvypdvcBz5ex
 lf7pfHtKEoAL_p.fdIS2ZZTuGx4O28B7qo7jM9OnHDK8nFQTAR0Ns61DlMzzeGPCCnHmuOeGt5JN
 0ElcgDwtI5fc4bC3aho8_C3dh6R3N819WArv6rd6AZ9K86VnqFX1hrmArKZqqYbIsK.i3Png2rr2
 k5QN12HubnV0ZKEiYttsF37T3oOEOf6eWTfFyYS5qfFqfPmmj63z9DtytG2t0lldMGW.hsisfxX6
 elTMrgdH2i6Y2BaXXkImQolN0ATjI.AJy2m1fdcHaa_Cpqwr2L73DSqbycKQcJuNxeZliFyO8p1I
 VLjf6JlaSkSKQWkYrvJZ.mJ6RLyd7ufgSEKhKMN2CX0_LUvKXz9PB1Qb06e07ucYSMEqkroX6sKE
 CCqUdBgn_6S9nXkmWOK5p4TKv3vHWEm20s77EGR9r1sCDM9tqKsFAEs5.Q6NjswKZSNSXQJoTD7R
 gYYBZYfkWojD6kz367pSLbn3us2ptaTf0a4zADH95P6LyfEpgt6gxUnCH13Assgch7161t.9iU5A
 KS9AwV8VPZlf4Vxms4tMF6cqpl1QvTbASifQTRfJXM8Ob_vcIsf8_DIFuYP_Q.G1G8DCEUNQ-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 5 Apr 2022 12:52:43 +0000
Received: by hermes--canary-production-sg3-65d7bd97b5-srcdp (VZM Hermes SMTP
 Server) with ESMTPA ID 2a9c13e7368cc54b9ae7622d1a5dc0af; 
 Tue, 05 Apr 2022 12:52:36 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#54715: 28.0.92; crash when X server died
References: <87tub8v94y.fsf@HIDDEN> <87ilro5ohc.fsf@HIDDEN>
 <83czhvened.fsf@HIDDEN>
Date: Tue, 05 Apr 2022 20:52:32 +0800
In-Reply-To: <83czhvened.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 05 Apr
 2022 15:16:10 +0300")
Message-ID: <87ilrn3d67.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20001
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1800
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54715
Cc: raeburn@HIDDEN, 54715 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>   /* No redisplay if running in batch mode or frame is not yet fully
>      initialized, or redisplay is explicitly turned off by setting
>      Vinhibit_redisplay.  */
>   if ((FRAME_INITIAL_P (SELECTED_FRAME ())  <<<<<<<<<<<<<<<<<<<<<<<<<
>        && redisplay_skip_initial_frame)
>       || !NILP (Vinhibit_redisplay))
>     return;
>
> Crystal ball says something is wrong with SELECTED_FRAME, and that
> causes the abort.

Yes, thanks.  I think the problem is that selected_frame is dead.  But
if my reading of the code is correct, x_connection_closed calls
delete_frame on all the frames on the disconnected terminal before
Fkill_emacs is called (BTW, is that really right if Emacs is running as
a daemon?), and delete_frame tries to find another frame to select,
which in this case must be the initial frame, since there are no other
terminals left.  So I think the problem lies somewhere in delete_frame.

Alternatively, selected_frame might have become dead before delete_frame
was called on the frames in the second terminal, but I don't see how
that could have happened.

> My guess would be that Ken's kill-emacs-hooks were called when the X
> server died, and one of those hooks is unsafe, in that it causes
> redisplay.

And the selected frame was something other than the initial frame when
redisplay was called, which is probably what's at fault here.

> Or maybe we should refrain from calling redisplay_preserve_echo_area
> in delete-process when Emacs is shutting down due to a fatal error?

I think this isn't supposed to happen at all, especially since Ken is
running a daemon, so we shouldn't bubble wrap delete-process because of
this.

I will try to reproduce this again, hopefully I can get Emacs to crash
on my side as well.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.

Message received at 54715 <at> debbugs.gnu.org:


Received: (at 54715) by debbugs.gnu.org; 5 Apr 2022 12:16:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 08:16:15 2022
Received: from localhost ([127.0.0.1]:54003 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nbi6Y-0002dj-T7
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2022 08:16:15 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36326)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nbi6X-0002dH-Ch
 for 54715 <at> debbugs.gnu.org; Tue, 05 Apr 2022 08:16:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58524)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nbi6S-0005zy-56; Tue, 05 Apr 2022 08:16:08 -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=Fde+dDWNxsGh3ATvJA7VeeeRQNuuw1RDAHOKDkqld9I=; b=MzfnPeLuklKP
 uC4onyD+keEqKKtfk6j7nhibOCAawBoSqszL8z69NmVE55JOTT2hTjOj547/VI5lA/FD2R8trj2xC
 ODLF1PeClUG3KRW19BqhLBAeOcfM/AHYjZQfT8Wp77tPYM0K6SLTENIRZMNcbKaBiTZbvqxp7cGS0
 od7Xi9O/rAnwFuN4CW0LlCuGBTypChd9jYsubfU5BqJnYTHs6uMYqsouYtSf4y8uJ0aRGhttQmeDK
 yW9Z8Ah5QewnwMMKqj8AgRRsUfJk3YBYprkpbbhiBdUjE5T1KfLrcdIyblFggXaz7ePnY3vvkf/nC
 ZZJz4VvkA//z/kLcQZnyZg==;
Received: from [87.69.77.57] (port=2674 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nbi6R-0005OI-1i; Tue, 05 Apr 2022 08:16:07 -0400
Date: Tue, 05 Apr 2022 15:16:10 +0300
Message-Id: <83czhvened.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87ilro5ohc.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#54715: 28.0.92; crash when X server died
References: <87tub8v94y.fsf@HIDDEN> <87ilro5ohc.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54715
Cc: raeburn@HIDDEN, 54715 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 54715 <at> debbugs.gnu.org
> Date: Tue, 05 Apr 2022 09:05:19 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> > #28 0x0000000000422866 in x_connection_closed (dpy=dpy@entry=0x511fc50, error_message=error_message@entry=0x7ffde15e78e8 "Connection lost to X server ':0.0'", ioerror=ioerror@entry=true) at ../../src/xterm.c:10240
> 
> x_connection_closed binds inhibit-redisplay to t, so redisplay cannot do
> anything interesting inside.

True.

> > #12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633
> 
> But this frame shows that it did try to do something, and aborted.

It looks like it aborted trying to do nothing ;-)

> Unfortunately, I don't see anything interesting at line 15633 in Emacs
> 28.

I do see something interesting (did you look in 28.0.92 sources?):

  /* No redisplay if running in batch mode or frame is not yet fully
     initialized, or redisplay is explicitly turned off by setting
     Vinhibit_redisplay.  */
  if ((FRAME_INITIAL_P (SELECTED_FRAME ())  <<<<<<<<<<<<<<<<<<<<<<<<<
       && redisplay_skip_initial_frame)
      || !NILP (Vinhibit_redisplay))
    return;

Crystal ball says something is wrong with SELECTED_FRAME, and that
causes the abort.

My guess would be that Ken's kill-emacs-hooks were called when the X
server died, and one of those hooks is unsafe, in that it causes
redisplay.  Or maybe we should refrain from calling
redisplay_preserve_echo_area in delete-process when Emacs is shutting
down due to a fatal error?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.

Message received at 54715 <at> debbugs.gnu.org:


Received: (at 54715) by debbugs.gnu.org; 5 Apr 2022 01:05:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 04 21:05:44 2022
Received: from localhost ([127.0.0.1]:53383 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nbXdf-0003LI-U0
	for submit <at> debbugs.gnu.org; Mon, 04 Apr 2022 21:05:44 -0400
Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:45983)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nbXdY-0003Kt-Qt
 for 54715 <at> debbugs.gnu.org; Mon, 04 Apr 2022 21:05:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1649120730; bh=ifeI2nlc3vrzrRQjjRsnYk00xmKChXwSSYDgUHD/2fI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=Ch7cDl6HLzbCHkB/Wzf9Rfzy+a6ZtBYBN4lBWnG+s8H4jc+lsBwxhsXybpKyHhwcLWFIKfIOhw99Y7ZUqiEqVpP7c8RytNBFaIB8+NyD4ZeFkzvKTccLZLj5ngAvWKExtwvwfaM85pgKxvbe5iYNnEHG3oXaBDb8U/W8ZC0/xADnXZvaCGHPllojw3HddbJKE0mmM3nFHyGzG/tYXupIHRIsWIf4Ot5vgsvoVSEk8eNq1ovX5i2TogogI2EOO2iOa4llDdgL8Yvg8mOJ1x2dnd8A65Q4WsBktOWeIlndOBKxqMeW73rSwR3kzBbAwQm77tAoNgmB5nZDJ7mGgpyAMQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1649120730; bh=yos9rLnzq5E75GX58Xl6cbl60/vqOGB8SkaR0Rdk6x1=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=XVjMaPeYzDgwYXC4FRIU96SuyoZQ4jng+hEn2nQ8pVahgu+nIbj/0RSL0h6F153Cd4dZBKznqwnO4xq5czlEiMTkKB1Qe4KtDcDxB+MXET++0f5i75MXi9KjIYhT6R9y1N/rwYT448ylNJI0ljupKVgORfiSeGzbihPIAHYUt3HGN3m+3Kgf2rIRzjNdklN4DnWjUcrdiKQ+A/wYUPOyLaQOm7fxHkaoC0rGdeyPkEr7i32z1kfS7cOGXqxEujrQ0C9eZ8Nl6K1QnfRq0EzJKalRGcQxWjE82RmuikKJWNuozGUVYkqSX1cMWVj3OMt6SCLNDcS1nkxDX11QHp7RiQ==
X-YMail-OSG: sk072IoVM1nk3zc47ro60hzhSY1HOdUG9u88XZduaS_oiCnsDQPSxRLm0nKN.pq
 bp6EnNquWaLTlCkbK7Cjd979zApQpGHVOSR0T2Y_1KEXzsQua0AMZlGSm.qHCTmYwpz_k_4PUk5d
 zDweVRHI9xF_aiOKkwb_nhqsbMBSAFi5pQFMHz3kiwtJ9pxmiefrhvuhzqrUGYFkYo0z9Tx93mtj
 kpYBLylA54P3eHnVLM3f4TIPJAwFohsKlOkcHd4WVZRI8cSuxDNGkIPye4gHHCxTURy4eVyRqVIO
 2.H8RyxTDUiHcENqYKsnf3uXgcZyAfEtemotqhDR98tT1rOyKjwERATXIjNawzOrooTosrNUwVYp
 _GUXfpjN72mFGSKNSRVLnECnsY2XfqHTqXXlQF5fa4.SfQTVzcksOTr6CIKIyYY6P7XeivjENcI4
 pZc6hgmM_toe6uI_RkaXhSksbOd6mbTPhFshQKYZJa3YfyRuJ2FpLVORUY9al.n3D1u4Fb7dNcG0
 V1uwIqxMozwLF4RfD7oIp_o_2f3rSfVD7uh3zaPsNjzp8OaMWTz4_LZhp.e3BO5hSdqgCCWny36d
 gd7pnUg57UN.oxEMOAJ34TU_PPUdmmmdlg9xu0J7UlmeJEPu_.74di7KPxSnNRylpBJaoSk2O7pi
 IOcqbyg6ILw1pt_TKRYzEnODY77.537.hFhx.nxCljQiduQ9QViVgADaSWj.wHGQoybclOeKcQQM
 pEcar7_eM9O7jK1vNsI.lEcx8sXJTNQeXU6zYIpz3xuYjIpGHTZXHO_ja0osCm_kGk7eyL0rcsLa
 Wn_DVxA2Nd.8ei1ryIeQ9PILCkTWfRyIUanV6maXRIXzmVH2pX6SPTMU3nhFkJnBnZzRM6wDLkFL
 oPGLeV0NWJiFatpjRAcQBWpSQ531gvmf1YcFFG6XA_F1sJoTXQ3B0ERWP7SnWc8Jb2_OFjlCWu8e
 q.GGkIDxkp6RQCyLOv4oGZ0WZkzCiH_ZNo0zLR0sKOLZOUtshJrHHjIJBxB1vBMWOcqtPaLuxYRY
 9GfgR6lyCOCLktVDkGE1eoZZ4iExi6JF8tO60Gs_..byiNyRhIpO352jJgBmhD2aedgHuJhUFpJF
 XWX6K6mvqhtA.o199GR3TN9ZqOlNbTIw4.VVZbWnPylronyOpx_yj9ZKn2Tfg1rJZLiJsUsj7QlL
 rEdIv1Zmbvkv3HAczQcIwxx9wgH9tF05avzRx4yhNEV0gZQr9TC.GZHzr9CIaFwW3V9hNNavY0qu
 Z3T6ejHSjSUoJ0Om6fajKqdeHp01_ZVfALSosQjrSsqvO7ibrxtw9UooLtuUzkCcYwI466E9ix3y
 jsphC_mjSWj4N6Oam67ISSFOY9pTofeuy1gY2HdZCwLzuXExzVOqHMO0nOo4NU_HiKgeVzq0Wmvh
 Aor7xzUrHoIdTHOnwIhZvSKVkCwg_Rx2AAovQtPtVhWV8IQeF7OaYqS8XuU6OruIkNZPLVFnYqdO
 8B0VgAgUVbUUlPU8D5_bffK4Y8FDUgJFHrh7FwBl..EIReO0dhH7456rcsZwUj41Yikg7kMXv0L8
 e4zoJwXwQ9mlmXdORu4Gh81hveu_m5gSLv3cJOL3Q79fFeIZfhej514R5eiVIcLC0OfcGhhEPjLY
 dJ67PXiXaeFS5ltQ0mAkay8QOhiC8EPy7Ukq1rL5LHsGf8ysymNM2gJCudlb.gjfMniu_DlUPP4l
 FA7jVrSbOLvGhhigIuCOO3nnPWDIpdqDXZ4g5mrqQCN1nWBYsW32U8q4Bw4_NGaaeKrXdfUEjbnc
 apdpt_btQBHNNjBIsflVyamGJXdev0GiGNZqRueRbycUtBDdUQEKoUOMNEj6lpTtRBtFeq_cs22D
 Ebr.BwOTg7nn7Cwmj5g7nhg9rqqDRfWftzJEZRWKDXS__.2Glz8jRfPicFOQIUEIS6WYSbZb69AH
 0Z1RqYRrLBuakPhWMSRuE6PsG20Av3LVheWFj53I_gr8IhFp.Co_W0LNCiShHqrTgwe.tz.qamKx
 ujGr6nGiz_.GmrcQWUY8tZHocVITT4pJDOwjJX8gzuAKNzsmqK8aqVXavkQ6m4MuYLhl7ne8z5eM
 D3STNr7kV.rtNiWFaDZ.xHYr8spL2lCy4S77jnaORB3t_KyXknEYtmsueyk3HCjgP1XqmG3CEVH7
 CE61ZCBXfseD2FqfjDta8mnrCATcXhTgytKl2xUWped9dfmqZ2nIaAEdmtuZz92BeUcvxpw8szVc
 iovcmoxjBfL1.vrEifnqLsoDcjbmmS_.tJDQ8f2r3bdL4x_WGTUAUL670i0JujXalrw--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ne1.yahoo.com with HTTP; Tue, 5 Apr 2022 01:05:30 +0000
Received: by hermes--canary-production-sg3-65d7bd97b5-stp77 (VZM Hermes SMTP
 Server) with ESMTPA ID 89a4a775cbeaf48108d62c26ce7a5ddd; 
 Tue, 05 Apr 2022 01:05:23 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Ken Raeburn <raeburn@HIDDEN>
Subject: Re: bug#54715: 28.0.92; crash when X server died
References: <87tub8v94y.fsf@HIDDEN>
Date: Tue, 05 Apr 2022 09:05:19 +0800
In-Reply-To: <87tub8v94y.fsf@HIDDEN> (Ken Raeburn's message of "Mon, 04
 Apr 2022 17:19:57 -0400")
Message-ID: <87ilro5ohc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.20001
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2287
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54715
Cc: 54715 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ken Raeburn <raeburn@HIDDEN> writes:

> I was in the midst of creating a new Emacs frame (C-x 5 2) when my X
> server (Xwayland) died.  I=E2=80=99ve only been using frames on this one =
server,
> though it looks like the methods I=E2=80=99m using for creating them may =
give me
> a mix of $DISPLAY values of :0 and :0.0 in emacs and emacsclient
> invocations, which Emacs may still be treating as different displays and
> thus opening two connections.  This might explain trying to update
> frames on one display when the other goes away.

:0 and :0.0 are different X servers from the point of view of Xlib.
Don't mix up display names like that: it just wastes display
connections.

> I=E2=80=99m using the emacs-lucid-28.0.92-2.fc35.x86_64 package, as packa=
ged up
> at
> https://download.copr.fedorainfracloud.org/results/bhavin192/emacs-pretes=
t/
> , on Fedora 35.  It looks like my use of daemon mode has fallen by the
> wayside somewhere, so losing both displays means the process exits.  I
> had multiple IRC (rcirc) connections open, emacs server enabled, TRAMP
> in use, and at least one interactive shell subprocess on a remote
> machine.
>
> Some notable stack frames:
>  #51: creating a new frame
>  #41: reporting lost connection to display :0
>  #28: reporting lost connection to display :0.0; no frames left, kill ema=
cs
>  #23: calling hooks registered for kill-emacs
>  #18: server-force-stop
>  #14: delete-process calls into redisplay
>  #12: redisplay (SELECTED_FRAME) calls emacs_abort
>  #8:  shut_down_emacs kills processes
>  #7:  delete-process calls into redisplay
>  #5:  redisplay calls emacs_abort

> #28 0x0000000000422866 in x_connection_closed (dpy=3Ddpy@entry=3D0x511fc5=
0, error_message=3Derror_message@entry=3D0x7ffde15e78e8 "Connection lost to=
 X server ':0.0'", ioerror=3Dioerror@entry=3Dtrue) at ../../src/xterm.c:102=
40

x_connection_closed binds inhibit-redisplay to t, so redisplay cannot do
anything interesting inside.

> #12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633

But this frame shows that it did try to do something, and aborted.
Unfortunately, I don't see anything interesting at line 15633 in Emacs
28.  Please build without optimizations and try to see exactly what
called emacs_abort.

Thanks.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Apr 2022 21:20:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 04 17:20:15 2022
Received: from localhost ([127.0.0.1]:53220 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nbU7R-00047D-DH
	for submit <at> debbugs.gnu.org; Mon, 04 Apr 2022 17:20:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:49934)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1nbU7N-00046w-Sh
 for submit <at> debbugs.gnu.org; Mon, 04 Apr 2022 17:20:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54036)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>)
 id 1nbU7N-0008Qx-NV
 for bug-gnu-emacs@HIDDEN; Mon, 04 Apr 2022 17:20:09 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:45608)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>)
 id 1nbU7I-0001yy-0w
 for bug-gnu-emacs@HIDDEN; Mon, 04 Apr 2022 17:20:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1649107202;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=PDFxCSiZywR2t4+X/xKg/ZhCmaZ3J7jKvFDlAQUSy4w=;
 b=RS9VeaxPojwlLZ/g2iHdX5zAx3HLiGrL6Gdl3+UfHO9bc9j0tBba3phqhhSTLe5uz7eIm5
 mpZ9jnEW9uEZ2ic2XuCfZ9/ndr/TiQDFanzIz+6pqYyqmzsxiR/NFyUUmtddMGUzyxxy4R
 y2kjmkg58X32i5IgqZOAxsd9r8xVjZU=
Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com
 [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-617-s8PW-fNvPim3KtyYrO-cbA-1; Mon, 04 Apr 2022 17:20:01 -0400
X-MC-Unique: s8PW-fNvPim3KtyYrO-cbA-1
Received: by mail-qt1-f200.google.com with SMTP id
 k1-20020ac85fc1000000b002e1c5930386so7253392qta.3
 for <bug-gnu-emacs@HIDDEN>; Mon, 04 Apr 2022 14:20:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=G5KmSE63cd6CFa1Y8JhwTpxJsr1RR0E/wKWaYfFPvf8=;
 b=cny6YfBV9TytfOUJivljqs87ORNYvmyzoUyZ5Lx+TQRmzT8knSFKLy8uT1FIXyp9q7
 BjVh4e5y9qI3wgkTH68l7yFkWDoJr1F/R6qX/swFAMRFLWVuA8iTjRUbp10yFNOdrpZ0
 WaqWlTeTJGHHGTP8XcEekQ8Xku6WSc4AGL2yErRioYb46QXIhvIHDFUwTapPcZHwfO60
 P/ygX/iCAgX0fkaFZv4RRuIztPLDU9y63dqQhCTZkyfjjgNIqsuaz49mxjYAs7Kq6ouv
 SnuZ6BV+Z66lQmNuUSNEnV5Ex0KkmKWfX5aZuGErPcLBpb4BAy886tejZnss/ZEn6jMM
 +Tbg==
X-Gm-Message-State: AOAM533OzSUZ27VYbMGWl/eiZlz4nDgBONN7xQjITj6VaODb3pIC86oe
 ADXwEyL3paizo7ugOxtZ1k0BLtOa5FzEXW/l9/fxoVLitA5S1qVGLdZih91gRAirpv4D2a2iUbi
 SwdJmqSsfsTzKZ3o=
X-Received: by 2002:ae9:eb4a:0:b0:67b:2de5:f3eb with SMTP id
 b71-20020ae9eb4a000000b0067b2de5f3ebmr175024qkg.160.1649107199733; 
 Mon, 04 Apr 2022 14:19:59 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzZiLCNBiUoq7ZYMYAhHF1wmpURAoKMFWSzeO0LfJh/2hKE4sY73iAq90VFp+xnBIaHjbLpKQ==
X-Received: by 2002:ae9:eb4a:0:b0:67b:2de5:f3eb with SMTP id
 b71-20020ae9eb4a000000b0067b2de5f3ebmr175006qkg.160.1649107199175; 
 Mon, 04 Apr 2022 14:19:59 -0700 (PDT)
Received: from crash (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149])
 by smtp.gmail.com with ESMTPSA id
 n22-20020ac85b56000000b002eb871fbdf8sm9307955qtw.18.2022.04.04.14.19.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 04 Apr 2022 14:19:58 -0700 (PDT)
From: Ken Raeburn <raeburn@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.92; crash when X server died
Date: Mon, 04 Apr 2022 17:19:57 -0400
Message-ID: <87tub8v94y.fsf@HIDDEN>
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=170.10.129.124; envelope-from=raeburn@HIDDEN;
 helo=us-smtp-delivery-124.mimecast.com
X-Spam_score_int: -28
X-Spam_score: -2.9
X-Spam_bar: --
X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


I was in the midst of creating a new Emacs frame (C-x 5 2) when my X
server (Xwayland) died.  I=E2=80=99ve only been using frames on this one se=
rver,
though it looks like the methods I=E2=80=99m using for creating them may gi=
ve me
a mix of $DISPLAY values of :0 and :0.0 in emacs and emacsclient
invocations, which Emacs may still be treating as different displays and
thus opening two connections.  This might explain trying to update
frames on one display when the other goes away.

I=E2=80=99m using the emacs-lucid-28.0.92-2.fc35.x86_64 package, as package=
d up
at
https://download.copr.fedorainfracloud.org/results/bhavin192/emacs-pretest/
, on Fedora 35.  It looks like my use of daemon mode has fallen by the
wayside somewhere, so losing both displays means the process exits.  I
had multiple IRC (rcirc) connections open, emacs server enabled, TRAMP
in use, and at least one interactive shell subprocess on a remote
machine.

Some notable stack frames:
 #51: creating a new frame
 #41: reporting lost connection to display :0
 #28: reporting lost connection to display :0.0; no frames left, kill emacs
 #23: calling hooks registered for kill-emacs
 #18: server-force-stop
 #14: delete-process calls into redisplay
 #12: redisplay (SELECTED_FRAME) calls emacs_abort
 #8:  shut_down_emacs kills processes
 #7:  delete-process calls into redisplay
 #5:  redisplay calls emacs_abort

(gdb) bt full=20
#0  __pthread_kill_implementation (threadid=3D<optimized out>, signo=3Dsign=
o@entry=3D6, no_tid=3Dno_tid@entry=3D0)
    at pthread_kill.c:44
        tid =3D <optimized out>
        ret =3D 0
        pd =3D <optimized out>
        old_mask =3D=20
            {__val =3D {23471232, 140312555028480, 140728384502134, 1403165=
50674212, 0, 32, 140728384501760, 5, 140724603453473, 15838018, 1, 23586016=
, 8388626, 1, 8, 281479271743543}}
        ret =3D <optimized out>
#1  0x00007f9dfac338f3 in __pthread_kill_internal (signo=3D6, threadid=3D<o=
ptimized out>) at pthread_kill.c:78
#2  0x00007f9dfabe66a6 in __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/po=
six/raise.c:26
        ret =3D <optimized out>
#3  0x0000000000423409 in terminate_due_to_signal (sig=3D6, backtrace_limit=
=3D<optimized out>)
    at ../../src/emacs.c:439
#4  0x0000000000423d4d in emacs_abort () at ../../src/sysdep.c:2282
#5  0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633
        w =3D <optimized out>
        sw =3D <optimized out>
        fr =3D <optimized out>
        pending =3D <optimized out>
        must_finish =3D <optimized out>
        match_p =3D <optimized out>
        tlbufpos =3D {charpos =3D <optimized out>, bytepos =3D <optimized o=
ut>}
        tlendpos =3D {charpos =3D <optimized out>, bytepos =3D <optimized o=
ut>}
        number_of_visible_frames =3D <optimized out>
        count =3D <optimized out>
        sf =3D <optimized out>
        polling_stopped_here =3D <optimized out>
        tail =3D <optimized out>
        frame =3D <optimized out>
        hscroll_retries =3D <optimized out>
        garbaged_frame_retries =3D <optimized out>
        consider_all_windows_p =3D <optimized out>
        update_miniwindow_p =3D <optimized out>
#6  0x00000000006518d5 in redisplay_preserve_echo_area.constprop.0 (from_wh=
ere=3D<optimized out>)
    at ../../src/xdisp.c:16471
        count =3D 24
#7  0x00000000005ed9e5 in Fdelete_process (process=3D0x4c8d795) at ../../sr=
c/process.c:1130
        symbol =3D <optimized out>
        p =3D 0x4c8d790
#8  0x00000000005fa275 in kill_buffer_processes (buffer=3D0x0) at ../../src=
/process.c:8121
        tail =3D 0x84a2783
        proc =3D <optimized out>
#9  0x00000000004235b2 in shut_down_emacs (sig=3D6, stuff=3D0x0) at ../../s=
rc/emacs.c:2797
        tpgrp =3D <optimized out>
        fmt =3D "Fatal error %d: %n%s\n"
#10 0x00000000004233d4 in terminate_due_to_signal (sig=3D6, backtrace_limit=
=3D40) at ../../src/emacs.c:422
#11 0x0000000000423d4d in emacs_abort () at ../../src/sysdep.c:2282
#12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633
        w =3D <optimized out>
        sw =3D <optimized out>
        fr =3D <optimized out>
        pending =3D <optimized out>
        must_finish =3D <optimized out>
        match_p =3D <optimized out>
        tlbufpos =3D {charpos =3D <optimized out>, bytepos =3D <optimized o=
ut>}
        tlendpos =3D {charpos =3D <optimized out>, bytepos =3D <optimized o=
ut>}
        number_of_visible_frames =3D <optimized out>
        count =3D <optimized out>
        sf =3D <optimized out>
        polling_stopped_here =3D <optimized out>
        tail =3D <optimized out>
        frame =3D <optimized out>
        hscroll_retries =3D <optimized out>
        garbaged_frame_retries =3D <optimized out>
        consider_all_windows_p =3D <optimized out>
        update_miniwindow_p =3D <optimized out>
#13 0x00000000006518d5 in redisplay_preserve_echo_area.constprop.0 (from_wh=
ere=3D<optimized out>) at ../../src/xdisp.c:16471
        count =3D 23
#14 0x00000000005ed9e5 in Fdelete_process (process=3D0x1d8c3bd) at ../../sr=
c/process.c:1130
        symbol =3D <optimized out>
        p =3D 0x1d8c3b8
#15 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e74b0) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df8e41b48 <text_data_fdoc_blob+3560>
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 22
#16 0x00007f9de9451ce6 in F7365727665722d7374617274_server_start_0 () at /u=
sr/lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/server-0cc44189-e26f66c=
b.eln
#17 0x000000000059cf58 in Ffuncall (nargs=3D3, args=3D0x7ffde15e7600) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df8e12098 <text_data_reloc_imp_blob+3416>
        funcar =3D <optimized out>
        numargs =3D 2
        val =3D <optimized out>
        count =3D 21
#18 0x00007f9de9452a3f in F7365727665722d666f7263652d73746f70_server_force_=
stop_0 () at /usr/lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/server-0=
cc44189-e26f66cb.eln
#19 0x000000000059cf58 in Ffuncall (nargs=3D1, args=3D0x7ffde15e7698) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x12e8200
        funcar =3D <optimized out>
        numargs =3D 0
        val =3D <optimized out>
        count =3D 20
#20 0x00007f9df90b3116 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambd=
a_125 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../=
bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/subr-13ad=
f6a6-f46f7f93.eln
#21 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e7790) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df9952d3d
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 19
#22 0x000000000059db10 in run_hook_wrapped_funcall (nargs=3D<optimized out>=
, args=3D0x7ffde15e7790) at ../../src/eval.c:2760
        tmp =3D 0x12e8200
        ret =3D <optimized out>
#23 0x000000000059c0ad in run_hook_with_args (nargs=3D2, args=3D0x7ffde15e7=
790, funcall=3D0x59daf0 <run_hook_wrapped_funcall>) at ../../src/eval.c:284=
1
        global_vals =3D <optimized out>
        sym =3D 0x93f0
        val =3D 0x22cbdb3
        ret =3D <optimized out>
#24 0x00007f9df90b3173 in F72756e2d686f6f6b2d71756572792d6572726f722d776974=
682d74696d656f7574_run_hook_query_error_with_timeout_0 () at /usr/libexec/e=
macs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92=
/native-lisp/28.0.92-47b3e935/preloaded/subr-13adf6a6-f46f7f93.eln
#25 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e7808) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0xcd50
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 18
#26 0x0000000000423788 in call1 (arg1=3D0x93f0, fn=3D0xcd50) at ../../src/e=
val.c:2883
        exit_code =3D <optimized out>
#27 Fkill_emacs (arg=3D0x11a) at ../../src/emacs.c:2706
        exit_code =3D <optimized out>
#28 0x0000000000422866 in x_connection_closed (dpy=3Ddpy@entry=3D0x511fc50,=
 error_message=3Derror_message@entry=3D0x7ffde15e78e8 "Connection lost to X=
 server ':0.0'", ioerror=3Dioerror@entry=3Dtrue) at ../../src/xterm.c:10240
        dpyinfo =3D <optimized out>
        frame =3D <optimized out>
        tail =3D 0x0
        idx =3D <optimized out>
#29 0x0000000000422918 in x_io_error_quitter (display=3D0x511fc50) at ../..=
/src/xterm.c:10315
        buf =3D "Connection lost to X server ':0.0'", '\000' <repeats 22 ti=
mes>, "\fEKb\000\000\000\000\367[\307\025\000\000\000\000\340y^\341\375\177=
\000\000\000\243\377\346C\223\017\307\312I_\341\375\177\000\000zo`", '\000'=
 <repeats 14 times>, "\243\377\346C\223\017\307\fEKb\000\000\000\000\020\24=
4\340\n", '\000' <repeats 20 times>, "(\244\340\n", '\000' <repeats 12 time=
s>, "\250|^\341\375\177\000\000$\267(\376\235\177\000\000\020\244\340\n\000=
\000\000\000P\374\021\005\000\000\000\000"...
#30 0x00007f9dfe2f5453 in _XIOError (dpy=3Ddpy@entry=3D0x511fc50) at /usr/s=
rc/debug/libX11-1.7.3.1-1.fc35.x86_64/src/XlibInt.c:1548
        exit_handler =3D 0x7f9dfe2f1fb0 <_XDefaultIOErrorExit>
        exit_handler_data =3D 0x0
#31 0x00007f9dfe2f8d05 in _XEventsQueued (mode=3D<optimized out>, dpy=3D0x5=
11fc50) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/xcb_io.c:435
        response =3D <optimized out>
#32 _XEventsQueued (dpy=3D0x511fc50, mode=3D<optimized out>) at /usr/src/de=
bug/libX11-1.7.3.1-1.fc35.x86_64/src/xcb_io.c:414
#33 0x00007f9dfe2e5411 in XPending (dpy=3D0x511fc50) at /usr/src/debug/libX=
11-1.7.3.1-1.fc35.x86_64/src/Pending.c:55
        ret_val =3D <optimized out>
#34 0x00000000004f9f12 in XTread_socket (terminal=3D<optimized out>, hold_q=
uit=3D0x7ffde15e7b90) at ../../src/xterm.c:9492
        count =3D 0
        event_found =3D false
        dpyinfo =3D 0xa78fc30
#35 0x0000000000523502 in gobble_input () at ../../src/keyboard.c:6980
        nr =3D <optimized out>
        hold_quit =3D {kind =3D NO_EVENT, part =3D scroll_bar_nowhere, code=
 =3D 0, modifiers =3D 0, x =3D 0x0, y =3D 0x0, timestamp =3D 0, frame_or_wi=
ndow =3D 0x0, arg =3D 0x0}
        next =3D 0x0
        nread =3D 0
        err =3D false
        t =3D 0xad81e38
#36 0x0000000000523985 in handle_async_input () at ../../src/keyboard.c:721=
1
        nread =3D <optimized out>
#37 process_pending_signals () at ../../src/keyboard.c:7225
#38 unblock_input_to (level=3D<optimized out>) at ../../src/keyboard.c:7240
#39 unblock_input_to (level=3D<optimized out>) at ../../src/keyboard.c:7234
#40 0x000000000042286d in totally_unblock_input () at ../../src/keyboard.c:=
7268
        dpyinfo =3D <optimized out>
        frame =3D <optimized out>
        tail =3D 0x0
        idx =3D <optimized out>
#41 x_connection_closed (dpy=3Ddpy@entry=3D0x167e4e0, error_message=3Derror=
_message@entry=3D0x7ffde15e7ca8 "Connection lost to X server ':0'", ioerror=
=3Dioerror@entry=3Dtrue) at ../../src/xterm.c:10243
        dpyinfo =3D <optimized out>
        frame =3D <optimized out>
        tail =3D 0x0
        idx =3D <optimized out>
#42 0x0000000000422918 in x_io_error_quitter (display=3D0x167e4e0) at ../..=
/src/xterm.c:10315
        buf =3D "Connection lost to X server ':0'\000\000\000\000\000\000\0=
00\000@}^\341\375\177\000\000\030}^\341\375\177\000\000\320{u\001\000\000\0=
00\000\001\244(\376\235\177\000\000S\256\361\000\000\000\000\000B\266(\376\=
235\177\000\000\320{u\001\000\000\000\000\350{u\001\000\000\000\000\003", '=
\000' <repeats 15 times>, "S\256\361\000\000\000\000\000@}^\341\375\177\000=
\000\000\000\000\000\000\000\000\000\240}^\341\375\177", '\000' <repeats 38=
 times>, "\004", '\000' <repeats 11 times>...
#43 0x00007f9dfe2f5453 in _XIOError (dpy=3Ddpy@entry=3D0x167e4e0) at /usr/s=
rc/debug/libX11-1.7.3.1-1.fc35.x86_64/src/XlibInt.c:1548
        exit_handler =3D 0x7f9dfe2f1fb0 <_XDefaultIOErrorExit>
        exit_handler_data =3D 0x0
#44 0x00007f9dfe2fa677 in _XReply (dpy=3D0x167e4e0, rep=3D0x7ffde15e7e50, e=
xtra=3D0, discard=3D1) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/x=
cb_io.c:797
        error =3D 0x0
        c =3D 0x1757bd0
        reply =3D 0x0
        current =3D 0xaac9470
        dpy_request =3D <optimized out>
        __PRETTY_FUNCTION__ =3D "_XReply"
#45 0x00007f9dfe2ed62f in XSync (dpy=3Ddpy@entry=3D0x167e4e0, discard=3Ddis=
card@entry=3D0) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/Sync.c:4=
4
        rep =3D {type =3D 58 ':', revertTo =3D 0 '\000', sequenceNumber =3D=
 0, length =3D 0, focus =3D 205685472, pad1 =3D 0, pad2 =3D 82007728, pad3 =
=3D 0, pad4 =3D 232, pad5 =3D 0}
#46 0x00000000004fb9db in x_catch_errors_with_handler (handler_data=3D0x0, =
handler=3D0x0, dpy=3D0x167e4e0) at ../../src/xterm.c:10015
        data =3D 0xca71500
#47 x_catch_errors (dpy=3D0x167e4e0) at ../../src/xterm.c:10028
#48 set_up_x_back_buffer (f=3D0x4e356b0) at ../../src/xfns.c:2867
#49 0x00000000004fd8c1 in initial_set_up_x_back_buffer (f=3D0x4e356b0) at .=
./../src/xfns.c:2911
#50 0x00000000004fdd71 in x_window (f=3Df@entry=3D0x4e356b0, window_prompti=
ng=3Dwindow_prompting@entry=3D0) at ../../src/xfns.c:3070
        class_hints =3D {res_name =3D 0x4e35918 "\031\200\002\n", res_class=
 =3D 0x4471f9 <window_box_height+185> "\204\300t\r\213\203\350\001"}
        attributes =3D {background_pixmap =3D 0, background_pixel =3D 0, bo=
rder_pixmap =3D 2817498546176, border_pixel =3D 0, bit_gravity =3D 0, win_g=
ravity =3D 0, backing_store =3D 82007728, backing_planes =3D 240531104, bac=
king_pixel =3D 321, save_under =3D 640, event_mask =3D 240531088, do_not_pr=
opagate_mask =3D 140316495178400, override_redirect =3D -87810341, colormap=
 =3D 148956176, cursor =3D 148956176}
        attribute_mask =3D <optimized out>
        shell_widget =3D 0xb296090
        pane_widget =3D 0xb2c1c10
        frame_widget =3D 0xc4282e0
        al =3D {{name =3D 0x6d31e5 <XtStrings+453> "mappedWhenManaged", val=
ue =3D 0}, {name =3D 0x665e59 "showGrip", value =3D 0}, {name =3D 0x665e62 =
"allowResize", value =3D 1}, {name =3D 0x665e6e "resizeToPreferred", value =
=3D 1}, {name =3D 0x665e80 "emacsFrame", value =3D 82007728}, {name =3D 0x6=
d2b68 <XtShellStrings+104> "visual", value =3D 24458432}, {name =3D 0x6d30c=
3 <XtStrings+163> "depth", value =3D 24}, {name =3D 0x6d30ba <XtStrings+154=
> "colormap", value =3D 58}, {name =3D 0x6d309c <XtStrings+124> "borderWidt=
h", value =3D 0}, {name =3D 0x22 <error: Cannot access memory at address 0x=
22>, value =3D 5914917}, {name =3D 0x50 <error: Cannot access memory at add=
ress 0x50>, value =3D 30340419}, {name =3D 0x24 <error: Cannot access memor=
y at address 0x24>, value =3D 238313091}, {name =3D 0xf330 <error: Cannot a=
ccess memory at address 0xf330>, value =3D 0}, {name =3D 0x0, value =3D 244=
28896}, {name =3D 0x0, value =3D 4476911}, {name =3D 0x7c80 <error: Cannot =
access memory at address 0x7c80>, value =3D 5914917}, {name =3D 0x280000002=
31 <error: Cannot access memory at address 0x28000000231>, value =3D 303404=
19}, {name =3D 0x7350 <error: Cannot access memory at address 0x7350>, valu=
e =3D 238313091}, {name =3D 0x8340 <error: Cannot access memory at address =
0x8340>, value =3D 0}, {name =3D 0x0, value =3D 24428896}, {name =3D 0x0, v=
alue =3D 4476911}, {name =3D 0xe345e83 "\016", value =3D 24428896}, {name =
=3D 0x60 <error: Cannot access memory at address 0x60>, value =3D 96}, {nam=
e =3D 0x0, value =3D 4477959}, {name =3D 0x2 <error: Cannot access memory a=
t address 0x2>, value =3D 2748779070052}}
        ac =3D 9
#51 0x0000000000503308 in Fx_create_frame (parms=3D0xe345e83) at ../../src/=
xfns.c:4037
        f =3D 0x4e356b0
        frame =3D 0x4e356b5
        tem =3D <optimized out>
        name =3D <optimized out>
        minibuffer_only =3D <optimized out>
        undecorated =3D <optimized out>
        override_redirect =3D <optimized out>
        window_prompting =3D <optimized out>
        count =3D <optimized out>
        display =3D <optimized out>
        dpyinfo =3D 0x174c160
        parent =3D <optimized out>
        parent_frame =3D <optimized out>
        kb =3D <optimized out>
#52 0x00007f9df8fd1f57 in F782d6372656174652d6672616d652d776974682d66616365=
73_x_create_frame_with_faces_0 () at /usr/libexec/emacs/28.0.92/x86_64-redh=
at-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b=
3e935/preloaded/faces-b9447c93-7a9c9f1b.eln
#53 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e8490) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df8971970
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 14
#54 0x00000000005e2ca2 in exec_byte_code (bytestr=3D<optimized out>, vector=
=3D<optimized out>, maxdepth=3D<optimized out>, args_template=3D<optimized =
out>, nargs=3D<optimized out>, args=3D<optimized out>) at ../../src/bytecod=
e.c:632
        op =3D <optimized out>
        type =3D <optimized out>
        const_length =3D <optimized out>
        bytestr_length =3D <optimized out>
        vectorp =3D 0x7f9df9399648
        quitcounter =3D 1 '\001'
        stack_items =3D <optimized out>
        sa_avail =3D <optimized out>
        sa_count =3D <optimized out>
        alloc =3D <optimized out>
        stack_base =3D <optimized out>
        top =3D 0x7ffde15e8490
        stack_lim =3D <optimized out>
        bytestr_data =3D 0x7ffde15e84a0 "\300\001!\207"
        pc =3D <optimized out>
        count =3D 14
        result =3D <optimized out>
        targets =3D {0x42910f <exec_byte_code-1808545>, 0x5e4e5d <exec_byte=
_code+9389>, 0x5e4e54 <exec_byte_code+9380>, 0x5e2e3c <exec_byte_code+1164>=
, 0x5e3408 <exec_byte_code+2648>, 0x5e2e40 <exec_byte_code+1168>, 0x5e5f0b =
<exec_byte_code+13659>, 0x5e5eb2 <exec_byte_code+13570>, 0x5e3266 <exec_byt=
e_code+2230>, 0x5e325d <exec_byte_code+2221>, 0x5e2db9 <exec_byte_code+1033=
>, 0x5e3170 <exec_byte_code+1984>, 0x5e4e4b <exec_byte_code+9371>, 0x5e2dc0=
 <exec_byte_code+1040>, 0x5e300b <exec_byte_code+1627>, 0x5e3179 <exec_byte=
_code+1993>, 0x5e334f <exec_byte_code+2463>, 0x5e3346 <exec_byte_code+2454>=
, 0x5e2d2e <exec_byte_code+894>, 0x5e333d <exec_byte_code+2445>, 0x5e2fab <=
exec_byte_code+1531>, 0x5e2d38 <exec_byte_code+904>, 0x5e32f8 <exec_byte_co=
de+2376>, 0x5e3316 <exec_byte_code+2406>, 0x5e3373 <exec_byte_code+2499>, 0=
x5e336a <exec_byte_code+2490>, 0x5e2cd0 <exec_byte_code+800>, 0x5e3361 <exe=
c_byte_code+2481>, 0x5e3358 <exec_byte_code+2472>, 0x5e2cd8 <exec_byte_code=
+808>, 0x5e33a3 <exec_byte_code+2547>, 0x5e337c <exec_byte_code+2508>, 0x5e=
2f60 <exec_byte_code+1456>, 0x5e2fa2 <exec_byte_code+1522>, 0x5e2c70 <exec_=
byte_code+704>, 0x5e2f99 <exec_byte_code+1513>, 0x5e2f90 <exec_byte_code+15=
04>, 0x5e2c78 <exec_byte_code+712>, 0x5e2f42 <exec_byte_code+1426>, 0x5e2f6=
9 <exec_byte_code+1465>, 0x5e32c8 <exec_byte_code+2328>, 0x5e2f1b <exec_byt=
e_code+1387>, 0x5e2c07 <exec_byte_code+599>, 0x5e2f12 <exec_byte_code+1378>=
, 0x5e2f09 <exec_byte_code+1369>, 0x5e2c10 <exec_byte_code+608>, 0x5e2f24 <=
exec_byte_code+1396>, 0x5e32d1 <exec_byte_code+2337>, 0x5e4028 <exec_byte_c=
ode+5752>, 0x5e406a <exec_byte_code+5818>, 0x5e3f1f <exec_byte_code+5487>, =
0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429=
113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <=
exec_byte_code-1808541>, 0x5e3a7c <exec_byte_code+4300>, 0x5e3a27 <exec_byt=
e_code+4215>, 0x5e39cf <exec_byte_code+4127>, 0x5e3977 <exec_byte_code+4039=
>, 0x5e391d <exec_byte_code+3949>, 0x5e30c8 <exec_byte_code+1816>, 0x5e3074=
 <exec_byte_code+1732>, 0x5e38da <exec_byte_code+3882>, 0x5e3125 <exec_byte=
_code+1909>, 0x5e3029 <exec_byte_code+1657>, 0x5e4df7 <exec_byte_code+9287>=
, 0x5e4db4 <exec_byte_code+9220>, 0x5e4d53 <exec_byte_code+9123>, 0x5e4ce3 =
<exec_byte_code+9011>, 0x5e4c59 <exec_byte_code+8873>, 0x5e4b8d <exec_byte_=
code+8669>, 0x5e4b39 <exec_byte_code+8585>, 0x5e4ae1 <exec_byte_code+8497>,=
 0x5e4a93 <exec_byte_code+8419>, 0x5e4a3a <exec_byte_code+8330>, 0x5e49df <=
exec_byte_code+8239>, 0x5e498b <exec_byte_code+8155>, 0x5e4937 <exec_byte_c=
ode+8071>, 0x5e48df <exec_byte_code+7983>, 0x5e488a <exec_byte_code+7898>, =
0x5e4835 <exec_byte_code+7813>, 0x5e4778 <exec_byte_code+7624>, 0x5e4708 <e=
xec_byte_code+7512>, 0x5e4698 <exec_byte_code+7400>, 0x5e4642 <exec_byte_co=
de+7314>, 0x5e45e9 <exec_byte_code+7225>, 0x5e4590 <exec_byte_code+7136>, 0=
x5e4537 <exec_byte_code+7047>, 0x5e44de <exec_byte_code+6958>, 0x5e4480 <ex=
ec_byte_code+6864>, 0x5e440f <exec_byte_code+6751>, 0x5e43b4 <exec_byte_cod=
e+6660>, 0x5e433c <exec_byte_code+6540>, 0x5e42c4 <exec_byte_code+6420>, 0x=
5e4266 <exec_byte_code+6326>, 0x5e5737 <exec_byte_code+11655>, 0x5e2e8d <ex=
ec_byte_code+1245>, 0x5e56f6 <exec_byte_code+11590>, 0x5e569c <exec_byte_co=
de+11500>, 0x5e55c9 <exec_byte_code+11289>, 0x5e556b <exec_byte_code+11195>=
, 0x5e552a <exec_byte_code+11130>, 0x5e54e4 <exec_byte_code+11060>, 0x5e549=
e <exec_byte_code+10990>, 0x5e5450 <exec_byte_code+10912>, 0x5e540d <exec_b=
yte_code+10845>, 0x429113 <exec_byte_code-1808541>, 0x5e53c7 <exec_byte_cod=
e+10775>, 0x5e535c <exec_byte_code+10668>, 0x5e5316 <exec_byte_code+10598>,=
 0x5e5a8e <exec_byte_code+12510>, 0x5e5a3b <exec_byte_code+12427>, 0x5e59fa=
 <exec_byte_code+12362>, 0x5e2e91 <exec_byte_code+1249>, 0x429113 <exec_byt=
e_code-1808541>, 0x5e5990 <exec_byte_code+12256>, 0x5e594a <exec_byte_code+=
12186>, 0x5e5909 <exec_byte_code+12121>, 0x5e58b0 <exec_byte_code+12032>, 0=
x5e585a <exec_byte_code+11946>, 0x5e5d1c <exec_byte_code+13164>, 0x5e5c71 <=
exec_byte_code+12993>, 0x5e5b8f <exec_byte_code+12767>, 0x5e5af9 <exec_byte=
_code+12617>, 0x5e5da3 <exec_byte_code+13299>, 0x5e5d5d <exec_byte_code+132=
29>, 0x5e4f89 <exec_byte_code+9689>, 0x429113 <exec_byte_code-1808541>, 0x5=
e3445 <exec_byte_code+2709>, 0x5e3866 <exec_byte_code+3766>, 0x5e2fb4 <exec=
_byte_code+1540>, 0x5e380f <exec_byte_code+3679>, 0x5e37bb <exec_byte_code+=
3595>, 0x5e3767 <exec_byte_code+3511>, 0x5e34d0 <exec_byte_code+2848>, 0x5e=
3499 <exec_byte_code+2793>, 0x5e33c1 <exec_byte_code+2577>, 0x5e3411 <exec_=
byte_code+2657>, 0x5e418e <exec_byte_code+6110>, 0x5e4119 <exec_byte_code+5=
993>, 0x5e3fcd <exec_byte_code+5661>, 0x5e407f <exec_byte_code+5839>, 0x5e3=
afd <exec_byte_code+4429>, 0x5e3ca5 <exec_byte_code+4853>, 0x5e3b55 <exec_b=
yte_code+4517>, 0x5e38a1 <exec_byte_code+3825>, 0x5e4f2f <exec_byte_code+95=
99>, 0x5e6075 <exec_byte_code+14021>, 0x5e6032 <exec_byte_code+13954>, 0x5e=
5fef <exec_byte_code+13887>, 0x5e5fa9 <exec_byte_code+13817>, 0x5e610f <exe=
c_byte_code+14175>, 0x5e60bb <exec_byte_code+14091>, 0x5e6163 <exec_byte_co=
de+14259>, 0x5e52c2 <exec_byte_code+10514>, 0x5e5249 <exec_byte_code+10393>=
, 0x5e51f5 <exec_byte_code+10309>, 0x5e51a1 <exec_byte_code+10225>, 0x5e516=
0 <exec_byte_code+10160>, 0x5e50e6 <exec_byte_code+10038>, 0x5e506c <exec_b=
yte_code+9916>, 0x5e501b <exec_byte_code+9835>, 0x5e4fca <exec_byte_code+97=
54>, 0x5e5f5b <exec_byte_code+13739>, 0x5e580c <exec_byte_code+11868>, 0x5e=
5795 <exec_byte_code+11749>, 0x5e4ec4 <exec_byte_code+9492>, 0x5e4e66 <exec=
_byte_code+9398>, 0x429113 <exec_byte_code-1808541>, 0x5e36e1 <exec_byte_co=
de+3377>, 0x5e368e <exec_byte_code+3294>, 0x5e363b <exec_byte_code+3211>, 0=
x5e35eb <exec_byte_code+3131>, 0x5e359b <exec_byte_code+3051>, 0x5e4bce <ex=
ec_byte_code+8734>, 0x5e47cd <exec_byte_code+7709>, 0x5e5627 <exec_byte_cod=
e+11383>, 0x5e5e5a <exec_byte_code+13482>, 0x5e5df7 <exec_byte_code+13383>,=
 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e=
326f <exec_byte_code+2239>, 0x5e31e9 <exec_byte_code+2105>, 0x429113 <exec_=
byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_=
code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-=
1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-18085=
41>, 0x429113 <exec_byte_code-1808541>, 0x5e31a0 <exec_byte_code+2032> <rep=
eats 64 times>}
#55 0x000000000059cde7 in Ffuncall (nargs=3D2, args=3D0x7ffde15e87d0) at ..=
/../src/eval.c:3039
        fun =3D <optimized out>
        original_fun =3D 0x7f9df93995f5
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 13
#56 0x000000000059d5d3 in Fapply (nargs=3D2, args=3D0x7ffde15e87d0) at ../.=
./src/eval.c:2610
        i =3D <optimized out>
        funcall_nargs =3D <optimized out>
        funcall_args =3D 0x0
        spread_arg =3D 0xe345e13
        fun =3D 0x7f9df93995f5
        sa_avail =3D 16384
        sa_count =3D 13
        numargs =3D <optimized out>
        retval =3D <optimized out>
#57 0x000000000059cf58 in Ffuncall (nargs=3D3, args=3D0x7ffde15e87c8) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x2d90
        funcar =3D <optimized out>
        numargs =3D 2
        val =3D <optimized out>
        count =3D 12
#58 0x00000000005e2ca2 in exec_byte_code (bytestr=3D<optimized out>, vector=
=3D<optimized out>, maxdepth=3D<optimized out>, args_template=3D<optimized =
out>, nargs=3D<optimized out>, args=3D<optimized out>) at ../../src/bytecod=
e.c:632
        op =3D <optimized out>
        type =3D <optimized out>
        const_length =3D <optimized out>
        bytestr_length =3D <optimized out>
        vectorp =3D 0x7f9df9394750
        quitcounter =3D 1 '\001'
        stack_items =3D <optimized out>
        sa_avail =3D <optimized out>
        sa_count =3D <optimized out>
        alloc =3D <optimized out>
        stack_base =3D <optimized out>
        top =3D 0x7ffde15e87c8
        stack_lim =3D <optimized out>
        bytestr_data =3D 0x7ffde15e8830 "\f\306\307\002\r\"\303\307\002\002=
\"\206)"
        pc =3D <optimized out>
        count =3D 12
        result =3D <optimized out>
        targets =3D {0x42910f <exec_byte_code-1808545>, 0x5e4e5d <exec_byte=
_code+9389>, 0x5e4e54 <exec_byte_code+9380>, 0x5e2e3c <exec_byte_code+1164>=
, 0x5e3408 <exec_byte_code+2648>, 0x5e2e40 <exec_byte_code+1168>, 0x5e5f0b =
<exec_byte_code+13659>, 0x5e5eb2 <exec_byte_code+13570>, 0x5e3266 <exec_byt=
e_code+2230>, 0x5e325d <exec_byte_code+2221>, 0x5e2db9 <exec_byte_code+1033=
>, 0x5e3170 <exec_byte_code+1984>, 0x5e4e4b <exec_byte_code+9371>, 0x5e2dc0=
 <exec_byte_code+1040>, 0x5e300b <exec_byte_code+1627>, 0x5e3179 <exec_byte=
_code+1993>, 0x5e334f <exec_byte_code+2463>, 0x5e3346 <exec_byte_code+2454>=
, 0x5e2d2e <exec_byte_code+894>, 0x5e333d <exec_byte_code+2445>, 0x5e2fab <=
exec_byte_code+1531>, 0x5e2d38 <exec_byte_code+904>, 0x5e32f8 <exec_byte_co=
de+2376>, 0x5e3316 <exec_byte_code+2406>, 0x5e3373 <exec_byte_code+2499>, 0=
x5e336a <exec_byte_code+2490>, 0x5e2cd0 <exec_byte_code+800>, 0x5e3361 <exe=
c_byte_code+2481>, 0x5e3358 <exec_byte_code+2472>, 0x5e2cd8 <exec_byte_code=
+808>, 0x5e33a3 <exec_byte_code+2547>, 0x5e337c <exec_byte_code+2508>, 0x5e=
2f60 <exec_byte_code+1456>, 0x5e2fa2 <exec_byte_code+1522>, 0x5e2c70 <exec_=
byte_code+704>, 0x5e2f99 <exec_byte_code+1513>, 0x5e2f90 <exec_byte_code+15=
04>, 0x5e2c78 <exec_byte_code+712>, 0x5e2f42 <exec_byte_code+1426>, 0x5e2f6=
9 <exec_byte_code+1465>, 0x5e32c8 <exec_byte_code+2328>, 0x5e2f1b <exec_byt=
e_code+1387>, 0x5e2c07 <exec_byte_code+599>, 0x5e2f12 <exec_byte_code+1378>=
, 0x5e2f09 <exec_byte_code+1369>, 0x5e2c10 <exec_byte_code+608>, 0x5e2f24 <=
exec_byte_code+1396>, 0x5e32d1 <exec_byte_code+2337>, 0x5e4028 <exec_byte_c=
ode+5752>, 0x5e406a <exec_byte_code+5818>, 0x5e3f1f <exec_byte_code+5487>, =
0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429=
113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <=
exec_byte_code-1808541>, 0x5e3a7c <exec_byte_code+4300>, 0x5e3a27 <exec_byt=
e_code+4215>, 0x5e39cf <exec_byte_code+4127>, 0x5e3977 <exec_byte_code+4039=
>, 0x5e391d <exec_byte_code+3949>, 0x5e30c8 <exec_byte_code+1816>, 0x5e3074=
 <exec_byte_code+1732>, 0x5e38da <exec_byte_code+3882>, 0x5e3125 <exec_byte=
_code+1909>, 0x5e3029 <exec_byte_code+1657>, 0x5e4df7 <exec_byte_code+9287>=
, 0x5e4db4 <exec_byte_code+9220>, 0x5e4d53 <exec_byte_code+9123>, 0x5e4ce3 =
<exec_byte_code+9011>, 0x5e4c59 <exec_byte_code+8873>, 0x5e4b8d <exec_byte_=
code+8669>, 0x5e4b39 <exec_byte_code+8585>, 0x5e4ae1 <exec_byte_code+8497>,=
 0x5e4a93 <exec_byte_code+8419>, 0x5e4a3a <exec_byte_code+8330>, 0x5e49df <=
exec_byte_code+8239>, 0x5e498b <exec_byte_code+8155>, 0x5e4937 <exec_byte_c=
ode+8071>, 0x5e48df <exec_byte_code+7983>, 0x5e488a <exec_byte_code+7898>, =
0x5e4835 <exec_byte_code+7813>, 0x5e4778 <exec_byte_code+7624>, 0x5e4708 <e=
xec_byte_code+7512>, 0x5e4698 <exec_byte_code+7400>, 0x5e4642 <exec_byte_co=
de+7314>, 0x5e45e9 <exec_byte_code+7225>, 0x5e4590 <exec_byte_code+7136>, 0=
x5e4537 <exec_byte_code+7047>, 0x5e44de <exec_byte_code+6958>, 0x5e4480 <ex=
ec_byte_code+6864>, 0x5e440f <exec_byte_code+6751>, 0x5e43b4 <exec_byte_cod=
e+6660>, 0x5e433c <exec_byte_code+6540>, 0x5e42c4 <exec_byte_code+6420>, 0x=
5e4266 <exec_byte_code+6326>, 0x5e5737 <exec_byte_code+11655>, 0x5e2e8d <ex=
ec_byte_code+1245>, 0x5e56f6 <exec_byte_code+11590>, 0x5e569c <exec_byte_co=
de+11500>, 0x5e55c9 <exec_byte_code+11289>, 0x5e556b <exec_byte_code+11195>=
, 0x5e552a <exec_byte_code+11130>, 0x5e54e4 <exec_byte_code+11060>, 0x5e549=
e <exec_byte_code+10990>, 0x5e5450 <exec_byte_code+10912>, 0x5e540d <exec_b=
yte_code+10845>, 0x429113 <exec_byte_code-1808541>, 0x5e53c7 <exec_byte_cod=
e+10775>, 0x5e535c <exec_byte_code+10668>, 0x5e5316 <exec_byte_code+10598>,=
 0x5e5a8e <exec_byte_code+12510>, 0x5e5a3b <exec_byte_code+12427>, 0x5e59fa=
 <exec_byte_code+12362>, 0x5e2e91 <exec_byte_code+1249>, 0x429113 <exec_byt=
e_code-1808541>, 0x5e5990 <exec_byte_code+12256>, 0x5e594a <exec_byte_code+=
12186>, 0x5e5909 <exec_byte_code+12121>, 0x5e58b0 <exec_byte_code+12032>, 0=
x5e585a <exec_byte_code+11946>, 0x5e5d1c <exec_byte_code+13164>, 0x5e5c71 <=
exec_byte_code+12993>, 0x5e5b8f <exec_byte_code+12767>, 0x5e5af9 <exec_byte=
_code+12617>, 0x5e5da3 <exec_byte_code+13299>, 0x5e5d5d <exec_byte_code+132=
29>, 0x5e4f89 <exec_byte_code+9689>, 0x429113 <exec_byte_code-1808541>, 0x5=
e3445 <exec_byte_code+2709>, 0x5e3866 <exec_byte_code+3766>, 0x5e2fb4 <exec=
_byte_code+1540>, 0x5e380f <exec_byte_code+3679>, 0x5e37bb <exec_byte_code+=
3595>, 0x5e3767 <exec_byte_code+3511>, 0x5e34d0 <exec_byte_code+2848>, 0x5e=
3499 <exec_byte_code+2793>, 0x5e33c1 <exec_byte_code+2577>, 0x5e3411 <exec_=
byte_code+2657>, 0x5e418e <exec_byte_code+6110>, 0x5e4119 <exec_byte_code+5=
993>, 0x5e3fcd <exec_byte_code+5661>, 0x5e407f <exec_byte_code+5839>, 0x5e3=
afd <exec_byte_code+4429>, 0x5e3ca5 <exec_byte_code+4853>, 0x5e3b55 <exec_b=
yte_code+4517>, 0x5e38a1 <exec_byte_code+3825>, 0x5e4f2f <exec_byte_code+95=
99>, 0x5e6075 <exec_byte_code+14021>, 0x5e6032 <exec_byte_code+13954>, 0x5e=
5fef <exec_byte_code+13887>, 0x5e5fa9 <exec_byte_code+13817>, 0x5e610f <exe=
c_byte_code+14175>, 0x5e60bb <exec_byte_code+14091>, 0x5e6163 <exec_byte_co=
de+14259>, 0x5e52c2 <exec_byte_code+10514>, 0x5e5249 <exec_byte_code+10393>=
, 0x5e51f5 <exec_byte_code+10309>, 0x5e51a1 <exec_byte_code+10225>, 0x5e516=
0 <exec_byte_code+10160>, 0x5e50e6 <exec_byte_code+10038>, 0x5e506c <exec_b=
yte_code+9916>, 0x5e501b <exec_byte_code+9835>, 0x5e4fca <exec_byte_code+97=
54>, 0x5e5f5b <exec_byte_code+13739>, 0x5e580c <exec_byte_code+11868>, 0x5e=
5795 <exec_byte_code+11749>, 0x5e4ec4 <exec_byte_code+9492>, 0x5e4e66 <exec=
_byte_code+9398>, 0x429113 <exec_byte_code-1808541>, 0x5e36e1 <exec_byte_co=
de+3377>, 0x5e368e <exec_byte_code+3294>, 0x5e363b <exec_byte_code+3211>, 0=
x5e35eb <exec_byte_code+3131>, 0x5e359b <exec_byte_code+3051>, 0x5e4bce <ex=
ec_byte_code+8734>, 0x5e47cd <exec_byte_code+7709>, 0x5e5627 <exec_byte_cod=
e+11383>, 0x5e5e5a <exec_byte_code+13482>, 0x5e5df7 <exec_byte_code+13383>,=
 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e=
326f <exec_byte_code+2239>, 0x5e31e9 <exec_byte_code+2105>, 0x429113 <exec_=
byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_=
code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-=
1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-18085=
41>, 0x429113 <exec_byte_code-1808541>, 0x5e31a0 <exec_byte_code+2032> <rep=
eats 64 times>}
#59 0x000000000059cde7 in Ffuncall (nargs=3D2, args=3D0x7ffde15e8ae0) at ..=
/../src/eval.c:3039
        fun =3D <optimized out>
        original_fun =3D 0x7f9df896c988
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 11
#60 0x00007f9df8ec5892 in F6d616b652d6672616d65_make_frame_0 () at /usr/lib=
exec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/2=
8.0.92/native-lisp/28.0.92-47b3e935/preloaded/frame-b40fc590-795a6ee7.eln
#61 0x000000000059cf58 in Ffuncall (nargs=3D1, args=3D0x7ffde15e8c28) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df8a70bf8
        funcar =3D <optimized out>
        numargs =3D 0
        val =3D <optimized out>
        count =3D 9
#62 0x00007f9df8ec4e51 in F6d616b652d6672616d652d636f6d6d616e64_make_frame_=
command_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../..=
/../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/frame=
-b40fc590-795a6ee7.eln
#63 0x000000000059cf58 in Ffuncall (nargs=3D1, args=3D0x7ffde15e8e68) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x7f9df8916488
        funcar =3D <optimized out>
        numargs =3D 0
        val =3D <optimized out>
        count =3D 8
#64 0x000000000059cfb5 in Ffuncall_interactively (nargs=3D1, args=3D0x7ffde=
15e8e68) at ../../src/callint.c:260
        speccount =3D 7
#65 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e8e60) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x75f0
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 6
#66 0x000000000059d588 in Fapply (nargs=3Dnargs@entry=3D3, args=3Dargs@entr=
y=3D0x7ffde15e8e60) at ../../src/eval.c:2606
        i =3D <optimized out>
        funcall_nargs =3D <optimized out>
        funcall_args =3D 0x0
        spread_arg =3D 0x0
        fun =3D 0x75f0
        sa_avail =3D 16384
        sa_count =3D 6
        numargs =3D <optimized out>
        retval =3D <optimized out>
#67 0x00000000005a11bf in Fcall_interactively (function=3D0x7f9df8916488, r=
ecord_flag=3D0x0, keys=3D0x4e35695) at ../../src/callint.c:353
        funval =3D <optimized out>
        events =3D <optimized out>
        input =3D <optimized out>
        speccount =3D 5
        arg_from_tty =3D false
        key_count =3D 3
        record_then_fail =3D false
        save_this_command =3D 0x7f9df8916488
        save_this_original_command =3D 0x7f9df8916488
        save_real_this_command =3D 0x7f9df8916488
        save_last_command =3D 0xa163ce0
        prefix_arg =3D 0x0
        enable =3D <optimized out>
        up_event =3D 0x0
        form =3D <optimized out>
        specs =3D 0x0
        sa_avail =3D <optimized out>
        string_len =3D <optimized out>
        string =3D <optimized out>
        string_end =3D <optimized out>
        next_event =3D <optimized out>
        nargs =3D <optimized out>
        args =3D <optimized out>
        visargs =3D <optimized out>
        varies =3D <optimized out>
        tem =3D <optimized out>
        val =3D <optimized out>
#68 0x00007f9df916e0a1 in F636f6d6d616e642d65786563757465_command_execute_0=
 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/.=
./lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/simple-fab5b0c=
f-fcc5e219.eln
#69 0x000000000059cf58 in Ffuncall (nargs=3D2, args=3D0x7ffde15e9030) at ..=
/../src/eval.c:3023
        fun =3D <optimized out>
        original_fun =3D 0x4590
        funcar =3D <optimized out>
        numargs =3D 1
        val =3D <optimized out>
        count =3D 4
#70 0x00000000005202f7 in call1 (arg1=3D<optimized out>, fn=3D0x4590) at ..=
/../src/eval.c:2883
        scount =3D 3
        keybuf =3D {0x62, 0xd6, 0xca, 0x7ffde15e90d8, 0x4000000010000000, 0=
xc70f9343e6ffa300, 0x3, 0x78, 0x7ffde15e90c0, 0x0, 0x0, 0x0, 0x12e7813, 0x5=
a6404 <unbind_to+148>, 0xa, 0xda70, 0x30, 0x40e4595, 0x0, 0xc70f9343e6ffa30=
0, 0x3, 0x0, 0x3, 0xc211a93, 0x7ffde15e9120, 0x51962a <cmd_error+410>, 0x0,=
 0x7ffde15e9508, 0x12e7813, 0x5a6404 <unbind_to+148>}
        i =3D <optimized out>
        cmd =3D <optimized out>
        prev_modiff =3D 40288
        prev_buffer =3D 0x40e4590
        already_adjusted =3D false
#71 command_loop_1 () at ../../src/keyboard.c:1505
        scount =3D 3
        keybuf =3D {0x62, 0xd6, 0xca, 0x7ffde15e90d8, 0x4000000010000000, 0=
xc70f9343e6ffa300, 0x3, 0x78, 0x7ffde15e90c0, 0x0, 0x0, 0x0, 0x12e7813, 0x5=
a6404 <unbind_to+148>, 0xa, 0xda70, 0x30, 0x40e4595, 0x0, 0xc70f9343e6ffa30=
0, 0x3, 0x0, 0x3, 0xc211a93, 0x7ffde15e9120, 0x51962a <cmd_error+410>, 0x0,=
 0x7ffde15e9508, 0x12e7813, 0x5a6404 <unbind_to+148>}
        i =3D <optimized out>
        cmd =3D <optimized out>
        prev_modiff =3D 40288
        prev_buffer =3D 0x40e4590
        already_adjusted =3D false
#72 0x0000000000597f17 in internal_condition_case (bfun=3D0x51fe10 <command=
_loop_1>, handlers=3D<optimized out>, hfun=3D0x519490 <cmd_error>) at ../..=
/src/eval.c:1450
        val =3D <optimized out>
        c =3D 0x13e56b0
#73 0x0000000000517d6e in command_loop_2 (handlers=3Dhandlers@entry=3D0x90)=
 at ../../src/keyboard.c:1133
        val =3D <optimized out>
#74 0x0000000000597e59 in internal_catch (tag=3D<optimized out>, func=3D0x5=
17d40 <command_loop_2>, arg=3D0x90) at ../../src/eval.c:1181
        val =3D <optimized out>
        c =3D 0x13e5580
#75 0x00000000005199f9 in command_loop () at ../../src/keyboard.c:1111
#76 0x0000000000657878 in recursive_edit_1.isra.0 () at ../../src/keyboard.=
c:720
        count =3D 1
        val =3D <optimized out>
#77 0x000000000051fdfa in Frecursive_edit () at ../../src/keyboard.c:803
        count =3D 0
        buffer =3D <optimized out>
#78 0x000000000042d024 in main (argc=3D1, argv=3D<optimized out>) at ../../=
src/emacs.c:2381
        stack_bottom_variable =3D 0x0
        no_loadup =3D false
        junk =3D 0x0
        dname_arg =3D 0x0
        ch_to_dir =3D 0x0
        original_pwd =3D <optimized out>
        dump_mode =3D <optimized out>
        skip_args =3D 0
        temacs =3D 0x0
        attempt_load_pdump =3D <optimized out>
        rlim =3D {rlim_cur =3D 10022912, rlim_max =3D 18446744073709551615}
        lc_all =3D <optimized out>
        sockfd =3D <optimized out>
        module_assertions =3D <optimized out>
(gdb)=20




In GNU Emacs 28.0.92 (build 1, x86_64-redhat-linux-gnu, X toolkit, cairo ve=
rsion 1.17.4, Xaw3d scroll bars)
 of 2022-03-20 built on 5bed50ec23174a34b43f6166b598ee0b
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Fedora Linux 35 (Workstation Edition)

Configured using:
 'configure --build=3Dx86_64-redhat-linux-gnu
 --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
 --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr
 --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
 --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64
 --libexecdir=3D/usr/libexec --localstatedir=3D/var
 --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
 --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dlucid
 --with-gpm=3Dno --with-modules --with-harfbuzz --with-cairo --with-json
 --with-native-compilation build_alias=3Dx86_64-redhat-linux-gnu
 host_alias=3Dx86_64-redhat-linux-gnu CC=3Dgcc 'CFLAGS=3D-DMAIL_USE_LOCKF -=
O2
 -flto=3Dauto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2
 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=3D-Wl,-z,relro
 PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XAW3D XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  rcirc-track-minor-mode: t
  display-time-mode: t
  desktop-save-mode: t
  global-edit-server-edit-mode: t
  which-function-mode: t
  icomplete-mode: t
  shell-dirtrack-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/raeburn/.emacs.d/elpa/systemtap-mode-20151122.1940/systemtap-mode hid=
es /usr/share/emacs/site-lisp/systemtap-mode
/home/raeburn/.emacs.d/elpa/p4-20150721.1937/p4 hides /usr/share/emacs/site=
-lisp/perforce/p4
/home/raeburn/.emacs.d/elpa/transient-20211101.2251/transient hides /usr/sh=
are/emacs/28.0.92/lisp/transient

Features:
(shadow sort emacsbug sendmail gnus-topic nndraft nnmh nnfolder utf-7
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp
gnus-cache gnutls network-stream nsm mail-extr add-log markdown-mode
reveal dired-aux python tramp-sh mule-util dockerfile-mode mhtml-mode
css-mode color js sgml-mode facemenu ruby-mode texinfo texinfo-loaddefs
rst compile perl-mode sh-script smie executable bug-reference yaml-mode
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs conf-mode vc-git diff-mode vc-dispatcher face-remap
org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt
speedbar ezimage dframe ol-docview doc-view jka-compr image-mode exif
ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi ob-shell comp comp-cstr
warnings cl-extra help-mode rcirc gnus-art mm-uu mml2015 mm-view
mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047
rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr
wid-edit time desktop frameset cus-load kr-init docker-tramp tramp-cache
vagrant-tramp dash tramp tramp-loaddefs trampver tramp-integration
files-x tramp-compat parse-time ls-lisp org-protocol org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex
iso8601 time-date ol org-keys oc org-compat org-macs org-loaddefs
format-spec find-func cal-menu calendar cal-loaddefs edit-server advice
smart-quotes easy-mmode which-func imenu icomplete server term
disp-table shell pcomplete ehelp comint ansi-color ring hi-lock
finder-inf rx info package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
x-toolkit x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 654841 48233)
 (symbols 48 35199 4)
 (strings 32 139225 5483)
 (string-bytes 1 4550586)
 (vectors 16 70152)
 (vector-slots 8 1380556 48769)
 (floats 8 538 441)
 (intervals 56 5497 945)
 (buffers 992 176))





Acknowledgement sent to Ken Raeburn <raeburn@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#54715; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 5 Apr 2022 19:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.