From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#62216: Odd file corruption in clojure mode and emacs 30 HEAD Date: Wed, 30 Aug 2023 14:20:35 +0300 Message-ID: <13d7d6ef-8126-4cd6-9fe3-7362a36a1db4@gutov.dev> References: <685df664-612f-dfc5-86af-fa9157d7e026@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3259"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: jcm@SDF.ORG, eliz@gnu.org, 62216@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 Wed Aug 30 13:21:19 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 1qbJG9-0000ao-A9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 13:21:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbJFs-0003WC-UG; Wed, 30 Aug 2023 07:21:00 -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 1qbJFq-0003W4-6T for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 07:20: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 1qbJFn-0006Ev-76 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 07:20:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbJFu-0004iO-48 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 07:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62216 X-GNU-PR-Package: emacs Original-Received: via spool by 62216-submit@debbugs.gnu.org id=B62216.169339445818108 (code B ref 62216); Wed, 30 Aug 2023 11:21:02 +0000 Original-Received: (at 62216) by debbugs.gnu.org; 30 Aug 2023 11:20:58 +0000 Original-Received: from localhost ([127.0.0.1]:52241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbJFp-0004hz-MP for submit@debbugs.gnu.org; Wed, 30 Aug 2023 07:20:58 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbJFl-0004hk-JT for 62216@debbugs.gnu.org; Wed, 30 Aug 2023 07:20:56 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D09FF320015C; Wed, 30 Aug 2023 07:20:39 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 30 Aug 2023 07:20:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1693394439; x=1693480839; bh=jUw/2WLPWvklDfmmvtsdnfrYIKtD5hNEp+b YhK61IT4=; b=E/uWaWaueFBbYNirBwmdrXFFu7pMpQdRfElGu7wQCwYigC2+CH/ m8h5hK+tzoTTngS1o01xA/Z6t8GCW277HKpVDxthAcieI9MLNVBJ3Eat37SO6T5V ztHcG7fh4V6yIR/a+YH+l4NFz5NZZxVcBpMJR1ypo4GpB/eGDlQIdPTtfwyHuPEr hniBkH1sWWPWtANy4JuMfAPvA0yR3p4Q4dSbV+X5qiHY8meW+w1+qrDwCO+iUwsk 1Ybc5eh+4Pnun/FL/V7vqwU/Q6yeq+puRoj7r1cQWT3kfZ0LtEWkdTWHzU3IV8ty 1T8EPwO46MMdM7a37ctBtQQiVFp3iAmVDMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693394439; x=1693480839; bh=jUw/2WLPWvklDfmmvtsdnfrYIKtD5hNEp+b YhK61IT4=; b=ACLDu4Bt8mIweytO1SRizORLhR7BazQ05+8cqLz5xfJeZ0i0GVJ 9tjAM5l8VnFhfLSDAa441dDuMGutbzPckk3sULrEi8VnAQrhy2inbTCxiuQHM/Be o6D/mTWtbyv02AsZWBhEPkRh0wnPg9DlYKQ3vYyiZcGE7xyNIRkau6bHbSXESiIK zSgJmIkabZXChcoN3YAC+DuvL+y2SRu880rJ2dluPPeGhTfAdNz9nB18YGbs7dUy RsNlwHAPvhIaFykOlFajNws9OtMse+LFvdRNh4NTIKxEFL1CIHT/D1aPGNzv613h bIPjjJhYMOhyRx58DU7WpQfRwfEm9t1XA8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefkedggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesth ekredttdefjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehg uhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpefhffehleejffegffeugefhkeektd ffgfehjedvgeejtedtudehueffgffgfeejheenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Aug 2023 07:20:37 -0400 (EDT) Content-Language: en-US In-Reply-To: <685df664-612f-dfc5-86af-fa9157d7e026@gmail.com> 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:268698 Archived-At: On 30/08/2023 10:50, Gerd Möllmann wrote: >> On 16/05/2023 23:22, Jonathon McKitrick wrote: >>> I'm frustrated that I cannot reproduce the bug reliably, but it does >>> happen constantly under emacs 30. What I have narrowed it down to >>> is what seems to be a random injection of code from the same file or >>> the kill ring. That of course trips up paredit and any compilation. >> >> Something vaguely similar: I had a problem, in one session, that >> reindenting any line or region would, instead of simple whitespace for >> indentation, insert some repeated chunks of code from I don't know where. >> >> I didn't investigate this, though. This only happened once and a >> restart fixed it. > > Found this bug-report just now.  I'm like Jonathan on an M1 mac, with > Ventura 13.5.1, and I have seen buffer corruptions happening. > > The most recent example was edebug.el, which got auto-reverted because I > discarded a change in Magit.  When I tried to eval-buffer edebug.el, I > found that a sequence of closing parentheses had been inserted in the > buffer which were not present in the file on disk. > > Alas, I accidentally hit C-c in the LLDB window, and that was it. > > Is this perhaps a macOS thing?  Has somone seen that on other platforms? I'm on GNU/Linux, but the behavior I described above (and which hasn't repeated since then, so far) was when indenting code, not on eval-buffer. So it could be an entirely different thing. Or a similar memory corruption, no idea.