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: Tue, 06 Mar 2007 16:02:51 +0900 Message-ID: References: <20070306063056.GA21948@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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173164605 2642 80.91.229.12 (6 Mar 2007 07:03:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 07:03:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Hongyi Zhao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 08:03:16 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 1HOTha-0003vY-LT for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 08:03:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOThb-0004jW-G3 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 02:03:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOThP-0004jF-DY for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:03:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOThM-0004iN-ML for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:03:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOThM-0004iJ-Jp for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:03:00 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOThL-00037X-Qm for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:03:00 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l2672rL4004381; Tue, 6 Mar 2007 16:02:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l2672qTm006050; Tue, 6 Mar 2007 16:02:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id l2672pmO028449; Tue, 6 Mar 2007 16:02:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1HOThD-0005ai-Je; Tue, 06 Mar 2007 16:02:51 +0900 In-reply-to: <20070306063056.GA21948@debian-testing-hy.localdomain> (message from Hongyi Zhao on Tue, 6 Mar 2007 14:30:56 +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:67409 Archived-At: In article <20070306063056.GA21948@debian-testing-hy.localdomain>, Hongyi Z= hao writes: > Now, I meet the same thing that I reported to you two days ago. I debug = > it under gdb according to your guidance. I describe the problem as=20 > follows and sent you a sample file as well as the corresponding debug=20 > informations: Thank you for the info. [...] > In my sample file *sample-file.mp*, which is metapost file. I open it=C2= =B7 > in emacs by using the meta-mode to edit it. The parameters I used to ope= n=20 > Emacs is: *--enable-font-backend -fn "Dejavu Sans Mono-14"*. > When I open the file, then I use the *M-%* and *!* to replace all the=20 > *-* (the character is in Half shape) into *=EF=BC=8D* (the character is i= n Full=20 > shape) or vice versa and do this thing again and again. I mean, if the=20 > there have *-* (half shape) in my file, I replace all of them into *=EF= =BC=8D*=20 > (full shape) and then do the reverse replacements again and again; if=20 > there have *=EF=BC=8D* (full shape) in my file, I replace all of them int= o *-*=20 > (half shape) and then do the reverse replacements again and again. Then = > I find that after some circles, the Emacs will be aborting=20 > abnormally. The debug-results-gdb is my debug informations under=20 > gdb. I did the same thing, but couldn't reproduce that bug. I also ran this function: (defun temp () (while t (goto-char 1) (replace-string "-" "\xFF0D") (sit-for 0.1) (goto-char 1) (replace-string "\xFF0D" "-") (sit-for 0.1))) on sample-file.mp (by visitting it and typing ESC : (temp) RET), but Emacs run's without error. Could you please try the same thing by running Emacs without "--enable-font-backend" arg? > P.S. When I use the command *bt full*, I find so many debug=20 > informations, can I use a command to pipe these informations into a=20 > file. =46rom Emacs, you can do this: M-x gdb RET .../src/emacs RET Then the interation with gdb can be done in *gud-emacs* buffer, thus you can easily save a proper part in a file. --- Kenichi Handa handa@m17n.org