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#57751: 29.0.50; crash in GC Date: Thu, 15 Sep 2022 12:23:15 +0300 Message-ID: <83o7vhyosc.fsf@gnu.org> References: 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="15118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sds@gnu.org, 57751@debbugs.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 Thu Sep 15 11:27:56 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 1oYlA3-0003jo-Vt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 11:27:56 +0200 Original-Received: from localhost ([::1]:45766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYlA2-00024m-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 05:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYl6I-00087l-IY for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYl6I-0004Jn-Ag for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYl6H-0007DH-TI for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:24: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: Thu, 15 Sep 2022 09:24:01 +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.166323381827697 (code B ref 57751); Thu, 15 Sep 2022 09:24:01 +0000 Original-Received: (at 57751) by debbugs.gnu.org; 15 Sep 2022 09:23:38 +0000 Original-Received: from localhost ([127.0.0.1]:57136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYl5t-0007Ce-Rd for submit@debbugs.gnu.org; Thu, 15 Sep 2022 05:23:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYl5r-0007CR-TG for 57751@debbugs.gnu.org; Thu, 15 Sep 2022 05:23:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYl5m-0004HF-FZ; Thu, 15 Sep 2022 05:23:30 -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=uHihxgTPecr+3aOyQMPN1opghDM1e9rT1iHnssl3BwA=; b=TCDo3aVj0EA//5hUyvdv KPR6lUIQMxSqUO5PqAh6tURWNgULydgTqavfowmMIJ1Ys1zMdp5N3eTTyirtLNJx/PjsEbwaLqu78 OwK9/y8Z6F3+Wng0c41M8iW3H0OTEBxbAz61o/EDbIG09p/Gd7N4xqwkQ3ZXxwlDOiJajkQ4+Lze+ vyCd7nLQ5H/ZMZHwGTzj/rCNyGXpDiBUqqFyby6CGcRRWaIwo/sZpOAxu/ffObUxcIQXNtAOALpLb +Vxe2p+7VNmOW+B9hVZpna5PHbZfagrQvFK5khe+d1UVymt+LeLcs+k0lnaxaHUT4KLTRh0oRRm+n rAz1s2bnLMoItA==; Original-Received: from [87.69.77.57] (port=3184 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYl5g-0003co-Jw; Thu, 15 Sep 2022 05:23:30 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Thu, 15 Sep 2022 10:42:12 +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:242574 Archived-At: > Cc: 57751@debbugs.gnu.org > From: Gerd Möllmann > Date: Thu, 15 Sep 2022 10:42:12 +0200 > > 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 = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1705bfbb0) > frame #0: 0x0000000100145e18 emacs`process_mark_stack [inlined] symbol_marked_p(s=0x00000001705bfbb0) 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 > 4023 static void I cannot reproduce this. Maybe this is specific to macOS, or maybe one needs to build with native-comp and/or with optimizations?