From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6L32OhS0lGJt9gAAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 14:09:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gBzxOhS0lGJgGAEA9RJhRA (envelope-from ) for ; Mon, 30 May 2022 14:09:56 +0200 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 6C787C1D2 for ; Mon, 30 May 2022 14:09:56 +0200 (CEST) Received: from localhost ([::1]:39106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nveDb-0004jR-Hz for larch@yhetil.org; Mon, 30 May 2022 08:09:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvdu8-0006tG-HC for emacs-orgmode@gnu.org; Mon, 30 May 2022 07:49:49 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:43522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvdu6-0005Jr-AG for emacs-orgmode@gnu.org; Mon, 30 May 2022 07:49:47 -0400 Received: by mail-qt1-x829.google.com with SMTP id hh4so11275596qtb.10 for ; Mon, 30 May 2022 04:49:45 -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; bh=/wpTpniVrVZ5X20AJTYPZuHOyojgmUdy53fDkPRQweU=; b=I5PzFUKYVyLN/yVprlCKsjJpK9wyy9MGoI53MtWKAX7zcPIdojFEhC71i3MuSmtp8j oKeQ9LM/43Z0Bc3W3c8T4RpnaSABCSlfdJctFBE1ocutt4xCf+vOxRVU6Ety3uEhklhu j7jCG4CcXs0x7UdhhlsY/3kyj9B1XXYMI4ZqqarMRgWpna/ngaFDw2YHFt2oiuzEdNeN M7jOeVg8nA9WvJB/jpgFC6oP5fiaxq8HMepA5GOTDPobskJ5QqRJswLpLPqiCnaxggNz bSRSZVviF55IYb4GTWTw4yOoZG7Qrjj/qmlgHOjmPhHaFyim3faWpSs/tbV3upMg4fvx 4U0g== 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; bh=/wpTpniVrVZ5X20AJTYPZuHOyojgmUdy53fDkPRQweU=; b=6asxWx27RtgkCeSYxn8u4AqqslE4z7LNDFkpIegLbA3q6CqplL6Rn+WPyNiJ3TLp69 CEJeYPBu2Kjkw6GADontpMsM88r/3gePxjx2/yiK9oh+obYTPPFkrxaDi0ZdQyh80JIl MZUYmMnnwt7u98shwNOSGs8XuTPLWFqOd50QX7aYmHTF7Fe+kQGj3sET3HTBztT287TJ yxH3qUVTdfkiiUYVd0ScO60/TZYlLZJKe9g6iig2euLKdM1lTtBVGUhCIqOZx32UXgYk Bbz0VD7lyYrN7LhZ4Z+NBrlUnewwWfVVbQ07C00pImBLFp3iqamGGiUhHPYmQR6hwc9Y IC8Q== X-Gm-Message-State: AOAM531o1t7Le6+WGLhmA8Zb9iECV4kLPAMf0v46YG+SV31t9M3S4JrL KflevRfAU4nRID/pHJgRWm4= X-Google-Smtp-Source: ABdhPJwRvP/6FGJsWlM5latBGeP77iGzh1kUoxc5fsS/hqeGsh4E79PFird5ur1PfAikT3TdidNMew== X-Received: by 2002:a05:622a:1a04:b0:2fb:80ff:39b1 with SMTP id f4-20020a05622a1a0400b002fb80ff39b1mr20030873qtb.259.1653911384848; Mon, 30 May 2022 04:49:44 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id h8-20020a37c448000000b006a6278a2b31sm2158763qkm.75.2022.05.30.04.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 04:49:44 -0700 (PDT) From: Ihor Radchenko To: William Denton Cc: Nicolas Goaziou , emacs-orgmode@gnu.org Subject: Re: [PATCH] "Cache corruption detected" when editing CLOCK timestamp by hand In-Reply-To: <87v90j2gq4.fsf@localhost> References: <87wnm48ldv.fsf@localhost> <87tuh88kjv.fsf@localhost> <87v90j2gq4.fsf@localhost> Date: Mon, 30 May 2022 19:50:24 +0800 Message-ID: <87h7571bpb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=yantar92@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653912596; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/wpTpniVrVZ5X20AJTYPZuHOyojgmUdy53fDkPRQweU=; b=ul5kbpNyiI/tX8H1lZPUH1JYIzo8BoduaNwr8IfNAyXhPHvB1VBbnjNrJLtRSM0qNt9ziO 75zDBNpOT/HfYyT//IVYI0f+65zVolaiUm9s18KC42JBu6zay2NdZFNcg8sekWb5bRPKeq uqR1/uI0gQHsW1fynsXRCvkivaJpm6AKToAaFwcV0y52Ixnz3HlxuAADGnnM/AcB/VVVsG zoGNvJ4aQG2xhKirm7hIiOoDItAqxAIpPk6M/G0qA4Kz3tamOxsNr6TUs9C4Wo/yidHyG7 RNvpBadAAyvrIhAiz0Ee5DF4J57ENmCFCF+TB0mF0jU/hRhYul99Lzwuj5ASmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653912596; a=rsa-sha256; cv=none; b=r0l0C3y9ph0yUH/AUDfpqgDaWWfQTaKmuGVk1lHte8+f7xYZXoLE5qNFNfDVoTrAz6CscA WVEAO1V4qc4g4WUrdI/OjoqGiVFmDOTyYWWsDZSSa+LhBAmDtxhCHmk+1ebgq6SfL0LQ0E gN4ymmfMMLFZoTv8F6Us9J1iwgzce9uKRfAz+rNXdV7hSRrnvGqJY/DtVAx++RKopHqGL/ ZSgcDhYTP8Nm1M9mtfEeriswV3de04X9z/1fbjc1v387Gj9G8eeNVoRF+nvlQ+Tjkkz6Mz FtODu207WmxNgvQyA4gKLko6BkIl36za00uK9r30NjFtpiVb9Pfp+tV02FWAYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=I5PzFUKY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=I5PzFUKY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C787C1D2 X-Spam-Score: -3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: BY9xfIx8Zald Ihor Radchenko writes: >> Minimal reproducer: >> >> 1. Create an empty org file and open it >> 2. Yank the following string: "CLOCK: [2021-10-22 Fri 10:41]--[2021]" >> 3. M-: (org-element-at-point) > > The attached is tentative fix for cases like the above. Applied onto main via 4dda0d7a8. This may also fix https://list.orgmode.org/8735grjq2e.fsf@no.workgroup/T/#u > Should we consider the above CLOCK line as a valid running clock or > maybe it should be parsed as a paragraph? I am still leaving this question open despite applying the above patch. At least, we need to get the bug fixed. Best, Ihor