From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Herbert Euler Newsgroups: gmane.emacs.devel Subject: RE: Unicode-2 crash by set-face-font Date: Fri, 25 Jan 2008 14:37:32 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201243082 18243 80.91.229.12 (25 Jan 2008 06:38:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2008 06:38:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka , Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 25 07:38:22 2008 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 1JIICg-0005i1-BA for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 07:38:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIICF-0001RR-Ql for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 01:37:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIICA-0001Qd-WF for emacs-devel@gnu.org; Fri, 25 Jan 2008 01:37:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIIC5-0001O0-GY for emacs-devel@gnu.org; Fri, 25 Jan 2008 01:37:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIIC5-0001Nu-9x for emacs-devel@gnu.org; Fri, 25 Jan 2008 01:37:41 -0500 Original-Received: from bay0-omc2-s26.bay0.hotmail.com ([65.54.246.162]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIIC4-0002rr-I0 for emacs-devel@gnu.org; Fri, 25 Jan 2008 01:37:41 -0500 Original-Received: from BAY143-W7 ([65.55.154.42]) by bay0-omc2-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Jan 2008 22:37:32 -0800 X-Originating-IP: [216.145.54.158] Importance: Normal In-Reply-To: X-OriginalArrivalTime: 25 Jan 2008 06:37:32.0776 (UTC) FILETIME=[C3BD8680:01C85F1C] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:87477 Archived-At: OK. Something happened in set_lface_from_font_and_fontset: (gdb) r -Q The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /data/emacs/emacs/src/emacs -Q [Thread debugging using libthread_db enabled] [New Thread 0xb73a36b0 (LWP 18041)] [Switching to Thread 0xb73a36b0 (LWP 18041)] Breakpoint 6, realize_default_face (f=0x8c57f10) at xfaces.c:7450 7450 set_lface_from_font_and_fontset (f, lface, frame_font, (gdb) p ((union Lisp_Misc *) ((long) (((((struct Lisp_Vector *) ((long) ((lface) & ~((((long) 1) << 3) - 1))))->contents)[LFACE_FONT_INDEX]) & ~((((long) 1) << 3) - 1)))) $32 = (union Lisp_Misc *) 0x83e0210 (gdb) p *$ $33 = { u_any = { type = 16, gcmarkbit = 0, spacer = 0 }, u_free = { type = 16, gcmarkbit = 0, spacer = 0, chain = 0x8265c83, padding = "\341\230=\b\341\230=\b\311\230=\b\000\000\000" }, u_marker = { type = 16, gcmarkbit = 0, spacer = 0, need_adjustment = 0, insertion_type = 0, buffer = 0x8265c83, next = 0x83d98e1, charpos = 138254561, bytepos = 138254537 }, u_intfwd = { type = 16, gcmarkbit = 0, spacer = 0, intvar = 0x8265c83 }, u_boolfwd = { type = 16, gcmarkbit = 0, spacer = 0, boolvar = 0x8265c83 }, u_objfwd = { type = 16, gcmarkbit = 0, spacer = 0, objvar = 0x8265c83 }, u_buffer_objfwd = { type = 16, gcmarkbit = 0, spacer = 0, slottype = 136731779, ---Type to continue, or q to quit--- offset = 138254561 }, u_buffer_local_value = { type = 16, gcmarkbit = 0, spacer = 0, local_if_set = 0, check_frame = 0, found_for_buffer = 0, found_for_frame = 0, realvalue = 136731779, buffer = 138254561, frame = 138254561, cdr = 138254537 }, u_overlay = { type = 16, gcmarkbit = 0, spacer = 0, next = 0x8265c83, start = 138254561, end = 138254561, plist = 138254537 }, u_kboard_objfwd = { type = 16, gcmarkbit = 0, spacer = 0, offset = 136731779 }, u_save_value = { type = 16, gcmarkbit = 0, spacer = 0, dogc = 0, pointer = 0x8265c83, integer = 138254561 } } (gdb) n 7466 f->default_face_done_p = 1; (gdb) p ((union Lisp_Misc *) ((long) (((((struct Lisp_Vector *) ((long) ((lface) & ~((((long) 1) << 3) - 1))))->contents)[LFACE_FONT_INDEX]) & ~((((long) 1) << 3) - 1)))) $34 = (union Lisp_Misc *) 0x8794b70 (gdb) p *$ $35 = { u_any = { type = 59, gcmarkbit = 0, spacer = 0 }, u_free = { type = 59, gcmarkbit = 0, spacer = 0, chain = 0xffffffff, padding = "\000\000\000\000t\025f\b\r\000\000\000\377\377\377\377" }, u_marker = { type = 59, gcmarkbit = 0, spacer = 0, need_adjustment = 0, insertion_type = 0, buffer = 0xffffffff, next = 0x0, charpos = 140907892, bytepos = 13 }, u_intfwd = { type = 59, gcmarkbit = 0, spacer = 0, intvar = 0xffffffff }, u_boolfwd = { type = 59, gcmarkbit = 0, spacer = 0, boolvar = 0xffffffff }, u_objfwd = { type = 59, gcmarkbit = 0, spacer = 0, objvar = 0xffffffff }, u_buffer_objfwd = { type = 59, gcmarkbit = 0, spacer = 0, slottype = -1, ---Type to continue, or q to quit--- offset = 0 }, u_buffer_local_value = { type = 59, gcmarkbit = 0, spacer = 0, local_if_set = 0, check_frame = 0, found_for_buffer = 0, found_for_frame = 0, realvalue = -1, buffer = 0, frame = 140907892, cdr = 13 }, u_overlay = { type = 59, gcmarkbit = 0, spacer = 0, next = 0xffffffff, start = 0, end = 140907892, plist = 13 }, u_kboard_objfwd = { type = 59, gcmarkbit = 0, spacer = 0, offset = -1 }, u_save_value = { type = 59, gcmarkbit = 0, spacer = 0, dogc = 0, pointer = 0xffffffff, integer = 0 } } (gdb) Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/