From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cDVwK9Q6hWEfQQAAgWs5BA (envelope-from ) for ; Fri, 05 Nov 2021 15:08:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EDIjJ9Q6hWHXKgAAB5/wlQ (envelope-from ) for ; Fri, 05 Nov 2021 14:08:20 +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 2B5E737A77 for ; Fri, 5 Nov 2021 15:08:20 +0100 (CET) Received: from localhost ([::1]:44728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miztC-0003vI-S4 for larch@yhetil.org; Fri, 05 Nov 2021 10:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mizjT-00013C-59 for emacs-orgmode@gnu.org; Fri, 05 Nov 2021 09:58:18 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:44937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mizjR-0004CT-2F for emacs-orgmode@gnu.org; Fri, 05 Nov 2021 09:58:14 -0400 Received: by mail-wm1-x332.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso6504759wme.3 for ; Fri, 05 Nov 2021 06:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=urc8WVD9xxfxkDoUFDcTEomSfBiosSY+Qv4uPv/xuAU=; b=Tze+7+cZxAOhrqsQmS0dN9VlAvA/rof6lZVuS+V80VB2s4zSZtZjphuqJG/U90gYdj Rc3JzEbNtiP7qCDce3Ua0KPw01F17n7qGoW9R5nN3ztZE1csud1TRzo6AhYH1bvqBrLU /GGSf32y3M26AR/ooaFIrMwuM+ZCPmGuJbxCaS7xzbV4zZYSsEClEcZ7dG0G8NYELCgg 0j8ScZVw8xmVG8zJ+o366Be8mVCxXoAwM17Fx3LBifXBYYKg0e4IunLB7fQtsNdwEjaw vlovdqJp9jDbwxkO9I/Kdzg7Jv7KJUpicB5MoEythEgVqi6wlsgxHPT9DOsvj5U/sGxA 8l9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=urc8WVD9xxfxkDoUFDcTEomSfBiosSY+Qv4uPv/xuAU=; b=jiuYBCbhkheqBDArnbIWFvQ15kfCxfbyy++yku9g/6AVdpaavVVajhPhtNTYTams8N D/9ku3Ktuz+ODF/8mte4cHG7R3bmGFbtwCtKql1M9dLeDtFThQPq+/izvValT5Nuh0Vi j/FyW/XtzdjgY1hnr3vgIkF5A6Sbt5qMwr9uHiLG+KHvivWon0MEr+gUyt/USJEv+iDz m2PzWPatnfYd2G1beXwercWQFH4gv4H39HJV7zbKALHvxQpGlBbzV83fr+E7xQlzdJVx 5t04EDffN6hU4NAPnE32Ht4V8+r9Q/hGBdk3gkBwDDElVXGCmb4ELPUV9NEbroMpdjkh KoHQ== X-Gm-Message-State: AOAM533rq0xa1hMAuGK4IBtWfApEtra/ff4+qdZx3v+HByA1qmGvAKtM atmJsa997pyiW5kDBeIzTqomZdyiw1wxlMF4jo+anm3V1sA= X-Google-Smtp-Source: ABdhPJwvjLqZw1OdLhtYXLunuSXV/DxrnTBzpC/xjHXrvNDh7GnzpZS2doJgiqDuXe16rIjl9444wiztNpl/Bg9QyGo= X-Received: by 2002:a1c:7e87:: with SMTP id z129mr30197997wmc.75.1636120691054; Fri, 05 Nov 2021 06:58:11 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Fri, 5 Nov 2021 09:57:35 -0400 Message-ID: Subject: wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28] To: emacs-org list Content-Type: multipart/alternative; boundary="000000000000999c3305d00b087e" Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=kaushal.modi@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1636121300; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=urc8WVD9xxfxkDoUFDcTEomSfBiosSY+Qv4uPv/xuAU=; b=dXi/wdw/WIuYjRysQ0nIx2pTAHvPzSMDKGv+QZKqVOaA0sFG5GQxJQTzerbpLzu5WN4vDS benJ/vKOnTes+YULCFOjbF9wxAqncHpEY+dVR/jRL4JFT1wvm/5h8m5i1v+l/AmfIOLzz9 onZPL61Bju9SciIwfpxZ2fij6furxfntN5P+b2riKa2qvVBfLCjPBJucNNuG1ncba4dKSe lzvC9bdUJ75RJgrk/t+e2WDRrdxsXKPaYt2kdK8TGiRkgNT5F+o+JHzvBctnvwKc59L6o2 H48+F62bV5X4/TNNxAdDXvUuJjfs+2Re+LJVqbXkzsR1fh3pe8vaVAB6SihDmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636121300; a=rsa-sha256; cv=none; b=RyGFaABSaajB+HzHjGuR8+sYeDrmnN8cH8TpAQpkBw9oWTuOPLQTMJbFhxocfu2+JmVszm HGgUjtroDcPjDITkFT+jHf5NHGfyPV9i9javQYKTQXNfgYw7wMhgjBKMEMk3iEUQsv4qnj MxDdpeKThjh4m1ZNu6swzPVa8o5Mt+zq7d1vA4bWjeH7AlLuifWzTuXQ2PA1eWevZ/Pkm+ egYWZ0hWfiwYRWiG/B3E96YEp+erQOXWB5B3YBabaFjWZWwHqgYhDj28ykPkmmrLYDvIF5 n2dqdf3kBAvVRJnd/vkrk/cUDCw47XY4r4kI/mOWBuuIXX1S08MierXQqdoZiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Tze+7+cZ; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Tze+7+cZ; 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: 2B5E737A77 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: FJOoTHGtAywh --000000000000999c3305d00b087e Content-Type: text/plain; charset="UTF-8" Hello all, For few days now, I have been seeing the "wrong-type-argument avl-tree-" error when I try to kill a buffer where org-persist has run. I am seeing this with the latest build of emacs-28 branch plus org main branch as of today. Here's the backtrace: Debugger entered--Lisp error: (wrong-type-argument avl-tree- nil) avl-tree-mapc(# nil) org-element--cache-persist-before-write(org-element--cache #) run-hook-with-args-until-success(org-element--cache-persist-before-write org-element--cache #) #f(compiled-function (v) #)(org-element--cache) #f(compiled-function (elt) #)(org-element--cache) mapc(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache)) seq-do(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache)) seq-find(#f(compiled-function (v) #) (org-element--headline-cache org-element--cache)) org-persist-write((org-element--headline-cache org-element--cache) #) org-persist-write-all(#) org-persist-write-all-buffer() kill-buffer("NEWS") Are there any pointers on how to fix this? Thanks! -- Kaushal Modi --000000000000999c3305d00b087e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

