From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christian Tanzer via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65843: 28.2; Too many iconified frames in .emacs.desktop -> crash (macOS) Date: Sun, 10 Sep 2023 16:37:22 +0100 Message-ID: References: Reply-To: Christian Tanzer Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-6010037A-3EA2-4F6B-B279-84E93AE8EDB4 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65843@debbugs.gnu.org, eliz@gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 10 17:38:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qfMVy-00025J-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 17:38:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfMVd-0008Le-DR; Sun, 10 Sep 2023 11:38:01 -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 1qfMVb-0008Kr-3S for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 11:37:59 -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 1qfMVa-0005A2-Qy for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 11:37:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfMVe-0007Ms-8m for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christian Tanzer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Sep 2023 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65843 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Christian Tanzer via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Eli Zaretskii , 65843@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169436027228306 (code B ref -1); Sun, 10 Sep 2023 15:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Sep 2023 15:37:52 +0000 Original-Received: from localhost ([127.0.0.1]:51114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfMVT-0007MT-EO for submit@debbugs.gnu.org; Sun, 10 Sep 2023 11:37:51 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:54000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfMVS-0007M4-67 for submit@debbugs.gnu.org; Sun, 10 Sep 2023 11:37:50 -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 1qfMVI-0008Jk-RO for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 11:37:40 -0400 Original-Received: from mx0.gg32.com ([168.119.248.232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfMVF-000584-Gs; Sun, 10 Sep 2023 11:37:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=20220514; bh=TBv4CASMT7V D6d9qu1CVhe8padG2kUwaAJIzVGws7sk=; h=to:in-reply-to:cc:references: date:subject:from; d=gg32.com; b=iWj9UiSrJfJfGqs6wQa0FpeOiQttcWNvm8XVV GEUq3aihtOVDCN8pcSgXfkV8dD4b1KEXhohm5zs3HFIj2FTT0fqLLDFfTt0UvrQftbOv2k 33lsMZdp55Lj0W7IYpSpLazOc9/sFl2gVN3vvCqEmd82DYPrQ7oqHP1F4KTbknoLpdKVOP mucDulJR2ZuuKIhg47A/20lgjOQ1dwqt4B4Ovpw9eq22s/QmRkAQLWIt5bcIbaX38f9x2B KXGI4fBwcZa33g/lxwmn9jHUArlba5JLNml3s7Jjq6X20Js+UwpljdxlMAPhBziV7zAZ14 Zloa6dfKxM0COTEWFEBslIr7g== Original-Received: by mx0.gg32.com (OpenSMTPD) with ESMTPSA id d8a7c0ec (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 10 Sep 2023 16:37:34 +0100 (WEST) In-Reply-To: X-Mailer: iPad Mail (20G81) Received-SPF: pass client-ip=168.119.248.232; envelope-from=tanzer@gg32.com; helo=mx0.gg32.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:269973 Archived-At: --Apple-Mail-6010037A-3EA2-4F6B-B279-84E93AE8EDB4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 10.09.2023, at 16:08, Gerd M=C3=B6llmann wro= te: >=20 > =EF=BB=BFChristian Tanzer via "Bug reports for GNU Emacs, the Swiss army k= nife of > text editors" writes: >=20 >>> On 09.09.2023, at 18:40, Eli Zaretskii wrote: >>>=20 >>>> From: Christian Tanzer >>>> Date: Sat, 9 Sep 2023 18:36:07 +0100 >>>> Cc: 65843@debbugs.gnu.org >>>>=20 >>>>> On 09.09.2023, at 17:49, Eli Zaretskii wrote: >>>>>=20 >>>>> Thanks, can you run Emacs 29 under a debugger and show a backtrace >>>>> when it crashes? >>>>=20 >>>> Unfortunately, I don=E2=80=99t have a C development environment setup o= n my little MacBook (and haven=E2=80=99t used gdb for more than 20 years bes= ides). >>>=20 >>> Backtrace from LLDB will be also helpful. Without a crash backtrace, >>> we will have to wait until someone can reproduce the crashes on a >>> system where a debugger _is_ available. >>=20 >> It took me a while to get lldb to run emacs (missing get-task-value entit= lement), and then: >> running under lldb, emacs doesn=E2=80=99t crash, but it also doesn=E2=80=99= t open any >> frames: >=20 > Could you please tell which LLDB this is >=20 > lldb --version >=20 > and how you installed it? The missing entitlement is strange. lldb --version lldb-1205.0.27.3 Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) I didn=E2=80=99t install lldb itself, but I assume it was installed together= with the Xcode command line tools. The entitlement seems to be a frequent issue but it is very hard to find in D= uckDuckGo. >=20 >>> lldb /Applications/Emacs-28.2.app/Contents/MacOS/Emacs >>> (lldb) target create "/Applications/Emacs-28.2.app/Contents/MacOS/Emacs= " >>> Current executable set to >>> '/Applications/Emacs-28.2.app/Contents/MacOS/Emacs' (arm64). >>> (lldb) run >>> Process 22971 launched: '/Applications/Emacs-28.2.app/Contents/MacOS/Em= acs' (arm64) >>> Process 22971 exited with status =3D 0 (0x00000000)=20 >>> (lldb) ^D >=20 > This looks correct to me.=20 Except for Emacs exiting without doing anything? --Apple-Mail-6010037A-3EA2-4F6B-B279-84E93AE8EDB4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 10.09.2023, at 16:08, Gerd M=C3=B6llmann <gerd.moellmann@gmail.com= > wrote:

=EF=BB=BFChristian Tanzer via "Bug reports for GNU Emacs, the Swi= ss army knife of
text editors" <bug-gnu-emacs@gnu.org>= writes:

On 09.09= .2023, at 18:40, Eli Zaretskii <eliz@gnu.org> wrote:

<= /blockquote>
From: Christian Tanzer <tanzer@gg32.com&= gt;
Date: Sat, 9 Se= p 2023 18:36:07 +0100
Cc: 65843@debbugs.gnu.org

On 09.09.2023, at 17:49, Eli Zaretskii <eliz@gnu.org>= ; wrote:

Thanks, can you run Emacs 2= 9 under a debugger and show a backtrace
=
when it crashes?=

Unfortunately, I don=E2= =80=99t have a C development environment setup on my little MacBook (and hav= en=E2=80=99t used gdb for more than 20 years besides).

Backtrace from LLDB will be also helpful.  = ;Without a crash backtrace,
we will have to wait until some= one can reproduce the crashes on a
system where a debugger= _is_ available.

It took me a= while to get lldb to run emacs (missing get-task-value entitlement), and th= en:
running under lld= b, emacs doesn=E2=80=99t crash, but it also doesn=E2=80=99t open any<= br>
frames:

Could you please tell which LLDB this is
     lldb --version=

and how you installed it?  The missing entit= lement is strange.

lldb --versio= n
<= blockquote style=3D"margin: 0 0 0 40px; border: none; padding: 0px;">
ll= db-1205.0.27.3
Apple Swift version 5.4 (swiftlang-1205.0.26= .9 clang-1205.0.19.55)

I didn=E2= =80=99t install lldb itself, but I assume it was installed together with the= Xcode command line tools.

The entitlement seems to be a f= requent issue but it is very hard to find in DuckDuckGo.

<= blockquote type=3D"cite">

lldb /Applications/Emacs-28.2.app/Con= tents/MacOS/Emacs
 (lldb) target create "/Applicatio= ns/Emacs-28.2.app/Contents/MacOS/Emacs"
=
 Current exe= cutable set to
 '/Applications/Emacs-28.2.app/Conten= ts/MacOS/Emacs' (arm64).
 (lldb) run
 Process 22971 launched: '/Applications/Emacs-28.2.app/Contents/Mac= OS/Emacs' (arm64)
 Process 22971 exited with status =3D= 0 (0x00000000)
 (lldb) ^D
<= /blockquote>
This looks correct to me. 

Except for Emacs exiting without doing an= ything?
= --Apple-Mail-6010037A-3EA2-4F6B-B279-84E93AE8EDB4--