From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65843: 28.2; Too many iconified frames in .emacs.desktop -> crash (macOS) Date: Sun, 10 Sep 2023 17:27:18 +0300 Message-ID: <834jk2rtmh.fsf@gnu.org> References: <83bkebtfdd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35723"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65843@debbugs.gnu.org To: Christian Tanzer , 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 16:28:20 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 1qfLQB-00094R-4d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 16:28:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfLPr-0007JW-NY; Sun, 10 Sep 2023 10:27:59 -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 1qfLPq-0007JA-G0 for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 10:27:58 -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 1qfLPq-0002kw-7f for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 10:27:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfLPt-0002yd-LQ for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Sep 2023 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65843 X-GNU-PR-Package: emacs Original-Received: via spool by 65843-submit@debbugs.gnu.org id=B65843.169435606811423 (code B ref 65843); Sun, 10 Sep 2023 14:28:01 +0000 Original-Received: (at 65843) by debbugs.gnu.org; 10 Sep 2023 14:27:48 +0000 Original-Received: from localhost ([127.0.0.1]:51065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfLPg-0002yA-0K for submit@debbugs.gnu.org; Sun, 10 Sep 2023 10:27:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfLPe-0002xy-E4 for 65843@debbugs.gnu.org; Sun, 10 Sep 2023 10:27:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfLPV-0002fh-5w; Sun, 10 Sep 2023 10:27:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=6AxOCAvMxyodjHqTBOGTWtIEYsu6v7r1midOzJ3Z3zw=; b=Ix/8004Pb7U4hLdf5kD0 RT2ur8e8X8hjNDF7UCxLLHOrWviSl/8oig7Npi8wPlbgt37TB9TKg95aRuK7oCsJRKphoVqWz7Nh7 N3cjRutMwgeahdWcQQzHR1azVpV0rLBq05LUL8jGbLToCB8FZueSTHlpk65lpCcw6ZdBxW4tQ778U D+8UclSPpsR+XKHrgULZZUM4BJrt1XsK0xbWOgrXUsa3FOge4jyHlrKeedGwnjlQ4supls46mLrtH elbWwD/f48DQYhl7fW/cWZgct/FCYTfcKc3p8NhSBt+Yo3poRzbeAUTfyA84kxw4rXUfDEQBh+rYc cQcaq11sBsmGqg==; In-Reply-To: (message from Christian Tanzer on Sun, 10 Sep 2023 15:11:29 +0100) 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:269967 Archived-At: > From: Christian Tanzer > Date: Sun, 10 Sep 2023 15:11:29 +0100 > Cc: 65843@debbugs.gnu.org > > On 09.09.2023, at 18:40, Eli Zaretskii wrote: > > > > 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. > > It took me a while to get lldb to run emacs (missing get-task-value entitlement), and then: > running under lldb, emacs doesn’t crash, but it also doesn’t open any frames: > > > 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/Emacs' (arm64) > > Process 22971 exited with status = 0 (0x00000000) > > (lldb) ^D > > > Without lldb: > > > /Applications/Emacs-28.2.app/Contents/MacOS/Emacs > > Fatal error 11: Segmentation fault > > Abort trap: 6 > > > Could you please give me a hint, how to start Emacs under lldb so that it behaves the same as if started interactively ? Thank you for your efforts. Gerd, could you perhaps help Christian reproduce this under LLDB and produce a useful backtrace? He needs to run Emacs so as to restore the desktop saved on the .emacs.desktop file. Thanks.