X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=F9fj7lYbSDEuRzBJrbVhRWk/rXUokJYE5rTyuP1Rn3x HFrgbI1znWUjDcvS+aSl+XTb50Ohc9vF+bFz3tDzuXvrcdKlsIHrogEo+ZZ7lnOr 1qtCfHDif25yNlgfuzkbUZ3hhc/Dgq2xRSsq8ZMqWOmX78Ne0heW8d29QyzW84Co = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=hz5ccG70FlRCE3a0SJvnvxSclpY=; b=W5oS/yvYphdVruf43 OK0d0LwasLnuxih42CHmHXwA+FTfzckhvZIZ3E15zpDPgd65nmCNoX9++57UnkJs 2vrVOegpb9Y6tV9LhvuEEucN3QKnwuzlaNLeO5iTgfCOQVjhZX+1gqAYQWi9VJnP Xk2dqyf26VR73KSmSCjrXoO+Rk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: cp-out8.libero.it X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0207.52A076A6.0028,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Message-ID: <52A076A5.5050207@netfence.it> Date: Thu, 05 Dec 2013 13:50:45 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: emacs won't run References: <529EF3CA DOT 2050108 AT netfence DOT it> <529F0A4B DOT 4060901 AT gmail DOT com> In-Reply-To: <529F0A4B.4060901@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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