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#57751: 29.0.50; crash in GC Date: Thu, 15 Sep 2022 10:42:12 +0200 Message-ID: References: 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="10147"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: 57751@debbugs.gnu.org To: Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 10:54:39 2022 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 1oYkdq-0002Ww-Kf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 10:54:38 +0200 Original-Received: from localhost ([::1]:58058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYkdm-000178-0Y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 04:54:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYkSc-00015X-TD for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 04:43:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYkSc-0000MV-LT for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 04:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYkSc-0003v5-GR for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 04:43: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: Thu, 15 Sep 2022 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57751 X-GNU-PR-Package: emacs Original-Received: via spool by 57751-submit@debbugs.gnu.org id=B57751.166323134414972 (code B ref 57751); Thu, 15 Sep 2022 08:43:02 +0000 Original-Received: (at 57751) by debbugs.gnu.org; 15 Sep 2022 08:42:24 +0000 Original-Received: from localhost ([127.0.0.1]:57015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYkRz-0003tQ-UW for submit@debbugs.gnu.org; Thu, 15 Sep 2022 04:42:24 -0400 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:34644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYkRw-0003tB-Pt for 57751@debbugs.gnu.org; Thu, 15 Sep 2022 04:42:21 -0400 Original-Received: by mail-ej1-f53.google.com with SMTP id y3so40529360ejc.1 for <57751@debbugs.gnu.org>; Thu, 15 Sep 2022 01:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=m6Br4tpdkfdi6VIMMzVVhXS6jINOuRHKHf5m5zzPkW0=; b=iDzYZWAGET0TzhQCSovL0hQBo55+U4c49fPloAZPPUpNE8aZqK3BsWUILTVgBiglDW lLEwvxAIQmTjZdOankzQwyllfFejqXTa10CxeE2TdtEu/QhQZ6/fqZffB4JNSIND6mHs jjLSLKpnhScgpyBLIQ+h5d3ExNE9hyeDmD3hMlD3s+FBSp1H2E7J2+VRlRBQV3aTLrF4 NQxQZ6o8dWJoLstKwnpLIxFDtIWu67wWAA6lmzkA5FCiL5Joci+g1mgiORbD+EjOu6u6 cc+3NF7AShabw27fEXvZGkvQ+X42Az1mXIPB9Lev4gmWQS1Pmb54ZzSbIzVXuTPBW+7V nZ3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=m6Br4tpdkfdi6VIMMzVVhXS6jINOuRHKHf5m5zzPkW0=; b=jk7Ty3sEOHrX7yWslynmF5/FQPFzkYf4jU/5LChywBLULFkIXFSFZOBweL3ZM3j0GA jioU1NVkLAzmyCjCBX17sEITnAVn6jUl0nDkuqv/QSFNSqU5jpAdhrTrxrvij1NIHi00 fQjiaMIb7ROjOU1CMneP3PQTMtNh2hhClHk5S5cLxAC3N1pHumjev47HzMdWQ53aRYRG SEvGDeuc80uZomGZ1Cbu0fWsOucw17x2rvYOxM8k6OVlEyuEfytFn0w9t0PAKB92KAZw a+AqrVtEaTAwBpIHFVXmoSn1NpC3eODB5PJe20Nipd5C2E0RVNJMkUz+KQbKl+XxJQ2o Xmmg== X-Gm-Message-State: ACgBeo01E/S0+d0Xe1IIGjji7MXpgaq3MMD0Yn2S6TwaWlN6udeShWl7 PIOK6wHszQjHEM9S6cd/fww86isr9a0= X-Google-Smtp-Source: AA6agR6NMKGGpu1zdhziCE+hTdq8b+B4tyl6p+rYIgOVBRvi7KAyABALEg9nFMzNcqkHzmBwd5/Ojw== X-Received: by 2002:a17:907:a049:b0:77c:1f27:1b28 with SMTP id gz9-20020a170907a04900b0077c1f271b28mr16746683ejc.20.1663231334239; Thu, 15 Sep 2022 01:42:14 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e368e8.dip0.t-ipconnect.de. [217.227.104.232]) by smtp.gmail.com with ESMTPSA id v23-20020aa7cd57000000b0044e796598bdsm11274860edw.11.2022.09.15.01.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 01:42:13 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 15 Sep 2022 07:28:17 +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" Xref: news.gmane.io gmane.emacs.bugs:242566 Archived-At: Gerd M=C3=B6llmann writes: > I think I'll try next to reproduce this desktop loading/moving frame > crash here. When I get something, I'll bisect, and then let's see > further. I'll report back when I have something. Just want to drop this here, because I'll probably only continue tomorrow. And because I find this a little bit baffling. Save the following 2 lines as crash.el, which are what I could reduce my init file to: (custom-set-variables '(save-place-mode t)) Then start Emacs from the src directory like this: lldb emacs run -Q -l crash.el xdisp.c dispextern.h lisp.h nsterm.m xterm.c When the Emacs GUI window appears, quickly grab its titlebar with the mouse and drag it up. I usually need a few trials (< 10) to be quick enough, or what the reason might be. Result: Process 94346 stopped * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACC= ESS (code=3D1, address=3D0x1705bfbb0) frame #0: 0x0000000100145e18 emacs`process_mark_stack [inlined] symbol_= marked_p(s=3D0x00000001705bfbb0) at alloc.c:4020:7 [opt] 4017 { 4018 return pdumper_object_p (s) 4019 ? pdumper_marked_p (s) -> 4020 : s->u.s.gcmarkbit; 4021 } 4022=09 4023 static void (lldb) bt * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACC= ESS (code=3D1, address=3D0x1705bfbb0) * frame #0: 0x0000000100145e18 emacs`process_mark_stack [inlined] symbol_= marked_p(s=3D0x00000001705bfbb0) at alloc.c:4020:7 [opt] frame #1: 0x0000000100145e08 emacs`process_mark_stack(base_sp=3D) at alloc.c:6943:10 [opt] frame #2: 0x0000000100145654 emacs`mark_object(obj=3D) at = alloc.c:7035:3 [opt] [artificial] frame #3: 0x00000001000f3f44 emacs`mark_kboards at keyboard.c:13266:4 [= opt] frame #4: 0x0000000100144cbc emacs`garbage_collect at alloc.c:6187:3 [o= pt] That's the same crash as Sam reported. Sam, are you also using save-place? Can you reproduce this recipe? (In case it matters, my places file has 180 lines, and contains entries for the files I'm loading.)