From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#75209: 30.0.93; Emacs reader failed to read data in "/home/nlj/.cache/org-persist/gc-lock.eld" Date: Wed, 01 Jan 2025 09:42:28 +0000 Message-ID: <87ldvug9a3.fsf@localhost> References: <878qrxgg74.fsf@Phoenix> <864j2lnf1j.fsf@gnu.org> <87ldvvhhqo.fsf@localhost> <87frm3elkr.fsf@Phoenix> <878qrvhe0k.fsf@localhost> <86v7uzljc5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38983"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75209@debbugs.gnu.org, njackson@posteo.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 01 10:42:20 2025 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 1tSvF6-0009y7-Dt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jan 2025 10:42:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSvEs-0000lr-69; Wed, 01 Jan 2025 04:42:06 -0500 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 1tSvEp-0000lh-FZ for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 04:42:03 -0500 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 1tSvEp-0000nj-6w for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 04:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=2yDPLuExYLoatsTsYCCXh1KBFOe+sW34lymDU80VshA=; b=fG62ASlRkok02NRePRudKTU5w/hHgLW7T0nYfUrzFfTRoYpc8riubjsfTB3Pg5rQIG6Yk8uAzMj3ECvRN/QtJQpVKKMdoXFDpCt5m/v+YVaAgrqNrLWeY5tkxQHZUpcvosFkX5iy0b7Ia3g2m/VVdp0Ei4R4n60fPYUMGo6MYcslUdujMo7S1thReg0YhGvDfwu1horrtSRLZau043CIii/ZSItLr0IvReJDoNZzimLwEAqr2LCQDcfgR+jF3OpN3I/SOr7hVqOAPleDqQjcDeZ8zpIcyiNI6RS3OOJSG8A1oLOF/2oGgGZFlsbiTFui5rm/jB2Xlt+SWeNPhx7EsA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSvEo-0003iG-QM for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 04:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jan 2025 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75209 X-GNU-PR-Package: emacs Original-Received: via spool by 75209-submit@debbugs.gnu.org id=B75209.173572446714174 (code B ref 75209); Wed, 01 Jan 2025 09:42:02 +0000 Original-Received: (at 75209) by debbugs.gnu.org; 1 Jan 2025 09:41:07 +0000 Original-Received: from localhost ([127.0.0.1]:37744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSvDv-0003gY-EP for submit@debbugs.gnu.org; Wed, 01 Jan 2025 04:41:07 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:54665) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tSvDs-0003fr-Vg for 75209@debbugs.gnu.org; Wed, 01 Jan 2025 04:41:05 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 183DD240101 for <75209@debbugs.gnu.org>; Wed, 1 Jan 2025 10:40:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735724459; bh=6wKQNI+uw0b0jxtI+VXbP26786MpMcqITSOnBAirB3Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=dvaEUhwmSwSM+guYNRd8wKMXwJpHnicmsxFWAjD0p8uVsAurVjU1FZZLtaxAf0Yoh qliwwdJPSUT9Bs2eWEn71Qnt6XhRvqK7wXWJqx9xsRu2CTlJUJ2BwxKaL09pfGgYFm 1F8YiHL/43iBkvRLvBXURlXYG4JIfYWZaZWz9fEedoCRS08PPChfYML3xX1AfASTe5 wkYsj2djIhABQQddpILWm9WIXNXFVjB/y9vSS3A/95992VN7P2+6gyqvOH8JO+61XX R2WMQnQDkB4nmzyGRK7ropkxi/vkXuLTZ1fvRSUuljGZmIsJ7l/3eZuuHZ/8bOjhO5 e8prOCDHqZbXg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YNPwV1hmsz9rxG; Wed, 1 Jan 2025 10:40:58 +0100 (CET) In-Reply-To: <86v7uzljc5.fsf@gnu.org> 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:298059 Archived-At: Eli Zaretskii writes: >> Another possible scenario is two Org instances writing to the same file >> at the same time. >> If it is what is happening in your case, your problem may be similar to >> https://list.orgmode.org/orgmode/CAMJKaZxA_VmLdFP_u1rNiF2s0X2kVivjT31jEM_r3BYCHri1PQ@mail.gmail.com/ > > Can't Org prevent more than one session writing to this file? We have > file locks which can be used here, I think. That's exactly the idea I am trying in the linked thread to address the issue. It is not the biggest problem there though. The problem is when there is a race between Emacs processes writing to the same file one after another (without any locking). Contents of the file may then become unexpected compared to other Emacs session. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at