emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Abort when no X font resources are set.


From: Aidan Kehoe
Subject: Re: Abort when no X font resources are set.
Date: Sun, 20 Feb 2005 13:15:52 +0100

 Ar an fichiú lá de mí Feabhra, scríobh Jan D.: 

 > I can't reproduce it.  Does it happen when you run emacs -q or emacs -Q?

Yup. My ~/.emacs and my ~/.emacs-history files were empty, so that’s what I
was effectively doing anyway. Here’s some more GDB info;

(gdb) r -q
Starting program: /usr/local/bin/emacs -q

Program received signal SIGABRT, Aborted.
0x48435feb in kill () from /usr/lib/libc.so.12
(gdb) up 1
#1  0x080d7e3e in abort () at emacs.c:456
(gdb) up 1
#2  0x080b1ab6 in choose_face_font (f=0x85af200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe948) at xfaces.c:6794
(gdb) p pattern 
$10 = 0
(gdb) p pattern == Qnil
$11 = 0
(gdb) p Qnil
$12 = 137261057
(gdb) p ((pattern).s.val == (Qnil).s.val && (pattern).s.type == (Qnil).s.type)
Attempt to extract a component of a value that is not a structure.
(gdb) bt
#0  0x48435feb in kill () from /usr/lib/libc.so.12
#1  0x080d7e3e in abort () at emacs.c:456
#2  0x080b1ab6 in choose_face_font (f=0x85af200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe948) at xfaces.c:6794
#3  0x080aae61 in load_face_font (f=0x85af200, face=0x857b200, c=0) at 
xfaces.c:1243
#4  0x080b208a in realize_face (cache=0x85ce9e0, attrs=0xbfbfe9c0, c=0, 
base_face=0x0, former_face_id=0) at xfaces.c:7054
#5  0x080b1d39 in realize_default_face (f=0x85af200) at xfaces.c:6971
#6  0x080b1aef in realize_basic_faces (f=0x85af200) at xfaces.c:6838
#7  0x080b0c8b in Fdisplay_supports_face_attributes_p (attributes=138122797, 
display=140177924) at xfaces.c:6136
#8  0x08134aff in Ffuncall (nargs=3, args=0xbfbfeb50) at eval.c:2780
#9  0x0815a5ff in Fbyte_code (bytestr=136203771, vector=136203988, maxdepth=40) 
at bytecode.c:686
#10 0x08134dfe in funcall_lambda (fun=136203724, nargs=2, 
arg_vector=0xbfbfec74) at eval.c:2967
#11 0x081349df in Ffuncall (nargs=3, args=0xbfbfec70) at eval.c:2837
#12 0x0815a5ff in Fbyte_code (bytestr=136204315, vector=136204428, maxdepth=32) 
at bytecode.c:686
#13 0x08134dfe in funcall_lambda (fun=136204260, nargs=2, 
arg_vector=0xbfbfed84) at eval.c:2967
#14 0x081349df in Ffuncall (nargs=3, args=0xbfbfed80) at eval.c:2837
#15 0x0815a5ff in Fbyte_code (bytestr=136204771, vector=136204916, maxdepth=48) 
at bytecode.c:686
#16 0x08134dfe in funcall_lambda (fun=136204708, nargs=3, 
arg_vector=0xbfbfeea4) at eval.c:2967
#17 0x081349df in Ffuncall (nargs=4, args=0xbfbfeea0) at eval.c:2837
#18 0x0815a5ff in Fbyte_code (bytestr=136207971, vector=136208284, maxdepth=48) 
at bytecode.c:686
#19 0x08134dfe in funcall_lambda (fun=136207932, nargs=1, 
arg_vector=0xbfbfefc4) at eval.c:2967
#20 0x081349df in Ffuncall (nargs=2, args=0xbfbfefc0) at eval.c:2837
#21 0x0815a5ff in Fbyte_code (bytestr=136209595, vector=136209676, maxdepth=40) 
at bytecode.c:686
#22 0x08134dfe in funcall_lambda (fun=136209548, nargs=1, 
arg_vector=0xbfbff0e4) at eval.c:2967
#23 0x081349df in Ffuncall (nargs=2, args=0xbfbff0e0) at eval.c:2837
#24 0x0815a5ff in Fbyte_code (bytestr=136602003, vector=136602044, maxdepth=24) 
at bytecode.c:686
#25 0x08134dfe in funcall_lambda (fun=136601956, nargs=1, 
arg_vector=0xbfbff1f4) at eval.c:2967
#26 0x081349df in Ffuncall (nargs=2, args=0xbfbff1f0) at eval.c:2837
#27 0x0815a5ff in Fbyte_code (bytestr=136597867, vector=136597972, maxdepth=32) 
at bytecode.c:686
#28 0x08134dfe in funcall_lambda (fun=136597836, nargs=0, 
arg_vector=0xbfbff304) at eval.c:2967
#29 0x081349df in Ffuncall (nargs=1, args=0xbfbff300) at eval.c:2837
#30 0x0815a5ff in Fbyte_code (bytestr=136744723, vector=136746060, maxdepth=48) 
at bytecode.c:686
#31 0x08134dfe in funcall_lambda (fun=136744700, nargs=0, 
arg_vector=0xbfbff424) at eval.c:2967
#32 0x081349df in Ffuncall (nargs=1, args=0xbfbff420) at eval.c:2837
#33 0x0815a5ff in Fbyte_code (bytestr=136739683, vector=136739844, maxdepth=56) 
at bytecode.c:686
#34 0x08134dfe in funcall_lambda (fun=136739660, nargs=0, 
arg_vector=0xbfbff4e0) at eval.c:2967
#35 0x08134c83 in apply_lambda (fun=136739660, args=137261057, eval_flag=1) at 
eval.c:2889
#36 0x08134010 in Feval (form=138910005) at eval.c:2188
#37 0x080da525 in top_level_2 () at keyboard.c:1328
#38 0x081330f8 in internal_condition_case (bfun=0x80da514 <top_level_2>, 
handlers=137345625, hfun=0x80da210 <cmd_error>) at eval.c:1385
#39 0x080da551 in top_level_1 () at keyboard.c:1336
#40 0x08132cc5 in internal_catch (tag=137334721, func=0x80da528 <top_level_1>, 
arg=137261057) at eval.c:1144
#41 0x080da49f in command_loop () at keyboard.c:1293
#42 0x080d9fc8 in recursive_edit_1 () at keyboard.c:991
#43 0x080da0e8 in Frecursive_edit () at keyboard.c:1052
#44 0x080d89eb in main (argc=2, argv=0xbfbff894) at emacs.c:1766
#45 0x0804f622 in ___start ()
(gdb) r -Q
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/emacs -Q

