From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8l7lG4+uwmBgDwEAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 02:30:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wIWZFo+uwmCuVgAAbx9fmQ (envelope-from ) for ; Fri, 11 Jun 2021 00:30:07 +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 263B5BE23 for ; Fri, 11 Jun 2021 02:30:06 +0200 (CEST) Received: from localhost ([::1]:50198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrV3i-0007eK-NR for larch@yhetil.org; Thu, 10 Jun 2021 20:30:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrU5s-0003Kx-U0 for emacs-orgmode@gnu.org; Thu, 10 Jun 2021 19:28:12 -0400 Received: from gateway21.websitewelcome.com ([192.185.45.91]:36569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrU5o-0006tr-Nk for emacs-orgmode@gnu.org; Thu, 10 Jun 2021 19:28:11 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 17525400EA80F for ; Thu, 10 Jun 2021 18:27:55 -0500 (CDT) Received: from box2268.bluehost.com ([50.87.192.155]) by cmsmtp with SMTP id rU5alaN4yELyOrU5alPsua; Thu, 10 Jun 2021 18:27:55 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=toryanderson.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Content-Transfer-Encoding:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1JZWVCTd2ypAyMdEk9U5+f0WAX0pyoqZd+5Pg9aQ9eM=; b=t2UcC64v+L1j63UKxyFfWNbx5h +NaTuZFwJeNu6IYNeDtLD8LqQIJiPaRL2ZK/tTH27u2w6WSENYpCyLxgXTWnXLyeW3Mrc6V0g5udQ oQnMkaMaevYP05Xy1jEfBcedBcWfA2t1a0fJ5qRHi4j6JEPKU5unoUtBQqSIX0Lin+4A=; Received: from c-98-33-162-63.hsd1.ut.comcast.net ([98.33.162.63]:32977 helo=localhost.localdomain) by box2268.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lrU5a-003n87-Ci; Thu, 10 Jun 2021 17:27:54 -0600 From: webdev@toryanderson.com (Tory S. Anderson) To: emacs-orgmode@gnu.org Subject: Bug: clock-in from org-agenda freezes thread when enforce + todo keywords [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Jun 2021 17:27:49 -0600 Message-ID: <87h7i52tca.fsf@byu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2268.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - toryanderson.com X-BWhitelist: no X-Source-IP: 98.33.162.63 X-Source-L: No X-Exim-ID: 1lrU5a-003n87-Ci X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: c-98-33-162-63.hsd1.ut.comcast.net (localhost.localdomain) [98.33.162.63]:32977 X-Source-Auth: webdev@toryanderson.com X-Email-Count: 1 X-Source-Cap: dG9yeWFuZGU7dG9yeWFuZGU7Ym94MjI2OC5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: permerror client-ip=192.185.45.91; envelope-from=webdev@toryanderson.com; helo=gateway21.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 10 Jun 2021 20:29:21 -0400 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: , 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=1623371407; 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=1JZWVCTd2ypAyMdEk9U5+f0WAX0pyoqZd+5Pg9aQ9eM=; b=rPB4SI+GuzLQNNPlLtQEXJXETx48HS28nmik6QCULNKN3DJI71dTwooCeAhFWTf1IqmC2Z 062vBEJMsayMDuZgml6Fl1e0R/1x/jLJ4bbmrUjQnKe96Hl3W53jg7xCA8gS5A93tdMAVT Cl5j3yKTcbOMdVl7sgBr02mQbtRldYD3RwB+H+LWKLTEF6ysMyhY0eIpCm7wQavM3jXGwT s55ZOO3L38WUWTyTG5/obqm5sVHGKb63zrV1caF9Uqqi6MvqKtdi9crVgZTtudZCeDNmQS sruTIL6b+7urVzpxGTBsY0J+oP65EXL4iUzWTulMNpbrQBaBWu5IeHSrSX4amg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623371407; a=rsa-sha256; cv=none; b=lmh1QmEM7oPz6DsKPQQxobhsFl3WJabE1hX1DJDpxxtKwyZlOrD617zGPpExzfZXfiAnSI /kbtgHT99uYhbbuOXqdjAcFnhFRx5USRUPEqL6mK0gABiascTQDq+P1lu9tLfM+3xjba8c n/mITWIIR97KLHcxa6z3es/NbpGqcq9yjjOnN9wvzBSsC5kVPaPZOwoPoghygqM9aSQrzr 7aH3Ghqo+D/l0+99zxr1wPa9cV+wqqZtfANGhYxYkrv14+PPKLEmhWJo1WgaGJbG6fsOj+ 62QaT5TjsLkwuxvyxCLejiKCbVCFSpnR5ZXf5a/UpTx9Ej3C7Z7Bopn30FqU6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=toryanderson.com header.s=default header.b=t2UcC64v; 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: 0.07 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=toryanderson.com header.s=default header.b=t2UcC64v; dmarc=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: 263B5BE23 X-Spam-Score: 0.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: jrHexeINuGUT After long bisection and suffering for a while from this issue, I have narrowed down an issue that is breaking my workflow. I noticed that some time recently orgmode has begun freezing my system (as an exwm user, this is serious) when I attempt to clock in to certain tasks from the agenda. Clocking in from their actual orgmode file works just fine, but sometimes then even checking the agenda causes thread freezing (I see my CPU spike to maximum on that thread, and emacs becomes unresponsive). In my minimal reproducable version, no packages are loaded other than org-mode and use-package. Here is my current version, although I've been encountering this problem for longer than I've been using this version, probably. Besides all the details included below by the bug report, Here is the use-package declaration that produces the frozen thread when you attempt to clock in to the "parent" item in your agenda (it may be important that the dates/deadlines are "today"; I don't know). In this toy example you can recover with C-g a time or two, but in my full setup even c-g can take up to 30 seconds to register. Steps to reproduce: 1. load emacs with the use-package declaration below 2. visit =M-x org-agendaa= 3. Clock in to the "Parent" item on the agenda by highlighting it and doing =C-c C-x = -- thread will freeze indefinitely, although in toy example you can break free with C-g #+begin_src lisp (use-package org :straight (:type built-in) :demand t :custom (org-enforce-todo-dependencies t) (org-agenda-files '("~/org/nested.org")) (org-todo-keywords '((type "TODO(t)" "STARTED(s)" "UNSTARTED(u)" "|" "DONE(d)") (type "PENDING(p)" "HOLD(h)" "ONGOING(o)" "|" "DONE(d)") (sequence "|" "CANCELED(c)" "ABSTAINED(a)")))) #+end_src Here is nested.org : https://gitlab.com/-/snippets/2133558 ------------------------------------------------------------------------ Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-06-03 Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/) current state: ============== (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-agenda-files '("~/org/nested.org") org-export-before-parsing-hook '(org-attach-expand-links) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-todo-keywords '((type "TODO(t)" "STARTED(s)" "UNSTARTED(u)" "|" "DONE(d)") (type "PENDING(p)" "HOLD(h)" "ONGOING(o)" "|" "DONE(d)") (sequence "|" "CANCELED(c)" "ABSTAINED(a)")) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-enforce-todo-dependencies t org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-metaup-hook '(org-babel-load-in-session-maybe) )