From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: GNU Emacs crashes with longlines-mode and outline-mode Date: Mon, 24 Sep 2007 09:52:59 +0200 Message-ID: <86k5qgwld0.fsf@lola.quinscape.zz> References: <46F6E479.3070309@gnu.org> <85y7ewk2zz.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190620397 12382 80.91.229.12 (24 Sep 2007 07:53:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2007 07:53:17 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, r.thiel@uni-jena.de, Jason Rumney To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 24 09:53:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IZikh-000120-Hw for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 09:53:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZikf-0006ks-0G for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 03:53:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZikb-0006kk-U9 for emacs-devel@gnu.org; Mon, 24 Sep 2007 03:53:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZikb-0006kW-JB for emacs-devel@gnu.org; Mon, 24 Sep 2007 03:53:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZikb-0006kP-45 for emacs-devel@gnu.org; Mon, 24 Sep 2007 03:53:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZika-0002Nr-Qf for emacs-devel@gnu.org; Mon, 24 Sep 2007 03:53:04 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZijw-0000tR-OV for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 03:52:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IZikZ-0002NX-TC for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 03:53:04 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZikZ-0002N0-1X for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 03:53:03 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id JAA27748 for ; Mon, 24 Sep 2007 09:53:00 +0200 X-Delivered-To: Original-Received: (qmail 22107 invoked from network); 24 Sep 2007 07:53:00 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 24 Sep 2007 07:53:00 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id F1F008F856; Mon, 24 Sep 2007 09:52:59 +0200 (CEST) In-Reply-To: (Glenn Morris's message of "Mon\, 24 Sep 2007 02\:53\:48 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79678 gmane.emacs.pretest.bugs:19990 Archived-At: Glenn Morris writes: > David Kastrup wrote: > >> Have you compiled with -fno-thread-jumps? Because otherwise the stack >> traceback from failed assertions will be nonsense since gcc will reuse >> the same abort call for every assertion. > > Please could you document this incantation, together with an > explanation, somewhere in the information on debugging Emacs. Thanks. Have you looked in etc/DEBUG? ** When you are trying to analyze failed assertions, it will be essential to compile Emacs either completely without optimizations or at least (when using GCC) with the -fno-crossjumping option. Failure to do so may make the compiler recycle the same abort call for all assertions in a given function, rendering the stack backtrace useless for identifying the specific failed assertion. Oops. So I misremembered the option name: thread-jumping seems actually harmless. So replace my above question with the same using -fno-crossjumping. Sorry for the confusion. -- David Kastrup