From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*, I give the debug informations under gdb in the attachments. Date: Sun, 11 Mar 2007 22:32:17 +0100 Message-ID: <85bqizpiu6.fsf@lola.goethe.zz> References: <20070306063056.GA21948@debian-testing-hy.localdomain> <86zm6q5upr.fsf@lola.quinscape.zz> <17902.9556.720278.162036@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173648770 3270 80.91.229.12 (11 Mar 2007 21:32:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2007 21:32:50 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 11 22:32:43 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 1HQVeh-0000qK-Og for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 22:32:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQVfH-0000Nl-N0 for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 16:33:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQVf6-0000Li-E8 for emacs-devel@gnu.org; Sun, 11 Mar 2007 17:33:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQVf4-0000JD-T1 for emacs-devel@gnu.org; Sun, 11 Mar 2007 17:33:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQVf4-0000Ik-Lh for emacs-devel@gnu.org; Sun, 11 Mar 2007 16:33:02 -0500 Original-Received: from mail-in-05.arcor-online.net ([151.189.21.45]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HQVeP-0002Ku-WE; Sun, 11 Mar 2007 17:32:22 -0400 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 800A11BB41C; Sun, 11 Mar 2007 22:32:20 +0100 (CET) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 710282C6D48; Sun, 11 Mar 2007 22:32:20 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-021-177.pools.arcor-ip.net [84.61.21.177]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 7D808225124; Sun, 11 Mar 2007 22:32:19 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 4E5751C4F93F; Sun, 11 Mar 2007 22:32:17 +0100 (CET) In-Reply-To: (Eli Zaretskii's message of "Sun\, 11 Mar 2007 23\:10\:47 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:67741 Archived-At: Eli Zaretskii writes: >> Cc: Miles Bader , emacs-devel@gnu.org >> From: Stefan Monnier >> Date: Fri, 09 Mar 2007 17:59:53 -0500 >> >> I think -O (aka -O1) should be debug-friendly (so there shouldn't be any >> need for -Odebug). > > I disagree. -O1 selects optimizations based on how expensive they are > at compile time, not on how badly they disrupt debugging. Many > optimizations that are part of -O2 do no harm at all to debugging, so > there's no reason to give them up. Well, how about explicitly disabling a few debugging-unfriendly options when we are compiling with -g? One particularly nasty option can be removed with -fno-cross-jumping: without that, post-mortem analysis of failed assertions becomes rather erratic (backtraces point to nonsensical places). This has cost me a lot of grief once. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum