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#4228: marked as done (23.1; --script and stack-trace-on-error) Date: Sun, 20 Sep 2009 17:15:03 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253466903-9410-0" X-Trace: ger.gmane.org 1253467643 23879 80.91.229.12 (20 Sep 2009 17:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 17:27:23 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 20 19:27:16 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 1MpQBv-000456-3D for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 19:27:15 +0200 Original-Received: from localhost ([127.0.0.1]:60994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpQBu-0004Fo-EB for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 13:27:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpQBq-0004Di-0j for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:27:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpQBl-00048q-Bo for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:27:09 -0400 Original-Received: from [199.232.76.173] (port=60367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpQBl-00048i-84 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:27:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57467) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpQBk-0006K9-Ml for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2009 13:27:05 -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 n8KHR2L1011066; Sun, 20 Sep 2009 10:27:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8KHF3tt009431; Sun, 20 Sep 2009 10:15:03 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4228 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:31306 Archived-At: This is a multi-part message in MIME format... ------------=_1253466903-9410-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 20 Sep 2009 13:05:51 -0400 with message-id and subject line Re: bug#4228: 23.1; --script and stack-trace-on-error has caused the Emacs bug report #4228, regarding 23.1; --script and stack-trace-on-error 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 4228: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4228 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253466903-9410-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 21 Aug 2009 22:38:34 +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.7 required=4.0 tests=AWL,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 n7LMcXKJ008221 for ; Fri, 21 Aug 2009 15:38:34 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mecki-0005HW-Pi for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 18:38:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Meckd-0005GZ-9c for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 18:38:32 -0400 Received: from [199.232.76.173] (port=35469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Meckd-0005GW-1Q for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 18:38:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16842) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Meckc-0006kW-EH for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 18:38:26 -0400 Received: from int-mx07.intmail.prod.int.phx2.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7LMcNF2018615 for ; Fri, 21 Aug 2009 18:38:23 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx07.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7LMcMuL024522; Fri, 21 Aug 2009 18:38:23 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7LMcLR8010614; Fri, 21 Aug 2009 18:38:22 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 1EC503782EF; Fri, 21 Aug 2009 16:38:21 -0600 (MDT) From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 23.1; --script and stack-trace-on-error Reply-To: Tom Tromey X-Attribution: Tom Date: Fri, 21 Aug 2009 16:38:21 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.67 on 10.5.11.20 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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: I have a script that I run using emacs --script. When writing the script, I get errors on occasion. It would be very useful if stack-trace-on-error worked in this situation. Currently it does not. 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 /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-03 on x86-5.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10601901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu ffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t highlight-changes-visible-mode: t flyspell-mode: t eldoc-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 Recent input: h e r M-b M-l SPC l i s p SPC v a r s M-b M-b s t a t i c p r o ' d SPC C-e ( d o l i s t SPC ( v SPC s p e c M-/ ) ( i n M-/ SPC ( c o n s SPC v SPC v ) ) ) C-f C-f C-o ; ; SPC n o n - g c - p r o f ' d s s t a t M-/ C-g i p r o s ' C-/ ' d SPC s t u f f C-x C-s C-l C-z o C-z o C-z o C-z o C-a C-v M-v M-v M-v C-v C-v M-< M-> M-< C-z o C-z o C-v C-u C-n C-n C-M-f C-a C-u C-u C-n C-u C-u C-n C-l M-< C-u C-n C-u C-p C-o C-o ( s t e t q SPC s t a c k - t r ESC TAB SPC t ) C-x C-s C-z o C-v M-v C-v C-v C-l C-u C-p C-p C-e C-u C-p C-p C-p C-d " L I M-/ M-/ M-/ " C-x C-s C-c b M-< M-x r e p o r t C-g M-f M-f C-h v C-x 1 C-h f b a c k t r C-z o C-z o C-x 1 C-v C-v M-> C-f M-< M-x r e p o r t - e m b b C-g C-v C-v M-x r e p o r t - e m b Recent messages: Wrote /home/tromey/gnu/Emacs/git-emacs/emacs/src/x-defvar.el Mark set Quit Type C-x 1 to delete the help window. Making completion list... [2 times] Type C-x 1 to delete the help window. Mark set call-interactively: End of buffer Mark set Making completion list... Quit Tom ------------=_1253466903-9410-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4228-done) by emacsbugs.donarmstrong.com; 20 Sep 2009 17:06:00 +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=-4.7 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8KH5xVD008211 for <4228-done@emacsbugs.donarmstrong.com>; Sun, 20 Sep 2009 10:06:00 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAF/9tUpFxL35/2dsb2JhbACBUstNhBsFh34 X-IronPort-AV: E=Sophos;i="4.44,419,1249272000"; d="scan'208";a="46165593" Received: from 69-196-189-249.dsl.teksavvy.com (HELO pastel.home) ([69.196.189.249]) by ironport2-out.pppoe.ca with ESMTP; 20 Sep 2009 13:05:53 -0400 Received: by pastel.home (Postfix, from userid 20848) id 05A088079; Sun, 20 Sep 2009 13:05:51 -0400 (EDT) From: Stefan Monnier To: Tom Tromey Cc: Dan Nicolaescu Subject: Re: bug#4228: 23.1; --script and stack-trace-on-error Message-ID: References: <200908212305.n7LN5BJ7023849@godzilla.ics.uci.edu> Date: Sun, 20 Sep 2009 13:05:51 -0400 In-Reply-To: (Tom Tromey's message of "Fri, 18 Sep 2009 19:57:44 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dan> [No idea why stack-trace-on-error does not work] > I looked at this a little bit. > eval.c:find_handler_clause prints to a buffer named *Backtrace*. So, > I'm guessing that the stack trace is created -- just not visible. > The appended patch works for me. Thanks, installed (and removed the non-prototype code since Emacs's C code now requires prototypes anyway). Stefan ------------=_1253466903-9410-0--