From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa 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: Wed, 07 Mar 2007 13:58:37 +0900 Message-ID: References: <20070306063056.GA21948@debian-testing-hy.localdomain> <86zm6q5upr.fsf@lola.quinscape.zz> <17902.9556.720278.162036@kahikatea.snap.net.nz> <20070307035646.GA14561@debian-testing-hy.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1173243570 25591 80.91.229.12 (7 Mar 2007 04:59:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 04:59:30 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org To: Hongyi Zhao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 07 05:59:24 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 1HOoFG-0001TX-Ph for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 05:59:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOoFI-00035W-Oq for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 23:59:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOoEq-0002x7-ET for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:58:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOoEm-0002vW-RB for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:58:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOoEm-0002vP-GO for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:58:52 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOoEh-0001oN-OR for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:58:48 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l274wbJ8017189; Wed, 7 Mar 2007 13:58:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l274wbPS006196; Wed, 7 Mar 2007 13:58:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id l274wbAj008883; Wed, 7 Mar 2007 13:58:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1HOoEX-0002hK-18; Wed, 07 Mar 2007 13:58:37 +0900 In-reply-to: <20070307035646.GA14561@debian-testing-hy.localdomain> (message from Hongyi Zhao on Wed, 7 Mar 2007 11:56:46 +0800) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.95 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-detected-kernel: Solaris 8 (1) 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:67480 Archived-At: In article <20070307035646.GA14561@debian-testing-hy.localdomain>, Hongyi Zhao writes: > > make CFLAGS=-g > > > > should work. The current default for Emacs is "-g -O2". I think it should > > be "-g" for CVS Emacs, but I think that we might have had this discussion > > on the mailing list before. > But, both of the settings with CFLAGS on my case cann't work, please see > the debug errors for detail. It now shows the correct place of calling abort() as below, and I can reproduce the bug by compiling Emacs with --enable-asserts. Breakpoint 1, abort () at emacs.c:431 (gdb) bt full #0 abort () at emacs.c:431 No locals. #1 0x0808a8ec in try_window_id (w=0x8867cc8) at xdisp.c:15132 /* Update window_end_pos and window_end_vpos. */ if (first_unchanged_at_end_row && !last_text_row_at_end) { /* Window end line if one of the preserved rows from the current matrix. Set row to the last row displaying text in current matrix starting at first_unchanged_at_end_row, after scrolling. */ xassert (first_unchanged_at_end_row->displays_text_p); row = find_last_row_displaying_text (w->current_matrix, &it, first_unchanged_at_end_row); xassert (row && MATRIX_ROW_DISPLAYS_TEXT_P (row)); w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row)); w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); w->window_end_vpos = make_number (MATRIX_ROW_VPOS (row, w->current_matrix)); xassert (w->window_end_bytepos >= 0); <-- line 15132 IF_DEBUG (debug_method_add (w, "A")); } I'm now trying to find what is wrong. --- Kenichi Handa handa@m17n.org