From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4233: marked as done (elp (profiler) / broken functions) Date: Sat, 12 Sep 2009 01:50:08 +0000 Message-ID: References: <87tyz9ey8f.fsf@stupidchicken.com> <20090822112118.M15215@fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1252720208-13343-0" X-Trace: ger.gmane.org 1252721304 16095 80.91.229.12 (12 Sep 2009 02:08:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 02:08:24 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 04:08:17 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 1MmI2C-0002NM-VO for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 04:08:17 +0200 Original-Received: from localhost ([127.0.0.1]:55626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmI2C-00008T-Di for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 22:08:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmI16-00081d-DZ for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 22:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmI11-0007zQ-7H for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 22:07:07 -0400 Original-Received: from [199.232.76.173] (port=54063 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmI11-0007zM-0t for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 22:07:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41916) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmI10-0008Ap-1T for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 22:07:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8C26x61016957; Fri, 11 Sep 2009 19:07:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8C1o8Vf013361; Fri, 11 Sep 2009 18:50:08 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4233 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30992 Archived-At: This is a multi-part message in MIME format... ------------=_1252720208-13343-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 11 Sep 2009 21:41:04 -0400 with message-id <87tyz9ey8f.fsf@stupidchicken.com> and subject line Re: elp (profiler) / broken functions has caused the Emacs bug report #4233, regarding elp (profiler) / broken functions to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4233: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4233 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1252720208-13343-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 22 Aug 2009 11:23:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7MBNLxA012936 for ; Sat, 22 Aug 2009 04:23:23 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Meogq-0003VQ-VF for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 07:23:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Meogm-0003QP-56 for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 07:23:20 -0400 Received: from [199.232.76.173] (port=39573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Meogl-0003QF-Pj for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 07:23:15 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:55746) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Meogl-0002vf-55 for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 07:23:15 -0400 Received: from fh-trier.de (owm.fh-trier.de [143.93.54.170]) by gateway-a.fh-trier.de (Postfix) with ESMTP id 193B87BE1 for ; Sat, 22 Aug 2009 13:22:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1250940170; bh=BedyBy27D86Jj6zrXlPVs+lT34Y=; h=From:To:Subject: Date:Message-Id:MIME-Version:Content-Type; b=McGv+MehUfTdht9c7IAxf PYEiVZ+F6niKv4uwVxBxN0MfjBzBbPIO1p8aRhM2mT2YMaY81VvHCexd0YGUmQlrP7J LZoGdBqOMaI0XPSQVyOxicPt74/wqZi0GN6bGozAKL6LuN9H+/zyoeFKmZYA3dDTMPy QuyImVjwTlyQlR+g= From: "Andreas Politz, INF-I-MA" To: bug-gnu-emacs@gnu.org Subject: elp (profiler) / broken functions Date: Sat, 22 Aug 2009 13:22:50 +0200 Message-Id: <20090822112118.M15215@fh-trier.de> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 84.59.196.38 (politza) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: There are some more functions elp does not handle well and may break emacs severely. They should be included in `elp-not-profilable'. 1. Function which breaks after instrumenting : + 2. Functions which can not be restored properly : byte-code-function-p functionp byte-code subrp indirect-function fboundp I checked this by trial-and-error with the following code. (progn (require 'cl) (require 'elp) (let ((fn (mapcar #'intern (all-completions "" obarray #'(lambda (sym) (and (elp-profilable-p sym) (not (memq sym '(+ byte-code-function-p functionp byte-code subrp indirect-function fboundp ))))))))) (dolist (f fn) (setq cur f) (elp-instrument-function f) (elp-restore-function f) (when (and (listp (symbol-function cur)) (eq (car (symbol-function cur)) 'lambda) (listp (caddr (symbol-function cur))) (eq (caaddr (symbol-function cur)) 'elp-wrapper)) (goto-char (point-max)) (insert (format "%s\n" cur)) (save-buffer))))) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/politza/src/emacs-23.1.rc1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-08-08 on raven Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-z,defs' 'build_alias=x86_64-linux-gnu' 'CPPFLAGS='' Important settings: value of $LC_ALL: C 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t ------------=_1252720208-13343-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4233-done) by emacsbugs.donarmstrong.com; 12 Sep 2009 01:41:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po32.its.yale.edu (pantheon-po32.its.yale.edu [130.132.50.88]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8C1f9KS011959 for <4233-done@emacsbugs.donarmstrong.com>; Fri, 11 Sep 2009 18:41:11 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po32.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8C1f4tr029854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 Sep 2009 21:41:04 -0400 Received: by furry (Postfix, from userid 1000) id B49A3C070; Fri, 11 Sep 2009 21:41:04 -0400 (EDT) From: Chong Yidong To: "Andreas Politz\, INF-I-MA" Cc: 4233-done@emacsbugs.donarmstrong.com Subject: Re: elp (profiler) / broken functions Date: Fri, 11 Sep 2009 21:41:04 -0400 Message-ID: <87tyz9ey8f.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > There are some more functions elp does not handle well and may break > emacs severely. They should be included in `elp-not-profilable'. Thank you for checking. I've added the functions to elp-not-profilable. ------------=_1252720208-13343-0--