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 11:15:17 +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 1201230931 23246 80.91.229.12 (25 Jan 2008 03:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2008 03:15:31 +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 04:15:50 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 1JIF2k-0007KN-4J for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 04:15:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIF2J-00016h-OE for ged-emacs-devel@m.gmane.org; Thu, 24 Jan 2008 22:15:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIF2G-00016P-Br for emacs-devel@gnu.org; Thu, 24 Jan 2008 22:15:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIF2F-00016B-U0 for emacs-devel@gnu.org; Thu, 24 Jan 2008 22:15:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIF2F-000168-Kr for emacs-devel@gnu.org; Thu, 24 Jan 2008 22:15:19 -0500 Original-Received: from bay0-omc2-s16.bay0.hotmail.com ([65.54.246.152]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIF2F-0002Gj-FY for emacs-devel@gnu.org; Thu, 24 Jan 2008 22:15:19 -0500 Original-Received: from BAY143-W44 ([65.55.154.79]) by bay0-omc2-s16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Jan 2008 19:15:18 -0800 X-Originating-IP: [216.145.54.158] Importance: Normal In-Reply-To: X-OriginalArrivalTime: 25 Jan 2008 03:15:18.0501 (UTC) FILETIME=[83261950:01C85F00] 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:87467 Archived-At: I encounter a similar crash. In my case, Emacs is even not started. Here is the gdb information: herbert@euler:/data/emacs/emacs/src$ gdb emacs GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = linux Breakpoint 1 at 0x8106fb6: file emacs.c, line 432. Breakpoint 2 at 0x8120a69: file sysdep.c, line 1432. (gdb) r -Q Starting program: /data/emacs/emacs/src/emacs -Q [Thread debugging using libthread_db enabled] [New Thread 0xb73b36b0 (LWP 30679)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb73b36b0 (LWP 30679)] font_load_for_face (f=0x8bd0428, face=0x87b5ad8) at font.c:2761 2761 face->font = font->font.font; (gdb) bt #0 font_load_for_face (f=0x8bd0428, face=0x87b5ad8) at font.c:2761 #1 0x080cea50 in realize_face (cache=0x85c2520, attrs=0xbf9ceb14, former_face_id=) at xfaces.c:7749 #2 0x080cf2f2 in realize_basic_faces (f=0x8bd0428) at xfaces.c:7535 #3 0x080d17d4 in recompute_basic_faces (f=0x8bd0428) at xfaces.c:960 #4 0x0807f94d in init_iterator (it=0xbf9cebf4, w=0x87b7200, charpos=1, bytepos=1, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2537 #5 0x080848dd in resize_mini_window (w=0x87b7200, exact_p=1) at xdisp.c:8505 #6 0x08062b15 in do_switch_frame (frame=137824364, track=1, for_deletion=0) at frame.c:873 #7 0x08063361 in Fselect_frame (frame=137824364) at frame.c:932 #8 0x08171abc in Ffuncall (nargs=2, args=0xbf9cf080) at eval.c:3025 #9 0x0819b22c in Fbyte_code (bytestr=136857459, vector=136857484, maxdepth=) at bytecode.c:679 #10 0x08170fce in Feval (form=136857445) at eval.c:2362 #11 0x0817129f in Fprogn (args=1) at eval.c:451 #12 0x0816f8ad in unbind_to (count=240, value=137693385) at eval.c:3380 #13 0x0819b1dc in Fbyte_code (bytestr=136857347, vector=136857364, maxdepth=) at bytecode.c:701 #14 0x08171446 in funcall_lambda (fun=136857308, nargs=1, arg_vector=0xbf9cf2f4) at eval.c:3212 #15 0x08171851 in Ffuncall (nargs=2, args=0xbf9cf2f0) at eval.c:3082 #16 0x0819b22c in Fbyte_code (bytestr=136407475, vector=136407492, maxdepth=) at bytecode.c:679 #17 0x08171446 in funcall_lambda (fun=136407428, nargs=1, arg_vector=0xbf9cf424) at eval.c:3212 #18 0x08171851 in Ffuncall (nargs=2, args=0xbf9cf420) at eval.c:3082 #19 0x0819b22c in Fbyte_code (bytestr=136658139, vector=136658156, maxdepth=) at bytecode.c:679 #20 0x08171446 in funcall_lambda (fun=136658092, nargs=1, arg_vector=0xbf9cf564) at eval.c:3212 #21 0x08171851 in Ffuncall (nargs=2, args=0xbf9cf560) at eval.c:3082 #22 0x0819b22c in Fbyte_code (bytestr=136655195, vector=136655212, maxdepth=) at bytecode.c:679 #23 0x08171446 in funcall_lambda (fun=136655164, nargs=0, arg_vector=0xbf9cf6a4) at eval.c:3212 #24 0x08171851 in Ffuncall (nargs=1, args=0xbf9cf6a0) at eval.c:3082 #25 0x0819b22c in Fbyte_code (bytestr=136425707, vector=136425724, maxdepth=) at bytecode.c:679 #26 0x08171446 in funcall_lambda (fun=136425684, nargs=0, arg_vector=0xbf9cf7e4) at eval.c:3212 #27 0x08171851 in Ffuncall (nargs=1, args=0xbf9cf7e0) at eval.c:3082 #28 0x0819b22c in Fbyte_code (bytestr=136422403, vector=136422420, maxdepth=) at bytecode.c:679 #29 0x08171446 in funcall_lambda (fun=136422380, nargs=0, arg_vector=0xbf9cf8b0) at eval.c:3212 #30 0x08171640 in apply_lambda (fun=136422380, args=137693385, eval_flag=1) at eval.c:3136 #31 0x08170d04 in Feval (form=138077709) at eval.c:2416 #32 0x0810ebb3 in top_level_2 () at keyboard.c:1390 #33 0x081703a0 in internal_condition_case (bfun=0x810eba0 , handlers=137737617, hfun=0x8112350 ) at eval.c:1494 #34 0x08111770 in top_level_1 () at keyboard.c:1398 #35 0x0817047a in internal_catch (tag=137732465, func=0x8111740 , arg=137693385) at eval.c:1230 #36 0x08112199 in command_loop () at keyboard.c:1353 #37 0x0811251b in recursive_edit_1 () at keyboard.c:969 #38 0x08112651 in Frecursive_edit () at keyboard.c:1031 #39 0x08107dd2 in main (argc=2, argv=0xbf9cff64) at emacs.c:1809 Lisp Backtrace: "select-frame" (0xbf9cf084) "byte-code" (0xbf9cf120) "x-setup-function-keys" (0xbf9cf2f4) ---Type to continue, or q to quit--- "x-create-frame-with-faces" (0xbf9cf424) "make-frame" (0xbf9cf564) "frame-initialize" (0xbf9cf6a4) "command-line" (0xbf9cf7e4) "normal-top-level" (0xbf9cf8b0) (gdb) p face->font $1 = (XFontStruct *) 0x0 (gdb) quit The program is running. Exit anyway? (y or n) y herbert@euler:/data/emacs/emacs/src$ Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/