From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kCW7L0/PemHvQQAAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 18:26:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KCl0K0/PemHVcgAA1q6Kng (envelope-from ) for ; Thu, 28 Oct 2021 16:26:55 +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 9181C352E7 for ; Thu, 28 Oct 2021 18:26:54 +0200 (CEST) Received: from localhost ([::1]:36832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg8Ev-0001xQ-5f for larch@yhetil.org; Thu, 28 Oct 2021 12:26:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg7u7-0004zy-1H for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 12:05:23 -0400 Received: from mail-am6eur05olkn20809.outbound.protection.outlook.com ([2a01:111:f400:7e1b::809]:62336 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg7u4-0005bl-Nr for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 12:05:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RCh2PYZ/jU/EE7HDdii1WDdm2FqF+vE1IFjQiC1YlvVyURMiEuVDynI3ijLe+7VNusaoViAPo7n9/AA/kFhnwOCupqz1icwwS6U/cJ6so/lStjb9WuuYc1knyMc+w4I8YPRdTr1vUAYdoeodDAccJ8F9canXxXnaeTQHRKth7Ke3wvOBF8qaU//JAa2YfcCFRdtnTi3sSITR0jmM3DcOohBk3phxqbhRiRTkt3F7RrGF/LeorLD+8GMpscywfoZkjzpNqS5LGT5qbR74WaO2IPgsOuKtq9joyBwUdWz+2bxtYqF0C7bq+RQ80FoZJ7fdCpUcgiIzAMWddE5SRShbBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=joPfG5fHOn3PDaDqzqMJOk1dNmU5S8d8hgpVAX02WZ8=; b=aSZMmnEipxh2c4sEm5YwSrZBSc4g4gHEUkx+Mv72y6mw6smJeAkurqSFprykqIyh75oLrryjypnUKkJcSNIOdzmKvqPkNs3wnBUxQsT69oUe9P1CqYPZ0ZzwH7PMkM4OzDYlE0lhdgksJMP3wz8c2PS6GN/q7qkN4teERIYYC4QBzSWZGkFhEXq9AF7zMwv0eVOXt/FALhy/fXj5evw9hFOQcwniTAwa8rWCsO7PLdMhT7OcuXqJWFlg8kN/tNmI2BML9qyDGF29rS/ZsfoXAi6LdTSErL5QcLsE7kXjNhdsCEmlPvPKTiZlgQB2EmpoddQl3JNNaCIAnRnUOct0RQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=joPfG5fHOn3PDaDqzqMJOk1dNmU5S8d8hgpVAX02WZ8=; b=RVmLS7G+r83R+bJccw5yDRUUnzwZ1IDU2EYz5g9VRKBMRHVagttgCJsOtMYFFrkVSPzlwAq6y0/DNCICIVi8i8qvzuZcFmg0ZByhY6K8X8X9B8OGnSqdJ2ylHkvfQ4Iwcq1McZUNxfuFbLsfp7GT6HEytGiCfh9kDkBZ6FQlCzz9fnDQIDOmVZDEsgpUUM9+dYcZw8Ps9rd1d63iMXWwSO+aMx2dlghHImHqlZg1wCor0E9XJxcVrSU6qYu31t1oRNfR2MGBiXw0BRNbZjmgbzN8MJN8zPXt2r5sR0wQKXKv1k2oeYr6zsboIr0VOgUSvU0rV33u4fzrFh9+DRtmAA== Received: from DB9PR08MB6633.eurprd08.prod.outlook.com (2603:10a6:10:23d::6) by DBAPR08MB5799.eurprd08.prod.outlook.com (2603:10a6:10:1b2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Thu, 28 Oct 2021 16:00:16 +0000 Received: from DB9PR08MB6633.eurprd08.prod.outlook.com ([fe80::e05b:844:b3fe:32c4]) by DB9PR08MB6633.eurprd08.prod.outlook.com ([fe80::e05b:844:b3fe:32c4%5]) with mapi id 15.20.4628.020; Thu, 28 Oct 2021 16:00:16 +0000 References: <874k918jfe.fsf@localhost> <87y26d6wmh.fsf@localhost> User-agent: mu4e 1.7.0; emacs 28.0.60 From: "Christopher M. Miles" To: Ihor Radchenko Subject: [SOLVED] Re: [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend Date: Thu, 28 Oct 2021 23:57:40 +0800 In-reply-to: <87y26d6wmh.fsf@localhost> Message-ID: Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [rtO4qJy0wzjFeXT85eh6+I9jjM0HzhRD] X-ClientProxiedBy: HK2PR02CA0216.apcprd02.prod.outlook.com (2603:1096:201:20::28) To DB9PR08MB6633.eurprd08.prod.outlook.com (2603:10a6:10:23d::6) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Mac-mini.local (183.246.144.93) by HK2PR02CA0216.apcprd02.prod.outlook.com (2603:1096:201:20::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 16:00:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5d3bee10-90ff-4cb8-ed01-08d99a2c08ba X-MS-TrafficTypeDiagnostic: DBAPR08MB5799: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xUP+oLxbNqRLYGMcWCZ2wajdmGw9pr5f6QAEcG6I/5OPrmTmjczAZvQH4/R66LIKYUq/BYjpCX1QsWJg6j6JHqGjdAdGWxJvHgYCSnFcp3eqQk+Lp072u3JTyFSGUjBAFCQ5fB/icGdNetQGPz/sfrlKIQW+S0flvDaS7iPjC3QBk5xCHG8QtdtdIo1L6PX0g1i3zJGbhDwaufqS7bw7wx71LHys11KGgSYEtVwOxkaSRrySQlL6V1h7oPkXaTl1QyUX5a4xmUrnw6imBmX3SrRUU7d2XbUZmqMEQKSacRkn9AvGunSFfWge4w9/zXOOYoDZZzFKcJsAtXkqRUfOhmfBHHAsWqAUuA9mib73PEDRsayZFiXeZDZNHQl5JZ3NmsAZjrHpuiRcGZV9g/4DU8YaKNP/HAK0z5aJGPqOoJ7vBCO2uahC3jW1Ks/KCr058ano7FD6ejHRE+PMHtVkbV3UrFxKNDWJu9Y+UHz2fm0U7lB9JyY8LX6pdKj04OJ/OlY8T9hxjL3+IgvAxj5ENtEc8F/xSxCiC+LwfClnup9pMe+u7y8FrTgjxxzQA2q1InNUJF+ISLb7M0eTE3toCg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8X07AKbR93zdGmhsXleRIvMieO/Kbrxdw2HXMK/96KggjopPIK0Ugsw/dyQxKS2I/Rto/bAySP/TpAQmqLL32jm/d0P4fMQ5iMio4EOC/In6kNykalhOpSk4okf6Lwe2alG6TtApFAsIze1FiSbsplCbN6ltaXwbzogn/JZoPMoTwMzHYgywYHT/wsiCFNXYOqjRHNValHmnK+N/MssJZDbX20LXnN1xygZF6T2Aqfdgw0QA6RslFM0s2hoyLAwHiZJw5M7UcWMdJhCdrdsNuEbOR8qvSjuA1e5rowAtsWKTNbe9JOMxU3sA/x/q3p6I/Ht00XRHEyknAy00+eob6K+Lkm8iFdNnAbVU2gyuffP9pnKYa30B42HK5nCmNAOFEUfiHQE6ArieJwKv0lgg7GtzBStEmZHowUe2vMHVPxAILkWEh9sXPLQyvkYjoXDefdDsOPJCgXJRpzUFBXL5czVzIUXjCx/Ls/T3at1meAAtd/VdZHJ2VIysGwfmQQ6aHfLaAA5GB+aQsqGQwe6GFvRdGmfwLX5MyrZml/6Yglu/eCuak5JEbwfpc7CZVFnr31Q2/oTS0bhdrmVwsFi0FNhsbwR0QIN7wdbd2T4iYF4Uz3eRgLCri10YLC47HygcPmBYGSesKBG7b/9R+MM4l3hc5QiATKiNRAAeoYreysqwy2WT7GhFQoyveHrcRo//0JShLsQqn7Ha65lEyRpGuw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d3bee10-90ff-4cb8-ed01-08d99a2c08ba X-MS-Exchange-CrossTenant-AuthSource: DB9PR08MB6633.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 16:00:16.8299 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5799 Received-SPF: pass client-ip=2a01:111:f400:7e1b::809; envelope-from=stardiviner@outlook.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: 31 X-Spam_score: 3.1 X-Spam_bar: +++ X-Spam_report: (3.1 / 5.0 requ) BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: numbchild@gmail.com Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635438415; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=joPfG5fHOn3PDaDqzqMJOk1dNmU5S8d8hgpVAX02WZ8=; b=jNC0iPUQeGSgtlNCts0NlFKYzzJkb6Rwb7DEUs5q70fcGtsUk361aqKzn8s0F1iCufmtr+ iAe/IfwWcH+Y6y64IAVsNPLrhV/Gp8Ej7ZTANiWYjeBPUGeemjQn24BWKTXSjXJXOeXjei N0O9kB4aDnopbhnM+VFzWksUB0wnDTr3/Wn7w/sprickV7gQFC/2CP2myqbAcWiBob7zVS bZeKZIlNVOZj84BFEuTu4MwTi3SsKnwIkq7IgSSXrhgOdrdiSQ/10Osgu1HdzrAb1ztl5v 0NUoXmDZlfEDReYtVTz3W+dI+SimS1y2/69OrSXZykZ7aPRgmggmljgpk/E+eQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1635438415; a=rsa-sha256; cv=pass; b=sE3q2YB/MW4OmLYdC30cZET0Lyc5SiDYqucOQRkMtkkYWEISpkxG0/KGDOzpunmWw6bUaq RIf3Dfwp3XEcYYuTJ3mtD1t5H20JPHbt6BzeRaktrB6RmRkfy4oceGvu3R8gQgdTjHypGp eHaq+aAoMSljqB3onakWX+HTUQL52A2wb1Oqp2c5dgov/SYFYLJBh4rr1/KSVjUDChdhgh l0rV/zVzgv+/sZOI+99XaJZlKxp6MZWo3gTpBPdE172U5H4BCWfqWdulzdN83eKSRcuzNG SdARUhov4SuVI7dl+UGMNJ5om8UVYeim3hDAjOleos0r/5Cnrsreaz/c+n8Sdg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RVmLS7G+; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RVmLS7G+; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 9181C352E7 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ay3KVQ8XX+1o --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Thanks for quick patch, I'm on the latest main. and I pulled your patch. Now it's not infinite >> looping, but still takes about 3.5 seconds. So I take another profiler profiling again. > > Fixed (hopefully) on main via 1b2d06880. Please, restart emacs after > loading the latest Org (or call M-: (org-persist-gc) before testing. > > A bug introduced in 5ca866d08 caused cache index corruption. > org-persist-gc should fix the corrupted index. > > Best, > Ihor With the second latest patch, the problem solved. Thanks Thanks a lot.! --==-=-= Content-Type: text/html

Ihor Radchenko <yantar92@gmail.com> writes:

"Christopher M. Miles" <numbchild@gmail.com> writes:

Thanks for quick patch, I'm on the latest main. and I pulled your patch. Now it's not infinite looping, but still takes about 3.5 seconds. So I take another profiler profiling again.

Fixed (hopefully) on main via 1b2d06880. Please, restart emacs after loading the latest Org (or call M-: (org-persist-gc) before testing.

A bug introduced in 5ca866d08 caused cache index corruption. org-persist-gc should fix the corrupted index.

Best, Ihor

With the second latest patch, the problem solved. Thanks Thanks a lot.!

--==-=-=-- --=-=-= Content-Type: text/plain <#secure method=pgpmime mode=sign> -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-=--