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 +FCANro8yGOragAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 19:38:50 +0100 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 iNe5Nro8yGMaJgAA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 19:38:50 +0100 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 837FF38205 for ; Wed, 18 Jan 2023 19:38:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIDJt-00075R-S2; Wed, 18 Jan 2023 13:37:58 -0500 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 1pIDJn-000722-Hc for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 13:37:55 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIDJk-00059G-Dp for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 13:37:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F301B240084 for ; Wed, 18 Jan 2023 19:37:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674067066; bh=AprvKL7+98kmd9OJaIJdIz3mWMjUu5JhqtPF7agJo4M=; h=From:To:Cc:Subject:Date:From; b=aoNq9yg0VXDEIEo9cg5vYyIFbA/zgOoDv0X2+lvWER5g5lFxI8OpOaqOhrHWAkGO0 h3XYXoILIo6J34HxdnuCVVZHYwNsl0P1btGJdEmMdllfOAEDiEo5zC2ayKvdO4aeK5 60iw2y9/S5wtzt4V7tuJzMMyaQWOPZu2Upu4cIQG6aL7Ob7wbxjGFbQ71hK/T0Xp7g QY+tqoScYGrHsQswYjyqFK5lbhbjsi9HEnQuXCdrNsVhXYSR4Az/q11SegWLeBDRj9 SfBhwaiR1CG8bpscOtAjxgjspyR3XvO1CADCgu9bPhJO03MOx9zl95Nut1mB4Do9QS vomUm9QD+ctBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NxvdM0L4zz9rxH; Wed, 18 Jan 2023 19:37:42 +0100 (CET) From: Ihor Radchenko To: Marcin Borkowski Cc: Org-Mode mailing list Subject: Re: One of my Org files hangs Emacs In-Reply-To: <87edrrpuhv.fsf@mbork.pl> References: <87edrrpuhv.fsf@mbork.pl> Date: Wed, 18 Jan 2023 18:38:10 +0000 Message-ID: <87o7qv663x.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674067130; 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=U//W/Tkxh3fYgT4Iwz7FELR5f4lLpqd9O+xMSxoefy8=; b=TIY0meH80mUWeaD0TnJErmui99rgFbbTve+R8ryNxiJ3rZNKflj+ElE8TF/RbGtruq+fK9 qEDqIp4RGU8F/DaPqPWy7PwSkER5DpfE3XFXsizha1auPhYOVDhv2L3S6c47gaZ6axzXyB OHN8w6VdDSqXocDurvBEXSV0ktv8Guc5psSVIigosRUCxluOgxfFQjaM/6Y2Uh3ivqn/S1 Y/Ng6voMZLJVk6NaSXS//azWCb+EFRzjhOgPJ4jy+huyfqI+1fGtkfn46P0dJ3fQ6cHm5p GavkNPq/l3wZe6CHD6Mh6VCR8sh038A9IH89cl5HzY/Kc+nZauTrZvswNct85w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aoNq9yg0; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674067130; a=rsa-sha256; cv=none; b=eoCgcgm69O1txdCqoRvDpp+o/O5A0x8dgL4AQLj41yMin7HB1Cjqr9uFhEQrlvp1/nbaLe pwzQEt4KOV2BnNWFxqDETfYwadgZNzunFHCTD6ni8nWZCrsQQcGJzIIQhbMgUqt3zpTJ7x nYsKIal+rOl674+rUFTg6Z+yFlKFr2awW9+dswTR2iays2XgdgqP0T55rfxaf73DzXq2FL vSeKN5Fs1McSXHYAWfQWijn6PkkqLRIuHVzYP2D6zjGgmSlDtQ6ujJgdPrHYt60u/npNJi WGX8b/7rbeAf4C6usWFnAX8ukrmgqVCJzePcCfIuQCelHoPckyW2hOhS+KpNyg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.58 X-Spam-Score: -4.58 X-Migadu-Queue-Id: 837FF38205 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aoNq9yg0; dmarc=pass (policy=none) header.from=posteo.net; 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-TUID: BByVBcIeZU/g Marcin Borkowski writes: > so I have a bunch of Org files, most of them pretty big (over 1 > megabyte), and one of them repeatedly causes my Emacsa to hang. > Sometimes a plain `C-g' helps, sometimes I need to kill the Emacs > process. How do I even begin to find out what happens? Any hints? 1. Set debug-on-quit to t and study the backtrace you get after C-g 2. Set debug-on-error to t, send SIGUSR2 signal to Emacs and study the backtrace 3. Run emacs -Q only loading the Org version you use and try to reproduce. If you can, this is a bug in Org. If you can't, bisect your config to identify the cause (there is a helper bug-hunter package to assist; it can be used for manual reproduction as well) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at