emacs under X intermittant 100% CPU

View: New views
3 Messages — Rating Filter:   Alert me  

emacs under X intermittant 100% CPU

by Rockefeller, Harry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Emacs under X (all three: native cygwin Xwin, X-win32, and Exceed) hangs intermittently consuming 100% of available CPU as shown by running 'top'.

Here are some version stats:

$ emacs -version
GNU Emacs 21.2.1
$ uname -a
CYGWIN_NT-5.1 harryr-pc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

Has anyone else experienced this recently?
Is it possible to run emacs under gdb or attach gdb to emacs in the hung state to find out what is causing this?

Thanks.


--
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


Re: emacs under X intermittant 100% CPU

by Ken Brown-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/29/2009 9:28 AM, Rockefeller, Harry wrote:

> Emacs under X (all three: native cygwin Xwin, X-win32, and Exceed)
> hangs intermittently consuming 100% of available CPU as shown by running
> 'top'.
>
> Here are some version stats:
>
> $ emacs -version
> GNU Emacs 21.2.1
> $ uname -a
> CYGWIN_NT-5.1 harryr-pc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

Emacs 21.2 is very old.  My advice would be to upgrade cygwin to 1.7,
which provides emacs 23.1.  If you don't want to do that, you can
install emacs 23.0.92 under cygwin 1.5, but it's shown as an
"experimental" version when you run setup.exe.

Ken

--
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


RE: emacs under X intermittant 100% CPU

by Rockefeller, Harry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been using emacs 23.1.1 via cygwin 1.7 all day without a problem.  Thanks Ken for the tip.  Thanks to the Cygwin team for a great job.
 
Ken replied:

> On 10/29/2009 9:28 AM, Rockefeller, Harry wrote:
> > Emacs under X (all three: native cygwin Xwin, X-win32, and Exceed)
> > hangs intermittently consuming 100% of available CPU as shown by running
> > 'top'.
> >
> > Here are some version stats:
> >
> > $ emacs -version
> > GNU Emacs 21.2.1
> > $ uname -a
> > CYGWIN_NT-5.1 harryr-pc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
>
> Emacs 21.2 is very old.  My advice would be to upgrade cygwin to 1.7,
> which provides emacs 23.1.  If you don't want to do that, you can
> install emacs 23.0.92 under cygwin 1.5, but it's shown as an
> "experimental" version when you run setup.exe.
>
> Ken
>
> --
> 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


--
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