From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65843: 28.2; Too many iconified frames in .emacs.desktop -> crash (macOS) Date: Sun, 10 Sep 2023 19:38:39 +0200 Message-ID: References: <036BF52A-4EBC-4F33-8A52-7DF60F753A3D@gg32.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Third , 65843@debbugs.gnu.org To: Christian Tanzer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 10 19:39:06 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 1qfOOn-0005VA-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 19:39:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfOOj-0005Ao-UF; Sun, 10 Sep 2023 13:39: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 1qfOOh-0005Ad-8t for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 13:38: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 1qfOOg-0007IG-TC for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 13:38:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfOOk-0004kL-Dm for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Sep 2023 17:39:02 +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.169436753618232 (code B ref 65843); Sun, 10 Sep 2023 17:39:02 +0000 Original-Received: (at 65843) by debbugs.gnu.org; 10 Sep 2023 17:38:56 +0000 Original-Received: from localhost ([127.0.0.1]:51234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfOOd-0004k0-M9 for submit@debbugs.gnu.org; Sun, 10 Sep 2023 13:38:55 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:47107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfOOZ-0004jg-Ft for 65843@debbugs.gnu.org; Sun, 10 Sep 2023 13:38:54 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-502b0d23f28so1273837e87.2 for <65843@debbugs.gnu.org>; Sun, 10 Sep 2023 10:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694367521; x=1694972321; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=37ajgIdlakaQNLVeXJ8cFKytl8GdQaa8b+AHcpgwVH8=; b=SWArCzW6qDG8w2RPnFv9tGMVrvlGnYEbu/0y8s73ctU9dE5dlP4vPGgsrlKSphEAYk RlGMiu63mnnI/6cZxJMKTsec87JivyTjDRIgPemjfvJMzzXUF5lTQTO0z7sWkEHnkfgQ RWEO86YYnj41DjNGlxf7KTX6BbVMBI+CU/CnNoop2vbvuwKPyM80EhxzUUQql2TbimLs Ki6PqWTHU0YYbixvJAtgr385PV/T25GeSZIuE16D37hfKi03EKQuygFlGMFbTthsmK5x j0MFWhIKk3gB3Czsb5YTwmXbGOLcQNYDJN7is1twNiLn+SK+Uof14UBk1dVcvZFovWjw mrWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694367521; x=1694972321; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=37ajgIdlakaQNLVeXJ8cFKytl8GdQaa8b+AHcpgwVH8=; b=TBIpAN5OlOxe3FWnd/BYeZmn/uPcy3xGpQUaqAiruAAxzd6p8x4yAbY6bT2QMPoHef 6u+0HZgSVWp7rjkzqp3TUdeLIWYeC6wmJIb1l/HaBHEbeWJaJjKOUcRef6Z27r6rQfib iA2HVx+EWKkJwYOr3ITbSf2Xevq0Zt8wm7VtZYXMnnPqukjVRsSXNXBpfQi+xJnlnm8m EfMuRXlVOORJfdvqN7wUtYGtAaWYxVnc/gNZ5Qow+v4JxJ2fVIYyDvA1h0IgBTSB8pTJ IMBCODUU47+lCZdTUNJ7KWTlY8O8LULg4HQDIIZyJ6RyM0AejYgwAA1Jz2lkV5Rfx0Nu cKxw== X-Gm-Message-State: AOJu0YwtHHsHTWZEOpqdnCdi4LDEINrF4wOFPKeML32emfHVQb1XshgN IjEvj1naoMSdB1HvU4ZjqLrxMpg+/vzh6Q== X-Google-Smtp-Source: AGHT+IGuqhS8c7tRgtwVv8uvUv5fqOgj/Vp/b1clUIbt/D3e0bJ36Cm31V85/amihciUZDFmYDlsTg== X-Received: by 2002:a05:6512:2019:b0:4fe:4f8:8e75 with SMTP id a25-20020a056512201900b004fe04f88e75mr5829803lfb.68.1694367521334; Sun, 10 Sep 2023 10:38:41 -0700 (PDT) Original-Received: from Pro.fritz.box (pd9e3610e.dip0.t-ipconnect.de. [217.227.97.14]) by smtp.gmail.com with ESMTPSA id gx21-20020a170906f1d500b00992665694f7sm4066111ejb.107.2023.09.10.10.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 10:38:40 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sun, 10 Sep 2023 19:09:39 +0200") 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:269989 Archived-At: Gerd M=C3=B6llmann writes: > Gerd M=C3=B6llmann writes: > >> Christian Tanzer writes: >> >>> Weirder and weirder =E2=80=A6 >> >> Wait a moment... I just got this >> >> [emacs-29] gerd@Mini 2023-09-10 17:24=20 >> ~/emacs/29/src/ > ~/emacs/29/src/emacs -Q --eval '(desktop-read "~/bug-s= owieso")'=20 >> objc[88769]: autorelease pool page 0x11b4a5000 corrupted >> magic 0x00000000 0x00000000 0x00000000 0x00000000 >> should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341 >> pthread 0x201892080 >> should be 0x201892080 >> >> Fatal error 6: Aborted >> >> It doesn't seem to happen everytime, and to make things weirder, >> I didn't get it to abort under lldb. >> >> Guess I'll build an emacs-29 with all checking bells and whistles now. >> >> I come back to you when I find something out. > > That's gonna be a bit more difficult than I thought. With ASAN, > > CFLAGS =3D -g -O0 -fsanitize=3Daddress -fno-omit-frame-pointer > > the abort does not happen when run 100 times, like so > > #! /usr/bin/env zsh > > for i in {1..100}; do > ~/emacs/29/src/emacs -Q --eval '(desktop-read "~/bug-sowieso")' --eva= l '(kill-emacs)' > done > > I'll have to let that sink in a bit, to get an idea how to preceed. Cool: If a build with ASAN, but with -O2 and leave out omit-frame-pointer, the abort happens, with enough tries, but ASAN isn't triggered. So, I guess it's not something in Emacs' code.