emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noah Slater <nslater@apache.org>
To: Noah Slater <nslater@apache.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Getting lots of Emacs crashes
Date: Sun, 5 Oct 2014 20:43:24 +0200	[thread overview]
Message-ID: <CAPaJBx4mcO9MoT=-KHZGGdkCg-2eCspC_QzxupoFzYGsd2vPEw@mail.gmail.com> (raw)
In-Reply-To: <CAPaJBx6oh3PsvyEvvEt2Yapr0jY_98mXEBsYpT8rWovECoTwUA@mail.gmail.com>

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 <nslater@apache.org> 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

  parent reply	other threads:[~2014-10-05 18:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 20:06 Getting lots of Emacs crashes Noah Slater
2014-09-02 15:12 ` Richard Lawrence
2014-09-02 21:52 ` David Arroyo Menendez
2014-09-03  6:59 ` Thorsten Jolitz
2014-09-03 13:53 ` Doug Lewan
2014-10-05 18:43 ` Noah Slater [this message]
2014-10-13 15:36   ` Noah Slater
2014-10-13 15:54     ` Nicolas Goaziou
2014-10-21 14:35       ` Noah Slater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPaJBx4mcO9MoT=-KHZGGdkCg-2eCspC_QzxupoFzYGsd2vPEw@mail.gmail.com' \
    --to=nslater@apache.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).