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 MLBvGTlZcWEBMQAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 14:12:41 +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 EPAcFTlZcWEuewAAB5/wlQ (envelope-from ) for ; Thu, 21 Oct 2021 12:12:41 +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 AC8FA32F79 for ; Thu, 21 Oct 2021 14:12:40 +0200 (CEST) Received: from localhost ([::1]:36578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdWw2-00052B-J7 for larch@yhetil.org; Thu, 21 Oct 2021 08:12:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdWvD-00051u-JZ for emacs-orgmode@gnu.org; Thu, 21 Oct 2021 08:11:49 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdWvB-0002lD-D7 for emacs-orgmode@gnu.org; Thu, 21 Oct 2021 08:11:47 -0400 Received: by mail-pg1-x533.google.com with SMTP id 75so112929pga.3 for ; Thu, 21 Oct 2021 05:11:44 -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=38969VlKwLyKChPFAh2EPVAGYRqIsPQhSXFFUATkae8=; b=p6I2KEuht16KbVPTVmF6Bq9/QaK8XGflCDvJHzeZN4z57gTqIh0Yfgbk/Kcvb7Ln0a aYLKCTN0Ytm66Ag+uQgIjn0w5AN2PTI4CxB/0ADwRmU/xEJohTbbcRFufS3EG+njSnN2 /EkMk1mNNDwK51fIhddy9WOOAMRiWnyp66Hy1KQPW76jzb8HD5T3Icmu8uWWqiTHdgf2 n++ZgKybgAVqH0XJoqAXaegwHgWXjw8BLkNznMIW5zMBqyiCQ92rS1r/xmbjsAKKZI7O CC4OCDaDGplahksr42v7HlmdpDvv8XoE+xF2xQCYTtTDJ2FZckHd8B9smAxU6oQghqNl zo3A== 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=38969VlKwLyKChPFAh2EPVAGYRqIsPQhSXFFUATkae8=; b=L1r9urSGKmNCL6j+DQm9HMP2DFRdPh+v62UV0oinUMZ7wiz9u25RYfHLz2jzglQTyt BlR5401y6wZWBrnIZs+tWqEkEjqTFJlaSDqq/P8ZJCvx/y+iYYLBNwZ8qK1wYVCetVJl 6S5bz5TDcaoQZOH2QH0xduo4fVQugGGuKMsBV4XLlm0FbeZX5KH6vCQUAUsffqUEAD0F MBth5i6KhvCD/UTTfHgsVGI8Q7U7lo6ept1P9fK1TVpX1Yr00wM7ir5yQcAv8AG34gkC g7ogue38sjYxa+FvcCA9mdIz5LKikAJVBUQpJH1Fcs5WpTDf5DyycG6H2/5RgLDVex/N Qr3g== X-Gm-Message-State: AOAM531PkhPe87twj1ywbLt95ceDfj3Vaem3EPXU8zrCL8cP38Uwfzdz KsIsHGGzVdistu+3aVg8TmE= X-Google-Smtp-Source: ABdhPJyPSfl+D9l1MZVMh+mMwlpe6I/pFIsm2UQbVHRCYNlYIRIxbEyc68kAi/tuPkoVror9saO3Aw== X-Received: by 2002:a62:7cd8:0:b0:44d:4574:ea8a with SMTP id x207-20020a627cd8000000b0044d4574ea8amr5221853pfc.80.1634818300497; Thu, 21 Oct 2021 05:11:40 -0700 (PDT) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id 66sm5701662pfu.185.2021.10.21.05.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 05:11:39 -0700 (PDT) From: Ihor Radchenko To: Colin Baxter =?utf-8?Q?=F0=9F=98=BA?= Subject: Re: org-persist - bug report In-Reply-To: <877de71psg.fsf@yandex.com> References: <87ilxrdgnm.fsf@localhost> <87sfwvkctj.fsf@yandex.com> <877de7dazv.fsf@localhost> <877de71psg.fsf@yandex.com> Date: Thu, 21 Oct 2021 20:13:02 +0800 Message-ID: <87mtn2k241.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::533; envelope-from=yantar92@gmail.com; helo=mail-pg1-x533.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=1634818361; 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=38969VlKwLyKChPFAh2EPVAGYRqIsPQhSXFFUATkae8=; b=h7yh0TAieBOC/JoQi7HOTktXe8OcWWe5U2cT65h8LGRzn+uA8AFNztAJksTmcnn9FdwrcY f4BAAVCxZTNbonrUqjoaT4k/fQHsCuyHs+/7pprmlsuL56Sqmkxy1PAaVArOGNWXa+xyzZ 2eTdPq/1m8hfAoL/FNx7FfSqf0tSaoICRWK3ENIBQgbN2ANJpEun0jvADsy2Q0m7sDELRB sscP8lSzbFcPCR9gxc+KDNVJrDVj3qEjAzckJPdCewIvpoezqb28PVtjSmIy+XTe8sYyBx YijPf9MCtg7YjzQomQpE6ljuHfC7R67spgDl9ejCqpEtSLPwAEC+eglN/fVfLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634818361; a=rsa-sha256; cv=none; b=BFAYFWqj9BNdfHRT+i2FNy38dYqrl0Oykp9o0DoBy9VXk7c845IWgRBsLy0qRxCQzpc+g2 XRqkTIxsVwcGtyUIKmpeQmHkfjZ11Qo4qqFElQwl1UX6x2enK/tyzQqE4hzB/b8XDVMLOa RPmBU7Jr8+Q/W1Qz1rsSw197Y25EU28uRj7O1z8wLtLg9/McO352JwJL+3uhfr5F7lJqFM Gjur4ANxEgha9WBMOmbXvdgpW050zGf8uZv0DbSkAEw5zh0D8rOpmUrqQFUX27eCOP2+Ue TayXesYLNKZakXBM97MWEZkamnCJfvgT2LK2ONv9r3HMkZ3AMjYrRtecPd4NvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p6I2KEuh; 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-Spam-Score: -1.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p6I2KEuh; 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: AC8FA32F79 X-Spam-Score: -1.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: B8VXLhbHRieN Colin Baxter =F0=9F=98=BA writes: > > (setq org-element--cache-self-verify 'backtrace) > > (setq org-element--cache-self-verify-frequency 1) > > I set the above in my ~/.emacs > > > If a warning appears, backtrace could be helpful. If not, it > > should be something to do with org-element-cache-map. > > The max-specpdl-size error has happened again when I tried to add a note > to an agenda item. Emacs hung and had to be killed. The debugger buffer > was empty and the only other information given was the message: > > mapc: Lisp nesting exceeds `max-lisp-eval-depth' It indicates yet another possible problematic place. But I still need more information. I just pushed a change that can help with debugging this. If you update to current main and set `org-element--cache-interrupt-C-g' to t, you can press "C-g" 6 times (1 + org-element--cache-interrupt-C-g-max-count) to force-quit the "hang". When you encounter the hang again, please try to reproduce it after force quitting. If you figure out some way to reproduce, set `org-element--cache-diagnostics' to t just before reproducing (M-: (setq org-element--cache-diagnostics t) ). Then, post the contents added to your *Warnings* buffer. It will be very verbose and can hopefully help me figure out the problem. Best, Ihor