From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noah Slater Subject: Re: Getting lots of Emacs crashes Date: Mon, 13 Oct 2014 17:36:08 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdhfa-0000Zn-Sf for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 11:36:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdhfS-0005Sq-DN for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 11:36:22 -0400 Received: from hermes.apache.org ([140.211.11.3]:54895 helo=mail.apache.org) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XdhfS-0005Sh-5B for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 11:36:14 -0400 Received: by mail-ig0-f170.google.com with SMTP id hn15so14099545igb.3 for ; Mon, 13 Oct 2014 08:36:08 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noah Slater Cc: emacs-orgmode@gnu.org Is there anything else I could provide that would help? It's still happening to me occasionally. On 5 October 2014 20:43, Noah Slater wrote: > Using Org version: release_8.3beta-38-gbaa2c5 > > $ emacs --version > > GNU Emacs 24.4.50.1 > > $ emacs --debug-init > > Fatal error 11: Segmentation fault/usr/local/bin/emacs: line 2: 18940 > Abort trap: 6 > /usr/local/Cellar/emacs/HEAD/Emacs.app/Contents/MacOS/Emacs -nw "$@" > > (Here I ran org-agenda, and it segfaulted.) > > I tried the above command again, and Emacs does not segfault. However, > this time, I go to mark an Org item as done, and Emacs uses up 100% > CPU. > > So I try this again, but I use dtruss -p PID to get a trace. > > What I do here is that I open Emacs, set the trace running, then open > the agenda, move to the item, press "t" to bring up the change state > menu, then hit "d" for DONE. > > That's when Emacs hangs, and this is the trace from pressing "d": > > stat64("/var/run/random-seed\0", 0x7FFF5FBFA690, 0x1015661C8) = -1 Err#2 > symlink("nslater@air.fritz.box.19297\0", > "/Users/nslater/Documents/Org/.#Tech.org\0") = 0 0 > write_nocancel(0x4, "\033[39d\033[?25lTODO state changed to > \033[1m\033[38;5;28mDONE\033[0m\033[39;49m\033[K\033[24;3H\033[?12l\033[?25h\033[?12;25h\0", > 0x5E) = 94 0 > select(0x5, 0x7FFF5FBFE1A0, 0x7FFF5FBFE120, 0x0, 0x7FFF5FBFDDF0) = -1 Err#4 > sigreturn(0x7FFF5FBFDD30, 0x1E, 0x7FFF5FBFDD30) = 0 Err#-2 > __pthread_canceled(0x0, 0x7FFF5FBFE1A0, 0x7FFF5FBFE120) = -1 Err#22 > ioctl(0x4, 0x4004667F, 0x7FFF5FBFCADC) = 0 0 > read(0x4, "d\b\0", 0x1) = 1 0 > ioctl(0x4, 0x4004667F, 0x7FFF5FBFCADC) = 0 0 > ioctl(0x4, 0x4004667F, 0x7FFF5FBFCADC) = 0 0 > stat64("/Users/nslater/Documents/Org/Tech.org\0", 0x7FFF5FBFC6D8, > 0x100522438) = 0 0 > gettimeofday(0x7FFF5FBFD188, 0x0, 0x0) = 1412534490 0 > write_nocancel(0x4, > "\033[39;23H\033[?25l\033[1m\033[91mTODO\033[0m\033[39;49m\033[24;3H\033[?12l\033[?25h\033[?12;25h#\0", > 0x43) = 67 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0x0) = 1412534492 0 > gettimeofday(0x7FFF5FBFD328, 0x0, 0x0) = 1412534494 0 > gettimeofday(0x7FFF5FBFD328, 0x0, 0xE0E0) = 1412534504 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0xE0E4) = 1412534505 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0xE0E4) = 1412534507 0 > gettimeofday(0x7FFF5FBFD328, 0x0, 0xE0E0) = 1412534515 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0x0) = 1412534523 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0x0) = 1412534528 0 > gettimeofday(0x7FFF5FBFD328, 0x0, 0xE0E0) = 1412534531 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0x0) = 1412534539 0 > gettimeofday(0x7FFF5FBFD388, 0x0, 0xE0E4) = 1412534540 0 > gettimeofday(0x7FFF5FBFD328, 0x0, 0xE0E0) = 1412534542 0 > > And then just gettimeofday messages forever. > > Any clue? > > On 1 September 2014 22:06, Noah Slater wrote: >> Hello, >> >> I'm getting a lot of Emacs crashes recently using Org. Is there any >> way I can help to debug why this is happening? >> >> Thanks, >> >> -- >> Noah Slater >> https://twitter.com/nslater > > > > -- > Noah Slater > https://twitter.com/nslater -- Noah Slater https://twitter.com/nslater