emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Unicode-2 crash by set-face-font


From: Herbert Euler
Subject: RE: Unicode-2 crash by set-face-font
Date: Fri, 25 Jan 2008 11:15:17 +0800

I encounter a similar crash.  In my case, Emacs is even not started.
Here is the gdb information:

address@hidden:/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
address@hidden:/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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]