From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Help with org related crash on OpenBSD Date: Tue, 17 Oct 2017 20:32:17 -0400 Message-ID: <87vajd70tq.fsf@alphaville.usersys.redhat.com> References: <20171013165118.dkr3lvgcc5yiwsbo@slip.bold.daemon> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4cHe-0004hN-Ag for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 20:32:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4cHb-0002L9-5B for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 20:32:30 -0400 Received: from [195.159.176.226] (port=33366 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4cHa-0002Kk-Ts for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 20:32:27 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1e4cHQ-0004fY-LH for emacs-orgmode@gnu.org; Wed, 18 Oct 2017 02:32:16 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Adrian Bradd writes: > ​Instrumenting 'org-capture' with edebug might be of some assistance. This should at least allow you to step through org-capture and see where emacs is hanging. > > HTH > > On 13 October 2017 at 12:51, Aaron Bieber wrote: > > Hola, > > I am trying to track down an issue where emacs hangs on OpenBSD when > using org-capture. I happens with org 9.1.2 and 8.2.10 in emacs > 25.3.1. > > It seems that 3 out of 4 times, emacs completely hangs when adding a > Todo. I have tried setting (toggle-debug-on-quit) and > (toggle-debug-on-error), but once the hang happens emacs becomes > completely unresponsive. The one time that it doesn't hang, it takes > around 3 or 4 seconds to actually open up the gtd.org file. In addition to the edebug suggestion, you might try these two (three?) as well: If it's emacs that's hanging, then `strace -p ' might give a hint, although it's probably better to run emacs under gdb as described in https://www.gnu.org/software/emacs/manual/html_node/emacs/Checklist.html#Checklist That can get hairy though. If it's org-capture that's hanging, then setting debug-on-quit to t and pressing C-g when you get a hang might give you a backtrace. -- Nick