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: Fri, 16 Sep 2022 07:40:07 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11632"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Sam Steingold , 57751@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 07:41:11 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 1oZ46B-0002pE-Ke for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 07:41:11 +0200 Original-Received: from localhost ([::1]:42174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZ46A-00087n-LG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 01:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ462-00087P-RG for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 01:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZ462-0008Oh-Jf for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 01:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZ462-0000YJ-Ev for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 01:41: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: Fri, 16 Sep 2022 05:41: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.16633068202054 (code B ref 57751); Fri, 16 Sep 2022 05:41:02 +0000 Original-Received: (at 57751) by debbugs.gnu.org; 16 Sep 2022 05:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:41226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ45M-0000X2-BI for submit@debbugs.gnu.org; Fri, 16 Sep 2022 01:40:20 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:36655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ45I-0000Wi-Ij for 57751@debbugs.gnu.org; Fri, 16 Sep 2022 01:40:19 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id 13so17960853ejn.3 for <57751@debbugs.gnu.org>; Thu, 15 Sep 2022 22:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=UmpDWi5E9bnb5u4rQ2G8Xqsl1f3wfRradr55HXrtqAA=; b=Md3pXPyqPeDWgNKSSqC0haYreppnn4fpj5NpvRX3IIbjq53dhD42xk0/BFXUtdf7Wf vLnxdnDt1dzwgg0XaU0co1XlKHJ/F5tWEJi22iv2jM5b6ygOrofO6MQnbWVImkmNpjPO 4RNEop8s+0pN0ut82J6GXiohsRoCyzlyLO6S40Dr7G+A90xUd3jhX2sc0qfrZKwaDqmx ZxHivWwPT8S8Ha5LJ4+WtPKFXP/Ce6VI3P3AnNKjs+mW9VgOMapz0og+oG8v4EpZRuOZ /cDrV8R3Vr0GTSAqdzT/wLY+zwZf2uklkKD/QdY/J0VsGhTgNUmHcaaskr9PotrVWYEb KjRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=UmpDWi5E9bnb5u4rQ2G8Xqsl1f3wfRradr55HXrtqAA=; b=pYaCB/tK3l9js7Ge6ybq9I9VgWChj0ZiSH+eLoRbnXapsj8s6KmcLNrTwWxF7vWSNQ 50ScMFMxJrekdRozuHp5qfkgJGzmNhXiZaKt8y9F5+cDE7ikSQ66FVRZjjmRhjuh+rYL 8nI7i5F6qssRH6fpUp0AKCp2sYaHiQHRbQ7LqFGSlRLmPFuSnAfr3Y9g8Ic+Qwkn/2pM QJfrBuGha4Pj1+EKbIBZh4uKnXjUOOTCiPdS6/DpEdZ7HRCrPi6YPlPxA5mddnVau/sf rZx4JznX7hPo2y8hvLr0cSMZFsQBgheWC4gdiYeYkW3CPN9fS6e0u3zA70MXXWPkczqr dWXg== X-Gm-Message-State: ACrzQf0yInBLE0seP3+1NkPZlaZ9HR5HeGTjH0Q6Rxtt8JKBoMya0LB4 NXMUeJyHP48Ph95Ee1Bc56NdvUHy3tw= X-Google-Smtp-Source: AMsMyM67b03ZvK5PXndshlKNlbULNV91ba8kBULnrZ4NOtL6ZA//80AsEKJS2w3bz+6wEOm0ZNcl4Q== X-Received: by 2002:a17:907:8a1a:b0:780:ee1:b71e with SMTP id sc26-20020a1709078a1a00b007800ee1b71emr2435025ejc.474.1663306810138; Thu, 15 Sep 2022 22:40:10 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36af3.dip0.t-ipconnect.de. [217.227.106.243]) by smtp.gmail.com with ESMTPSA id u3-20020a05640207c300b00451e3160451sm8713671edy.89.2022.09.15.22.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 22:40:09 -0700 (PDT) In-Reply-To: (Gregory Heytings's message of "Thu, 15 Sep 2022 23:17:52 +0000") 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:242687 Archived-At: Gregory Heytings writes: >>> I could not reproduce that issue here either (Debian bookworm). >> >> yes, this is mac-specific >> > > Does it also happen if you turn off the tool bar and the scroll bars? > And tooltips, maybe? Should be fixed now. The crash bisected down to 976965eb5ed00ddc8806b2adcbd5761189823f2c from a bit more than a week ago. And the reason for the crash was uninitialized memory, again, aka The Great C Plague. (Which is a lesser problem in C++ because of default contructors, but I didn't want to mention that :-).) What happened is this: The offending commit used an only partly initialized input_event for frame movements on macOS. So every time Emacs was too busy to process input events fast enough, and then a GC happened, the GC would trip over a random value in the movement event. Sam, could you please confirm it's fixed? Also, for the Tramp issue you mentioned, I'd recommend to file a bug, if you didn't already. That sounds like a serious issue to me. Thanks for the support to all, and thanks to Sam for reporing this.