Program received signal SIGABRT, Aborted.
0x48435feb in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x48435feb in kill () from /usr/lib/libc.so.12
#1  0x080d7e3e in abort () at emacs.c:456
#2  0x080b1ab6 in choose_face_font (f=0x85af200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe948) at xfaces.c:6794
#3  0x080aae61 in load_face_font (f=0x85af200, face=0x857b200, c=0) at 
xfaces.c:1243
#4  0x080b208a in realize_face (cache=0x85ce9e0, attrs=0xbfbfe9c0, c=0, 
base_face=0x0, former_face_id=0) at xfaces.c:7054
#5  0x080b1d39 in realize_default_face (f=0x85af200) at xfaces.c:6971
#6  0x080b1aef in realize_basic_faces (f=0x85af200) at xfaces.c:6838
#7  0x080b0c8b in Fdisplay_supports_face_attributes_p (attributes=138122797, 
display=140177924) at xfaces.c:6136
#8  0x08134aff in Ffuncall (nargs=3, args=0xbfbfeb50) at eval.c:2780
#9  0x0815a5ff in Fbyte_code (bytestr=136203771, vector=136203988, maxdepth=40) 
at bytecode.c:686
#10 0x08134dfe in funcall_lambda (fun=136203724, nargs=2, 
arg_vector=0xbfbfec74) at eval.c:2967
#11 0x081349df in Ffuncall (nargs=3, args=0xbfbfec70) at eval.c:2837
#12 0x0815a5ff in Fbyte_code (bytestr=136204315, vector=136204428, maxdepth=32) 
at bytecode.c:686
#13 0x08134dfe in funcall_lambda (fun=136204260, nargs=2, 
arg_vector=0xbfbfed84) at eval.c:2967
#14 0x081349df in Ffuncall (nargs=3, args=0xbfbfed80) at eval.c:2837
#15 0x0815a5ff in Fbyte_code (bytestr=136204771, vector=136204916, maxdepth=48) 
at bytecode.c:686
#16 0x08134dfe in funcall_lambda (fun=136204708, nargs=3, 
arg_vector=0xbfbfeea4) at eval.c:2967
#17 0x081349df in Ffuncall (nargs=4, args=0xbfbfeea0) at eval.c:2837
#18 0x0815a5ff in Fbyte_code (bytestr=136207971, vector=136208284, maxdepth=48) 
at bytecode.c:686
#19 0x08134dfe in funcall_lambda (fun=136207932, nargs=1, 
arg_vector=0xbfbfefc4) at eval.c:2967
#20 0x081349df in Ffuncall (nargs=2, args=0xbfbfefc0) at eval.c:2837
#21 0x0815a5ff in Fbyte_code (bytestr=136209595, vector=136209676, maxdepth=40) 
at bytecode.c:686
#22 0x08134dfe in funcall_lambda (fun=136209548, nargs=1, 
arg_vector=0xbfbff0e4) at eval.c:2967
#23 0x081349df in Ffuncall (nargs=2, args=0xbfbff0e0) at eval.c:2837
#24 0x0815a5ff in Fbyte_code (bytestr=136602003, vector=136602044, maxdepth=24) 
at bytecode.c:686
#25 0x08134dfe in funcall_lambda (fun=136601956, nargs=1, 
arg_vector=0xbfbff1f4) at eval.c:2967
#26 0x081349df in Ffuncall (nargs=2, args=0xbfbff1f0) at eval.c:2837
#27 0x0815a5ff in Fbyte_code (bytestr=136597867, vector=136597972, maxdepth=32) 
at bytecode.c:686
#28 0x08134dfe in funcall_lambda (fun=136597836, nargs=0, 
arg_vector=0xbfbff304) at eval.c:2967
#29 0x081349df in Ffuncall (nargs=1, args=0xbfbff300) at eval.c:2837
#30 0x0815a5ff in Fbyte_code (bytestr=136744723, vector=136746060, maxdepth=48) 
at bytecode.c:686
#31 0x08134dfe in funcall_lambda (fun=136744700, nargs=0, 
arg_vector=0xbfbff424) at eval.c:2967
#32 0x081349df in Ffuncall (nargs=1, args=0xbfbff420) at eval.c:2837
#33 0x0815a5ff in Fbyte_code (bytestr=136739683, vector=136739844, maxdepth=56) 
at bytecode.c:686
#34 0x08134dfe in funcall_lambda (fun=136739660, nargs=0, 
arg_vector=0xbfbff4e0) at eval.c:2967
#35 0x08134c83 in apply_lambda (fun=136739660, args=137261057, eval_flag=1) at 
eval.c:2889
#36 0x08134010 in Feval (form=138910005) at eval.c:2188
#37 0x080da525 in top_level_2 () at keyboard.c:1328
#38 0x081330f8 in internal_condition_case (bfun=0x80da514 <top_level_2>, 
handlers=137345625, hfun=0x80da210 <cmd_error>) at eval.c:1385
#39 0x080da551 in top_level_1 () at keyboard.c:1336
#40 0x08132cc5 in internal_catch (tag=137334721, func=0x80da528 <top_level_1>, 
arg=137261057) at eval.c:1144
#41 0x080da49f in command_loop () at keyboard.c:1293
#42 0x080d9fc8 in recursive_edit_1 () at keyboard.c:991
#43 0x080da0e8 in Frecursive_edit () at keyboard.c:1052
#44 0x080d89eb in main (argc=2, argv=0xbfbff894) at emacs.c:1766
#45 0x0804f622 in ___start ()
(gdb) up 2
#2  0x080b1ab6 in choose_face_font (f=0x85af200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe948) at xfaces.c:6794
(gdb)


-- 
“Ah come on now Ted, a Volkswagen with a mind of its own, driving all over
the place and going mad, if that’s not scary I don’t know what is.”




reply via email to

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