From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts 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, 7 Mar 2007 18:10:13 +1300 Message-ID: <17902.18741.182091.793103@kahikatea.snap.net.nz> 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> <17902.14616.815216.29836@kahikatea.snap.net.nz> <20070307045801.GA27136@debian-testing-hy.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173244249 27253 80.91.229.12 (7 Mar 2007 05:10:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 05:10:49 +0000 (UTC) Cc: Emacs Devel To: Hongyi Zhao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 07 06:10:41 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 1HOoQA-0006CH-A5 for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 06:10:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOoQC-0005Sm-T1 for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 00:10:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOoQ2-0005Sh-AY for emacs-devel@gnu.org; Wed, 07 Mar 2007 00:10:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOoQ0-0005SV-0s for emacs-devel@gnu.org; Wed, 07 Mar 2007 00:10:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOoPz-0005SS-QE for emacs-devel@gnu.org; Wed, 07 Mar 2007 00:10:27 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOoPu-0002sL-LM for emacs-devel@gnu.org; Wed, 07 Mar 2007 00:10:23 -0500 Original-Received: from kahikatea.snap.net.nz (39.63.255.123.dynamic.snap.net.nz [123.255.63.39]) by viper.snap.net.nz (Postfix) with ESMTP id 978E03DA0FD; Wed, 7 Mar 2007 18:10:16 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id D23394F726; Wed, 7 Mar 2007 18:10:14 +1300 (NZDT) In-Reply-To: <20070307045801.GA27136@debian-testing-hy.localdomain> X-Mailer: VM 7.19 under Emacs 22.0.95.1 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:67482 Archived-At: > > make distclean > > configure CFLAGS=-g > > make > > No, it doesn't work still. Please see the debug info. OK, I didn't look at the attachment and thought you were saying it wasn't compiling (You sent a single 30K text file as a compressed tar file attachment. I think it's best to send such small files just as text, as they're easier to read) This looks different to what you had before: before: #1 0x08085a09 in try_window_id (w=0x8b927f0) at xdisp.c:15191 now: #1 0x0808a8ec in try_window_id (w=0x8519d00) at xdisp.c:15132 I don't have a unicode emacs but 15191 - 15132 = 59. If I go back 59 lines in my xdisp.c from the last fail it takes me to this line: xassert (w->window_end_bytepos >= 0); but I'll leave it to Kenichi Handa to say more, as I know nothing about this code. -- Nick http://www.inet.net.nz/~nickrob