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("nsla...@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 <nsla...@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

Reply via email to