* Getting lots of Emacs crashes
@ 2014-09-01 20:06 Noah Slater
2014-09-02 15:12 ` Richard Lawrence
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Noah Slater @ 2014-09-01 20:06 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
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
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Richard Lawrence @ 2014-09-02 15:12 UTC (permalink / raw)
To: emacs-orgmode
Hi Noah,
Noah Slater <nslater@apache.org> writes:
> I'm getting a lot of Emacs crashes recently using Org. Is there any
> way I can help to debug why this is happening?
What version of Org are you using? What happens when Emacs crashes?
Best,
Richard
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
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
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: David Arroyo Menendez @ 2014-09-02 21:52 UTC (permalink / raw)
To: Noah Slater; +Cc: emacs-orgmode
Noah Slater <nslater@apache.org> writes:
> 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,
You can open Emacs with --debug-init and take a look to *Messages*
Good luck.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
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
4 siblings, 0 replies; 9+ messages in thread
From: Thorsten Jolitz @ 2014-09-03 6:59 UTC (permalink / raw)
To: emacs-orgmode
Noah Slater <nslater@apache.org> writes:
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?
I managed to crash Emacs yesterday too, refiling an Org task. I was
pointed to this url with a recipe to extract usefull information from
the backtrace:
,----
| https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html
`----
It did not work in my case though, since I seem to have a 'stripped
binary' (I never heard that before), but if it works for you, you can send
the converted backtrace to emacs-bugs (M-x report-emacs-bug).
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
2014-09-01 20:06 Getting lots of Emacs crashes Noah Slater
` (2 preceding siblings ...)
2014-09-03 6:59 ` Thorsten Jolitz
@ 2014-09-03 13:53 ` Doug Lewan
2014-10-05 18:43 ` Noah Slater
4 siblings, 0 replies; 9+ messages in thread
From: Doug Lewan @ 2014-09-03 13:53 UTC (permalink / raw)
To: Noah Slater, emacs-orgmode@gnu.org
> -----Original Message-----
> Behalf Of Noah Slater
> Sent: Monday, 2014 September 01 16:06
> To: emacs-orgmode
> Subject: [O] Getting lots of Emacs crashes
>
> 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?
Noah,
You might consider running emacs under a debugger. It will trap the crash and then you can ask where it happened, i.e. a stack trace. The information might be of more interest to an emacs developer than to you.
GNU software should not crash. From the emacs info (a description of a typical crash):
If Emacs accesses an invalid memory location ("segmentation fault"), or
exits with an operating system error message that indicates a problem
in the program (as opposed to something like "disk full"), then it is
certainly a bug.
The stack trace (along with all the other information that belongs in a bug report) can be very helpful.
,Doug
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224 or ext 4335
"This is a slow pup," he said continuing his ascent.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
2014-09-01 20:06 Getting lots of Emacs crashes Noah Slater
` (3 preceding siblings ...)
2014-09-03 13:53 ` Doug Lewan
@ 2014-10-05 18:43 ` Noah Slater
2014-10-13 15:36 ` Noah Slater
4 siblings, 1 reply; 9+ messages in thread
From: Noah Slater @ 2014-10-05 18:43 UTC (permalink / raw)
To: Noah Slater; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
2014-10-05 18:43 ` Noah Slater
@ 2014-10-13 15:36 ` Noah Slater
2014-10-13 15:54 ` Nicolas Goaziou
0 siblings, 1 reply; 9+ messages in thread
From: Noah Slater @ 2014-10-13 15:36 UTC (permalink / raw)
To: Noah Slater; +Cc: emacs-orgmode
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 <nslater@apache.org> 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 <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
--
Noah Slater
https://twitter.com/nslater
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
2014-10-13 15:36 ` Noah Slater
@ 2014-10-13 15:54 ` Nicolas Goaziou
2014-10-21 14:35 ` Noah Slater
0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2014-10-13 15:54 UTC (permalink / raw)
To: Noah Slater; +Cc: emacs-orgmode
Hello,
Noah Slater <nslater@apache.org> writes:
> Is there anything else I could provide that would help? It's still
> happening to me occasionally.
An ECM for the infloop could help. If it segfaults, however, it is
probably outside of Lisp scope and you should report it to the Emacs
development team.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Getting lots of Emacs crashes
2014-10-13 15:54 ` Nicolas Goaziou
@ 2014-10-21 14:35 ` Noah Slater
0 siblings, 0 replies; 9+ messages in thread
From: Noah Slater @ 2014-10-21 14:35 UTC (permalink / raw)
To: Noah Slater, emacs-orgmode
Thanks. I have done that now. They told me to upgrade my Emacs. I have
done so. We'll see what happens. :)
On 13 October 2014 17:54, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Noah Slater <nslater@apache.org> writes:
>
>> Is there anything else I could provide that would help? It's still
>> happening to me occasionally.
>
> An ECM for the infloop could help. If it segfaults, however, it is
> probably outside of Lisp scope and you should report it to the Emacs
> development team.
>
>
> Regards,
>
> --
> Nicolas Goaziou
--
Noah Slater
https://twitter.com/nslater
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-10-21 14:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-10-13 15:36 ` Noah Slater
2014-10-13 15:54 ` Nicolas Goaziou
2014-10-21 14:35 ` Noah Slater
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).