From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8FxmFSZW/2WPTgAA62LTzQ:P1 (envelope-from ) for ; Sat, 23 Mar 2024 23:22:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8FxmFSZW/2WPTgAA62LTzQ (envelope-from ) for ; Sat, 23 Mar 2024 23:22:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=s31663417 header.b=REgQBEUA; 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"; dmarc=pass (policy=quarantine) header.from=gmx.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711232550; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1ntRfRfSGaSv8ye24TCCa0DyW7GuhNke6AYjU2JBdFY=; b=FcQa7FGI2qqahsX2q6eQEjzHQph/RjuJPGU6L3J+WKzGhwVnyfO9S5w9IMb6J1v6fOid9X PCV805wIy6778s9VwZ468ImYSvbaYepfQAFbCWXju9e1RZCiDFhUS5/FsoVS/Fccfk8E8B jHZb2bJegBv6tu/yzBnJVbsjrP6UpW9EZ+Xqerj34+bjQKDhbQbKv98x9OV4st41geX4hX E+pXRvnk0/2ArATWFbqxkQnEdNIN8khs97NGR1vP/aqgwVhX5/z/YFJQThz5EajQ1uLAWF t6R4SHpmxvlq+SXyGnGcyC89cnwc9kiGZK1DNytW8SDEr0dbWHRbOxmTLOhKNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=s31663417 header.b=REgQBEUA; 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"; dmarc=pass (policy=quarantine) header.from=gmx.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711232550; a=rsa-sha256; cv=none; b=ODTHO0vN6rDwp6hb5HHbcbzWPagVkZKRnAoT7ki+aaOedKzWwdp77qTFimPcQ2EgL73RkJ DkUd4RauvY6Z6Gk6Bf/KemGhCCG6ZOXz6Le3gqLLQ1PBv7CWpHRphnwXKb2PzKUjBN03pd yttU/1noKrW2Lv7CAhXh+U7kj5YUxqkRbkElapeIs9O+0j6aawqJ5GL1432FqVmHPqJhRF /oWG+idtIhKZKLcqxEBF2YsopbMQGEwTnLS+NUQkNv51rGT1jM6dJd94Y6VyhfpOsBHFo3 5MQK06Yt+qljXTkQWHofTF/ZJxD3qIlqiY/XyRH1vq6ijcuJg3atpgefUEeONQ== 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 0B7427FDF9 for ; Sat, 23 Mar 2024 23:22:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ro9kE-0008Bp-9m; Sat, 23 Mar 2024 18:21:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ro9kC-0008Bb-EZ for emacs-orgmode@gnu.org; Sat, 23 Mar 2024 18:21:40 -0400 Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ro9kA-0002rT-6w for emacs-orgmode@gnu.org; Sat, 23 Mar 2024 18:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1711232494; x=1711837294; i=telegraph@gmx.net; bh=1ntRfRfSGaSv8ye24TCCa0DyW7GuhNke6AYjU2JBdFY=; h=X-UI-Sender-Class:From:To:Subject:Date; b=REgQBEUAUQiJHNMVQ70MtaB3fdIfpWzYise8koYnEhIz0jNn3bcEhC2e4fbw2Vvu zbckPhoSb39Y2/BioqJJwLi1bX+GFXio1OXMN2+pKRvcGjgv7VUiuE7XTt2wFsMw3 U2KMmkqRHDHKjavaTWZSPCrI1/owKM4riLjCdlOeVY6/QIKCcnFLTHtgpqJnlCTot 2VbpT+8HNzu+qjzA9oQ7AubpZEr2++Rh6a96mlW9rDtksUsg7OOBGVH1aZ0Va9apW e0kMe843KSQSthiF0cqJRnabAAJ0DwiZuFTrlg4RJMPkBgrArzqA6y7Bc0OMMKGC+ FwEjdP7ZXZXaFrXyvA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost ([95.90.236.232]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5VD8-1qhVS81UZG-016zx6; Sat, 23 Mar 2024 23:21:34 +0100 From: Gregor Zattler To: emacs-orgmode@gnu.org Subject: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)] Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 23 Mar 2024 23:20:58 +0100 Message-ID: <87v85cpp2t.fsf@no.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable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PqhceRvfxd5DDf9zElpPpLrgXHpzoFaJWnN PNDaEUktRWVyxYeYg7vTfqi9AvBWKvtKO706nilWo6jDw= Received-SPF: pass client-ip=212.227.17.20; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0B7427FDF9 X-Spam-Score: -8.78 X-Migadu-Spam-Score: -8.78 X-Migadu-Scanner: mx10.migadu.com X-TUID: leCIXOHJ/6GA Dear org-mode developers, Ihor,=20 the following is with GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cair= o version 1.16.0) of 2024-02-27 with point on the following frame for a clock table: #+BEGIN: clocktable :scope ("/home/absolute/path/file.org_archive") #+END: org-clock-report with emacs -Q (that is, with Org mode version 9.6.15 (release_9.6.15 @ /home/xxxx/src/ema= cs-master--32b4f9d21b14190f1ed1611515751abe4b90fa68--2024-02-27T09-36+01-00= /lisp/org/) produces a nice clock report table. If instead I use a very fresh org-mode from main, specifically Org mode version 9.7-pre (release_9.6.22-1309-g8507ef @ /home/xxxx/src/org-= mode/lisp/) like so: emacs -L ~/src/org-mode/lisp -L ~/src/org-mode/contrib/lisp -Q org-clock-report with point on said frame of a clock table produces Updating dynamic block =E2=80=98clocktable=E2=80=99 at line 13... org-clock-sum: Wrong type argument: fixnump, nil file.org_archive has 2376 clock lines. The problem does not occur with file.org which has only 86 clock lines. I especially archive the nodes with clock lines, because or performance reasons. Doing a git bisect produced: 2e901ed23667b04642847701bae2070862b8ee6e is the first bad commit commit 2e901ed23667b04642847701bae2070862b8ee6e Author: Ihor Radchenko Date: Fri Feb 3 15:08:18 2023 +0300 org-clock-sum: Optimize performance * lisp/org-clock.el (org-clock-sum): Do not re-parse the timestamps, reusing already-parser element. lisp/org-clock.el | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) I cannot disclose said file, because it contains loads of sensitive data. I extracted the clock lines only, but a single node with a LOGBOOK drawer filled with this clock lines does not trigger the bug. But I would be happy to test a patch on my file.org to test it (or help otherwise). HTH, Gregor