From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday S Reddy Newsgroups: gmane.emacs.help Subject: Re: diagnosing emacs hangs Date: Tue, 22 Jun 2010 09:58:35 +0100 Organization: Janet Usenet Reading Service. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291845076 14681 80.91.229.12 (8 Dec 2010 21:51:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:51:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:51:09 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQRuh-0005X4-Ri for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:51:04 +0100 Original-Received: from localhost ([127.0.0.1]:34072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQRuh-0003IA-6T for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 16:51:03 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!ecngs!feeder2.ecngs.de!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: gromit.cs.bham.ac.uk Original-X-Trace: north.jnrs.ja.net 1277197133 24765 147.188.193.16 (22 Jun 2010 08:58:53 GMT) Original-X-Complaints-To: usenet@north.jnrs.ja.net Original-NNTP-Posting-Date: Tue, 22 Jun 2010 08:58:53 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 In-Reply-To: Original-Xref: usenet.stanford.edu gnu.emacs.help:179158 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76080 Archived-At: Emacs "hangs" means that, when you type C-g and it doesn't respond. Is that what you mean? That kind of thing almost never happens in my experience. You will need to investigate the circumstances that cause the hanging and file a detailed bug report. If it does respond to C-g, then you are in luck. Set the variable debug-on-quit to t ahead of time. When type C-g, it produces a backtrace of all the functions it was trying to run when it went into a hang. You should investigate it or post the backtrace here if you need further help. Cheers, Uday On 6/22/2010 2:18 AM, Matt Price wrote: > Hi all, > > I'm now using emacs for almost everything and of course that's great, > except that it is essentially a single-threaded OS that currently > HANGS with some frequency (100% CPU usgte that will continue for hours > if you let it go. I think this probably has something to do with > wanderlust or possibly org-mode (and/or misconfigurations i've made to > both of these); but at present i cna't be sure since i have no idea > how to diagnose these hangs. Can someone give me some general > directions on how to proceed with the diagnosis, and if you have them, > some pointers on how you fixed a similar problem that you used to > have? Right now it's very frustrating -- I find myself losing > substantial amounts of work when I kill emacs& maybe more > importantly, i'm constantly losing my train of thought. > > This is all under Ubuntu Lucid with emacs-snapshot 20090909, > wanderlust=wl-beta 2.15.9+0.20100303, org-mode 6.34c (some of htese > are debian sid packages). > > Thanks much in advance, > > matt >