From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sid Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2106: 23.0.60; which-function-mode locks up emacs 23 with 100% cpu Date: Thu, 29 Jan 2009 20:18:20 +0530 Message-ID: Reply-To: Sid , 2106@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233289138 15316 80.91.229.12 (30 Jan 2009 04:18:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 04:18:58 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 30 05:20:11 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSkrQ-0000GX-Qg for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jan 2009 05:20:09 +0100 Original-Received: from localhost ([127.0.0.1]:58899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSkq8-00072W-H3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jan 2009 23:18:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSZg0-0006A7-Ed for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 11:23:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSZfx-00068N-MF for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 11:23:35 -0500 Original-Received: from [199.232.76.173] (port=56620 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSZfw-00067r-NQ for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 11:23:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55415) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSZfw-0008NQ-2O for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 11:23:32 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0TGNUev013620; Thu, 29 Jan 2009 08:23:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0TGK3X8012490; Thu, 29 Jan 2009 08:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sid Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 29 Jan 2009 16:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2106 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123324552511186 (code B ref -1); Thu, 29 Jan 2009 16:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Jan 2009 16:12:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0TGC1K8011180 for ; Thu, 29 Jan 2009 08:12:02 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:38798 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LSZTA-000427-60 for emacs-pretest-bug@gnu.org; Thu, 29 Jan 2009 11:10:20 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LSZUk-000767-TH for emacs-pretest-bug@gnu.org; Thu, 29 Jan 2009 11:12:00 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.171]:28020) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSZUk-00075p-HI for emacs-pretest-bug@gnu.org; Thu, 29 Jan 2009 11:11:58 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so7563477wfc.24 for ; Thu, 29 Jan 2009 08:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:to:cc :subject:message-id:from:date; bh=nXcZgPnan95qcVV3TBtXeXrG9lphIHEGVOCDhIX9kPI=; b=AIONMgB1Bdzh05XNkXNe4qFYMM12K8SFNjxv5q8YBqJK3rjqmMsp3TAp3eoNMfPOjF J+yhUHODt2aKeUjQ40zEpRMFkbu6C9ALvfo5U4gMk76gtI3v6QuwqnOTrlGpqhAMDAtT EFBvxJkOzXXkJk/nOwi42t/DSqa9soeCA6eAs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:message-id:from:date; b=tdEo9W3g/M98xM9vvyiqYxMJxlQNVAbaNsG+YrHZMHhTsAnJioG4y4jIB5GktfVxuE Vtt/+s3PxEi7AZ2LRAnY0QkTkOkmAB5z83IJDRRN5N9cw0lFvbheJVQNXu2Qxh5/wjOI /F20JeXFflDL8aXli0vtve1Kh+7g0xYnwpElw= Original-Received: by 10.142.80.7 with SMTP id d7mr83773wfb.64.1233245515342; Thu, 29 Jan 2009 08:11:55 -0800 (PST) Original-Received: from debook.local ([122.167.21.236]) by mx.google.com with ESMTPS id 30sm6899392wfd.24.2009.01.29.08.11.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Jan 2009 08:11:54 -0800 (PST) Original-Received: from sid by debook.local with local (Exim 4.69) (envelope-from ) id 1LSZUN-0008MA-1S; Thu, 29 Jan 2009 21:41:35 +0530 Original-Received: from sid by debook with local (Exim 4.69) (envelope-from ) id 1LSYBo-0006q0-BL; Thu, 29 Jan 2009 20:18:20 +0530 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 29 Jan 2009 11:23:35 -0500 X-Mailman-Approved-At: Thu, 29 Jan 2009 23:18:44 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24740 gmane.emacs.pretest.bugs:23805 Archived-At: hi, I noticed that if i have which-function-mode enabled in my init script (~/.emacs) and i open any malformed python file it locks up the emacs window with 100% cpu utilization. Python file doesn't show up on the window and I have to cancel it by pressing C-g. If i had desktop-save-mode enabled too and i start emacs in daemon mode, I noticied that parent process simply waits for the child to complete (because desktop session had this malformed python file listed.) What is worse is, if i kill parent process using C-c, i get my terminal back, but the child continues to eat 100% cpu in the background :-( I found this with couple of days old CVS tree and also with emacs-snapshot package from http://emacs.orebokech.com/. Malformed python file content is: #!/usr/bin/env python from sqlalchemy import * from sqlalchemy.schema import * from sqlalchemy.orm import * class Person: pass mapper(Person, person_table, class Employee: pass thanks, bvk-chaitanya In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2009-01-27 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090126-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_IN value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: which-function-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 0 ; 2 3 5 ; 0 c C-x b C-g C-x C-f d b . TAB RET ESC O B ESC x r e c DEL p o TAB r t - e m TAB RET Recent messages: Skipping dictionaries-common setup for emacs-snapshot Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50festival.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading /etc/emacs/site-start.d/50ruby1.8-elisp.el (source)...done Loading /etc/emacs/site-start.d/50yaml-mode.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Quit [2 times] Making completion list...