unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs from cvs eat my processor on linux
@ 2006-10-03 12:02 Alex Ott
  2006-10-03 12:58 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Ott @ 2006-10-03 12:02 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

Hello all

I use Emacs from CVS on my SuSE 10.1 box. I connect to box with Exceed 
X-emulator. During last two weeks i saw, that sometimes Emacs eat all 
cpu time. I had updated today and rebuild emacs, but it still use all 
processor time. Here is trace of emacs execution. file handle 7 - tcp 
connection to exceed

GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.8.3) of 
2006-10-03 on seal




-- 
With best wishes,      Alex Ott
Jet Infosystems,       Head of software development group, MBA
+7 (495) 411 76 01     http://www.jetsoft.ru/ 


[-- Attachment #2: emacs-cvs-log.txt.gz --]
[-- Type: application/gzip, Size: 456923 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs from cvs eat my processor on linux
  2006-10-03 12:02 emacs from cvs eat my processor on linux Alex Ott
@ 2006-10-03 12:58 ` Tassilo Horn
  0 siblings, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2006-10-03 12:58 UTC (permalink / raw)


Alex Ott <ott@jet.msk.su> writes:

> I use Emacs from CVS on my SuSE 10.1 box. I connect to box with Exceed
> X-emulator. During last two weeks i saw, that sometimes Emacs eat all cpu
> time.

Do you have semantic or CEDET (which includes semantic) installed? Then
it's the same problem I reported some days ago. See the thread starting
with <873baae0js.fsf@baldur.nicundtas.de>.

The solution was to update semantic-idle.el from CEDET CVS.

Bye,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs from cvs eat my processor on linux
@ 2006-10-17 22:07 Lennart Borgman
  2006-10-18  6:15 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2006-10-17 22:07 UTC (permalink / raw)



> -------- Original Message --------
> Subject:     Re: emacs from cvs eat my processor on linux
> Date:     Tue, 03 Oct 2006 14:58:06 +0200
> From:     Tassilo Horn <heimdall@uni-koblenz.de>
> To:     emacs-devel@gnu.org
> References:     <45225147.3040801@jet.msk.su>
>
>
>
> Alex Ott <ott@jet.msk.su> writes:
>
>> I use Emacs from CVS on my SuSE 10.1 box. I connect to box with Exceed
>> X-emulator. During last two weeks i saw, that sometimes Emacs eat all 
>> cpu
>> time.
>
> Do you have semantic or CEDET (which includes semantic) installed? Then
> it's the same problem I reported some days ago. See the thread starting
> with <873baae0js.fsf@baldur.nicundtas.de>.
>
> The solution was to update semantic-idle.el from CEDET CVS.

I have the same problem now, but it does not help for me to update 
semantic-idle.el. It seems to be this that causes the problem:

    (load-file "c:/dl/emacs/cedet-1.0pre3/common/cedet.el")

Are you using the same version of cedet as me, Tassilo? Could you 
perhaps send me your version of semantic-idle.el?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs from cvs eat my processor on linux
  2006-10-17 22:07 Lennart Borgman
@ 2006-10-18  6:15 ` Tassilo Horn
  0 siblings, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2006-10-18  6:15 UTC (permalink / raw)


Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

Hi Lennart,

> Are you using the same version of cedet as me, Tassilo?

1.0-pre3 with semantic-idle.el from CVS HEAD.

> Could you perhaps send me your version of semantic-idle.el?

I've sent it by mail.

Bye,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs from cvs eat my processor on linux
@ 2006-10-18 10:48 LENNART BORGMAN
  2006-10-18 13:48 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: LENNART BORGMAN @ 2006-10-18 10:48 UTC (permalink / raw)
  Cc: emacs-devel

From: Tassilo Horn <heimdall@uni-koblenz.de>
Date: Wednesday, October 18, 2006 8:15 am
Subject: Re: emacs from cvs eat my processor on linux

> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
> 
> Hi Lennart,
> 
> > Are you using the same version of cedet as me, Tassilo?
> 
> 1.0-pre3 with semantic-idle.el from CVS HEAD.
> 
> > Could you perhaps send me your version of semantic-idle.el?
> 
> I've sent it by mail.
> 
> Bye,
> Tassilo

Thanks Tassilo, I have tested with the version of semantic-idle.el that you sent me, but I still get 100% CPU in Emacs.

To reproduce this do the following:

- Start with "emacs -Q"

- Evaluate (load-file "YOUR-PATH-TO-CEDET/cedet-1.0pre3/common/cedet.el")

- Then open for example a elisp file.


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195)
 of 2006-10-11

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs from cvs eat my processor on linux
  2006-10-18 10:48 LENNART BORGMAN
@ 2006-10-18 13:48 ` Tassilo Horn
  0 siblings, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2006-10-18 13:48 UTC (permalink / raw)


LENNART BORGMAN <lennart.borgman.073@student.lu.se> writes:

Hi Lennart,

> Thanks Tassilo, I have tested with the version of semantic-idle.el
> that you sent me, but I still get 100% CPU in Emacs.

Sorry, I cannot reproduce it. Did you say that not loading cedet fixes
the bug? If yes, then it may have something to do with two patches my
distribution applies to cedet-1.0_pre3.

--8<---------------cut here---------------start------------->8---
diff -ur cedet-1.0pre3.orig/eieio/eieio-tests.el cedet-1.0pre3/eieio/eieio-tests.el
--- cedet-1.0pre3.orig/eieio/eieio-tests.el	2005-06-29 22:08:02.000000000 -0500
+++ cedet-1.0pre3/eieio/eieio-tests.el	2006-05-15 11:28:22.000000000 -0500
@@ -469,8 +469,9 @@
 \f
 ;;; Test function type in a class
 ;;
-(defvar class-typep-var 0
-  "A variable used in an initform.")
+(eval-when-compile
+  (defvar class-typep-var 0
+    "A variable used in an initform."))
 
 (setq class-typep-var 1)
 
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
--- cedet-1.0pre3/speedbar/sb-info.el	2005-06-30 05:08:02.000000000 +0200
+++ cedet-1.0pre3/speedbar/sb-infonew.el	2006-06-27 14:43:32.000000000 +0200
@@ -249,7 +249,7 @@
 
 ;;; Overriding preinstalled code.
 ;;;###autoload
-(eval-after-load "info" '(require 'sb-info))
-
 (provide 'sb-info)
+
+(eval-after-load "info" '(require 'sb-info))
 ;;; sb-info.el ends here
--8<---------------cut here---------------end--------------->8---

These two patches applied to cedet-1.0_pre3 + the semantic-idle.el I've
sent you should give the exact version I'm working with here without
problems.

If the bug occurs without loading cedet at all, it is caused by another
package...

Bye,
Tassilo
-- 
          "Emacs is not a development tool but a way of life."
                - David Kastrup in alt.religion.emacs -

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-18 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 12:02 emacs from cvs eat my processor on linux Alex Ott
2006-10-03 12:58 ` Tassilo Horn
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17 22:07 Lennart Borgman
2006-10-18  6:15 ` Tassilo Horn
2006-10-18 10:48 LENNART BORGMAN
2006-10-18 13:48 ` Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).