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: Tue, 06 Mar 2007 15:10:08 +0100 Message-ID: <86zm6q5upr.fsf@lola.quinscape.zz> References: <20070306063056.GA21948@debian-testing-hy.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173190346 6802 80.91.229.12 (6 Mar 2007 14:12:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 14:12:26 +0000 (UTC) Cc: Hongyi Zhao , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 15:12:18 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 1HOaOa-0003pP-59 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 15:12:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOaO3-0003lT-Qo for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 09:11:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOaNm-0003iT-Kz for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:11:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOaNh-0003gH-2H for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:11:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOaNg-0003gC-PG for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:11:08 -0500 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOaNZ-000423-9e for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:11:02 -0500 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id PAA10322 for ; Tue, 6 Mar 2007 15:10:04 +0100 X-Delivered-To: Original-Received: (qmail 4835 invoked from network); 6 Mar 2007 14:10:08 -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 ; 6 Mar 2007 14:10:08 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id B1D6C24B55; Tue, 6 Mar 2007 15:10:08 +0100 (CET) In-Reply-To: (Kenichi Handa's message of "Tue\, 06 Mar 2007 17\:06\:35 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (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:67427 Archived-At: Kenichi Handa writes: > By the way, > >> abnormally. The debug-results-gdb is my debug informations under >> gdb. > > It shows this info: > > Breakpoint 1, abort () at emacs.c:431 > 431 kill (getpid (), SIGABRT); > (gdb) bt full > #0 abort () at emacs.c:431 > No locals. > #1 0x08085a09 in try_window_id (w=0x8b927f0) at xdisp.c:15191 > > The function try_window_id has this code: > > try_window_id (w) > struct window *w; > { > [...] > /* Update window_end_pos and window_end_vpos. */ > if (first_unchanged_at_end_row > && !last_text_row_at_end) > [...] > else if (last_text_row_at_end) > [...] > else if (last_text_row) > [...] > else if (first_unchanged_at_end_row == NULL > && last_text_row == NULL > && last_text_row_at_end == NULL) > [...] > else > abort (); <-- line 15191 > [...] > } > > So it's impossible to reach the line 15191 with any > combination of values of these three variables: > > first_unchanged_at_end_vpos > last_text_row > last_text_row_at_end > > Is it GCC bug? Which version of GCC have you used? >>From 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. -- David Kastrup