This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: emacs won't run
- From: Andrea Venturoli <ml at netfence dot it>
- To: cygwin at cygwin dot com
- Date: Thu, 05 Dec 2013 13:50:45 +0100
- Subject: Re: emacs won't run
- Authentication-results: sourceware.org; auth=none
- References: <529EF3CA dot 2050108 at netfence dot it> <529F0A4B dot 4060901 at gmail dot com>
On 12/04/13 11:56, marco atzeri wrote:
Il 12/4/2013 10:20 AM, Andrea Venturoli ha scritto:
Hello.
Since a bit, emacs won't start under X: no error, no message, nothing.
It just starts and exits after a while without doing anything.
I can run "emacs -nw" fine.
How can I diagnose this? Is there any log I can look into? Any utility?
bye & Thanks
av.
use strace.
Thanks.
Forgive my noobiness, but...
> strace emacs
> strace.exe error creating process emacs, (error 2)
Of course, emacs is a shell script.
So I run "strace emacs-x11": is this ok?
Running emacs-x11 by itself I get one of two behaviours:
a) either it hogs the CPU for some seconds, then quits with no effect at
all;
b) or it hogs the CPU for a while, then I'll get "Memory exhausted--use
M-x save-some-buffers then exit and restart Emacs".
I still can't grasp what makes the difference.
Running it through strace, however, it never exits (still doing nothing
appreciable); it is also quite hard to kill.
In the end I got a trace file (which is over 7MB!), but it's nothing I
can interpret.
What should I do?
Anything I should look for?
Any way to make some sense out of this?
Should I upload it somewhere for someone who might be interested in
seeing it?
bye & Thanks
av.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple