From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uHdlAQkpcGHKTwAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 16:34:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +B6mOAgpcGEaGQAAB5/wlQ (envelope-from ) for ; Wed, 20 Oct 2021 14:34:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 958467BEA for ; Wed, 20 Oct 2021 16:34:48 +0200 (CEST) Received: from localhost ([::1]:37858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdCg2-0008Oe-Ib for larch@yhetil.org; Wed, 20 Oct 2021 10:34:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdCav-0003ur-MG for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 10:29:29 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:41851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdCat-0000FG-Va for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 10:29:29 -0400 Received: by mail-pl1-x62f.google.com with SMTP id e10so11368467plh.8 for ; Wed, 20 Oct 2021 07:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=HRGQyqXrEGZvzaS2AHvI+f+dKg6eylWdyFltzd3d8jI=; b=gfrbFx4M4/KORwdES3uUUqV/fD0wz94H++xHCp0cDsMrk5dA6S0TcKq+fBTdk+Pbrr qS3cIaRtGNCcd5SsDEVASZ1pJ3oWCyphH8mpsGCvG/TrnCXYVdtyRHj/OJ29Mvl1P81S gIsoLhsb1zajCbAgwMMDwkNHwzXCY72Mz3VZUipb0NFk7L+6ES0cEp5O6dz2W/+BaJz9 grrV9mtbM8ddQl4x2Dn89U6MCxbCTPfc5fM8htypoNU3CUptG8Qpo2uFMJ8xpajI03A4 n9hw9xHsp3DIbitpud/L1Ui6MjvxUtG/1auzo8Zlj3PDpE2JLaw4Ma6rCnDsm6QCaRPr xyjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=HRGQyqXrEGZvzaS2AHvI+f+dKg6eylWdyFltzd3d8jI=; b=ZcLue5LXwXYGTbokwlAxJmKyZdwMKzoGyFZNjD0ej1th9WMHgn5ZSO3UznFg8jkJ0J OiLz1pMFwryzoaOWwzC55vMswiVeOHqmLR6TH4rzROqcw9Bd4lYnShnFhXD2VbJNcLdg 1pHvfbmV+fuQL35BMvY9hVAAM2WC+LZuvemnUFjnhjHC8xutZFNQ6SQ8n/dQeL5E3QRx hYrukk9YcriS09gtI5D1Y8v42yhhoXq4MzM1RDzCjkMD13NG7Sz9QU/bdJAEhUXdiA0g vSblwRZ10O9yCa1lylYKIuwnsVHbJOZEVB6xrGUnNRNtvVJrrvpN5XSExl40923hPXlu ndvw== X-Gm-Message-State: AOAM5304AN40wh5MLupS11TDI8wYpnYiQ1x3sfwSAmIPySwD8AgeL65s Sr2tajnlw7VsLEshBcsveMQ= X-Google-Smtp-Source: ABdhPJwLrHBFM0Q2q0V/Ka8egNSWLZvLpdpAdPDac6T11WmYalWc42kyrLRaPHsejmCFJlI20/X/Fw== X-Received: by 2002:a17:902:bb01:b0:13e:a6e6:9a53 with SMTP id im1-20020a170902bb0100b0013ea6e69a53mr39533045plb.4.1634740163521; Wed, 20 Oct 2021 07:29:23 -0700 (PDT) Received: from localhost ([211.75.74.223]) by smtp.gmail.com with ESMTPSA id nv5sm2996258pjb.10.2021.10.20.07.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 07:29:23 -0700 (PDT) From: Ihor Radchenko To: Colin Baxter =?utf-8?Q?=F0=9F=98=BA?= Subject: Re: org-persist - bug report In-Reply-To: <87sfwvkctj.fsf@yandex.com> References: <87ilxrdgnm.fsf@localhost> <87sfwvkctj.fsf@yandex.com> Date: Wed, 20 Oct 2021 22:30:44 +0800 Message-ID: <877de7dazv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alastair Burt , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634740488; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HRGQyqXrEGZvzaS2AHvI+f+dKg6eylWdyFltzd3d8jI=; b=cydXHydjIg4acXsmeX2z1x0tTJ7EodKRlvBfINtdnby6Ovy44hp41NUh04dwUtksAYQwlJ ELWc4FxfaccQhIgLFPqUutjw+sslhuCrNBZcxRRIkcmlS9IMRWJxIA6REamd/ex3j6lg4r zuVjZYW9tfLQNs1yGnmfXiW6Ziqgrun3O/WJrMZkDgMGqtT+dUWUhMDwJOU29VdODQ8Dtx 344FCR/8Eq4okqpp5Uq4IvzbgZ0s+jKgu4nVwqEiVjTJrIisbbGL3384/O5CNj3w5pxX7m 0nOzpxn7oiv1F/dW8KYS3TdB9GnMF5iZGYZ6/wfoRKEXaa1teCng8DuTzo3KBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634740488; a=rsa-sha256; cv=none; b=QLwuMFfiDqUQ8tTvKdcKcwQ/PtZq6RgCG39Pgs/JLD1G7w1SDYFEPJYq2I3VCIkbH9zEGd Cap5+rV8u4BFloQk6ml6GN2WU+ktBa9c0oGOEEdADYIcWwVtedZGEFWggGR2SQBpn6VkEf YxOyxWIILv8om8WKy3U+XXpQ+jso4f8f3AZW1cv1MS4jotg2aluvK9kzCcZNi4Gm9j1LEG q2rexEHBfdBns51ZDoDlgJ2GnBNLc9gpI6V3+drBnMvG/PNMBPyaMjU+g6VJahoVr293X6 +gdzU4rhoIMx63E7KNQAvuJH1NbZWuQbMeVw8yPp5h26w9ZLRb34LUSGKqX/tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gfrbFx4M; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gfrbFx4M; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 958467BEA X-Spam-Score: -3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: PjE5jrT+39ZG Colin Baxter =F0=9F=98=BA writes: > >> I just upgraded my org-mode to the latest version in > >> git. Whenever I visited a certain org file, my Emacs became > >> unusable. Any attempt to use M-x (execute-extended-command) > >> resulted in max-specpdl-size errors as did using C-x C-c to exit > >> Emacs. Some but not all of the errors mentioned "Error during > >> file deserialization". After an hour's debugging, I tracked this > >> down to org-persist. Deleting "~/.cache/org-persist" made the > >> problem go away. > > I just stumbled on this error myself. The culprit was a agenda file - I > mean, an org-mode file called by org-agenda. I'll pursue further when > I've got time (not today!) If you see the error again, can you also try with the following? (setq org-element--cache-self-verify 'backtrace) (setq org-element--cache-self-verify-frequency 1) If a warning appears, backtrace could be helpful. If not, it should be something to do with org-element-cache-map. Best, Ihor