For few days now,= I have been seeing the "wrong-type-argument avl-tree-" error whe= n I try to kill a buffer where org-persist has run.

I am seeing this with the latest build of emacs-28 branch plus org main b= ranch as of today.

Here's the backtrace:
=

Debugger entered--Lisp error: (wrong-type-argument avl-= tree- nil)
=C2=A0 avl-tree-mapc(#<subr F616e6f6e796d6f75732d6c616d626= 461_anonymous_lambda_80> nil)
=C2=A0 org-element--cache-persist-befor= e-write(org-element--cache #<buffer NEWS>)
=C2=A0 run-hook-with-ar= gs-until-success(org-element--cache-persist-before-write org-element--cache= #<buffer NEWS>)
=C2=A0 #f(compiled-function (v) #<bytecode -0x= 12583f23e316161a>)(org-element--cache)
=C2=A0 #f(compiled-function (e= lt) #<bytecode -0x5162c688172baba>)(org-element--cache)
=C2=A0 map= c(#f(compiled-function (elt) #<bytecode -0x5162c688172baba>) (org-ele= ment--headline-cache org-element--cache))
=C2=A0 seq-do(#f(compiled-func= tion (elt) #<bytecode -0x5162c688172baba>) (org-element--headline-cac= he org-element--cache))
=C2=A0 seq-find(#f(compiled-function (v) #<by= tecode -0x12583f23e316161a>) (org-element--headline-cache org-element--c= ache))
=C2=A0 org-persist-write((org-element--headline-cache org-element= --cache) #<buffer NEWS>)
=C2=A0 org-persist-write-all(#<buffer = NEWS>)
=C2=A0 org-persist-write-all-buffer()
=C2=A0 kill-buffer(&q= uot;NEWS")

Are there= any pointers on how to fix this?

Thanks!

--
Kaushal Modi
--000000000000999c3305d00b087e--