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

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

Abort when no X font resources are set.


From: Aidan Kehoe
Subject: Abort when no X font resources are set.
Date: Sun, 20 Feb 2005 01:38:05 +0100

Hi!

Under X11, I want to check out how GNU Emacs appears when I don't have any
resources set for it. So I type

  % xrdb < /dev/null

in a shell. I try to start the program, and I get 

  % emacs           
  Fatal error (6)zsh: abort (core dumped)  emacs

It looks like the assert on line 6793 of xfaces.c is being triggered--some
defaults are probably needed there. Here's the C backtrace, and the rest of
the report-emacs-bug information is below it;

(gdb) bt
#0  0x48435feb in kill () from /usr/lib/libc.so.12
#1  0x080d7c73 in fatal_error_signal (sig=6) at emacs.c:420
#2  <signal handler called>
#3  0x48435feb in kill () from /usr/lib/libc.so.12
#4  0x080d7cb2 in abort () at emacs.c:454
#5  0x080b195a in choose_face_font (f=0x85b0200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe5c8) at xfaces.c:6794
#6  0x080aad0d in load_face_font (f=0x85b0200, face=0x857b200, c=0) at 
xfaces.c:1243
#7  0x080b1f2e in realize_face (cache=0x85cf9c0, attrs=0xbfbfe640, c=0, 
base_face=0x0, former_face_id=0) at xfaces.c:7054
#8  0x080b1bdd in realize_default_face (f=0x85b0200) at xfaces.c:6971
#9  0x080b1993 in realize_basic_faces (f=0x85b0200) at xfaces.c:6838
#10 0x080b0b2f in Fdisplay_supports_face_attributes_p (attributes=138122797, 
display=140182020) at xfaces.c:6136
#11 0x0813481b in Ffuncall (nargs=3, args=0xbfbfe7d0) at eval.c:2780
#12 0x0815a31b in Fbyte_code (bytestr=136203739, vector=136203956, maxdepth=40) 
at bytecode.c:686
#13 0x08134b1a in funcall_lambda (fun=136203692, nargs=2, 
arg_vector=0xbfbfe8f4) at eval.c:2967
#14 0x081346fb in Ffuncall (nargs=3, args=0xbfbfe8f0) at eval.c:2837
#15 0x0815a31b in Fbyte_code (bytestr=136204283, vector=136204396, maxdepth=32) 
at bytecode.c:686
#16 0x08134b1a in funcall_lambda (fun=136204228, nargs=2, 
arg_vector=0xbfbfea04) at eval.c:2967
#17 0x081346fb in Ffuncall (nargs=3, args=0xbfbfea00) at eval.c:2837
#18 0x0815a31b in Fbyte_code (bytestr=136204739, vector=136204884, maxdepth=48) 
at bytecode.c:686
#19 0x08134b1a in funcall_lambda (fun=136204676, nargs=3, 
arg_vector=0xbfbfeb24) at eval.c:2967
#20 0x081346fb in Ffuncall (nargs=4, args=0xbfbfeb20) at eval.c:2837
#21 0x0815a31b in Fbyte_code (bytestr=136207939, vector=136208252, maxdepth=48) 
at bytecode.c:686
#22 0x08134b1a in funcall_lambda (fun=136207900, nargs=1, 
arg_vector=0xbfbfec44) at eval.c:2967
#23 0x081346fb in Ffuncall (nargs=2, args=0xbfbfec40) at eval.c:2837
#24 0x0815a31b in Fbyte_code (bytestr=136209563, vector=136209644, maxdepth=40) 
at bytecode.c:686
#25 0x08134b1a in funcall_lambda (fun=136209516, nargs=1, 
arg_vector=0xbfbfed64) at eval.c:2967
#26 0x081346fb in Ffuncall (nargs=2, args=0xbfbfed60) at eval.c:2837
#27 0x0815a31b in Fbyte_code (bytestr=136601971, vector=136602012, maxdepth=24) 
at bytecode.c:686
#28 0x08134b1a in funcall_lambda (fun=136601924, nargs=1, 
arg_vector=0xbfbfee74) at eval.c:2967
#29 0x081346fb in Ffuncall (nargs=2, args=0xbfbfee70) at eval.c:2837
#30 0x0815a31b in Fbyte_code (bytestr=136597835, vector=136597940, maxdepth=32) 
at bytecode.c:686
#31 0x08134b1a in funcall_lambda (fun=136597804, nargs=0, 
arg_vector=0xbfbfef84) at eval.c:2967
#32 0x081346fb in Ffuncall (nargs=1, args=0xbfbfef80) at eval.c:2837
#33 0x0815a31b in Fbyte_code (bytestr=136744691, vector=136746028, maxdepth=48) 
at bytecode.c:686
#34 0x08134b1a in funcall_lambda (fun=136744668, nargs=0, 
arg_vector=0xbfbff0a4) at eval.c:2967
#35 0x081346fb in Ffuncall (nargs=1, args=0xbfbff0a0) at eval.c:2837
#36 0x0815a31b in Fbyte_code (bytestr=136739651, vector=136739812, maxdepth=56) 
at bytecode.c:686
#37 0x08134b1a in funcall_lambda (fun=136739628, nargs=0, 
arg_vector=0xbfbff160) at eval.c:2967
#38 0x0813499f in apply_lambda (fun=136739628, args=137261057, eval_flag=1) at 
eval.c:2889
#39 0x08133d2c in Feval (form=138910005) at eval.c:2188
#40 0x080da399 in top_level_2 () at keyboard.c:1324
#41 0x08132e14 in internal_condition_case (bfun=0x80da388 <top_level_2>, 
handlers=137345625, hfun=0x80da084 <cmd_error>) at eval.c:1385
#42 0x080da3c5 in top_level_1 () at keyboard.c:1332
#43 0x081329e1 in internal_catch (tag=137334721, func=0x80da39c <top_level_1>, 
arg=137261057) at eval.c:1144
#44 0x080da313 in command_loop () at keyboard.c:1289
#45 0x080d9e3c in recursive_edit_1 () at keyboard.c:987
#46 0x080d9f5c in Frecursive_edit () at keyboard.c:1048
#47 0x080d885f in main (argc=1, argv=0xbfbff518) at emacs.c:1763
#48 0x0804f622 in ___start ()
(gdb) up 1
#1  0x080d7c73 in fatal_error_signal (sig=6) at emacs.c:420
(gdb) up 1
#2  <signal handler called>
(gdb) up 1
#3  0x48435feb in kill () from /usr/lib/libc.so.12
(gdb) up 1
#4  0x080d7cb2 in abort () at emacs.c:454
(gdb) up 1
#5  0x080b195a in choose_face_font (f=0x85b0200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe5c8) at xfaces.c:6794
(gdb) down 5
#0  0x48435feb in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x48435feb in kill () from /usr/lib/libc.so.12
#1  0x080d7c73 in fatal_error_signal (sig=6) at emacs.c:420
#2  <signal handler called>
#3  0x48435feb in kill () from /usr/lib/libc.so.12
#4  0x080d7cb2 in abort () at emacs.c:454
#5  0x080b195a in choose_face_font (f=0x85b0200, attrs=0x857b248, fontset=2, 
c=0, needs_overstrike=0xbfbfe5c8) at xfaces.c:6794
#6  0x080aad0d in load_face_font (f=0x85b0200, face=0x857b200, c=0) at 
xfaces.c:1243
#7  0x080b1f2e in realize_face (cache=0x85cf9c0, attrs=0xbfbfe640, c=0, 
base_face=0x0, former_face_id=0) at xfaces.c:7054
#8  0x080b1bdd in realize_default_face (f=0x85b0200) at xfaces.c:6971
#9  0x080b1993 in realize_basic_faces (f=0x85b0200) at xfaces.c:6838
#10 0x080b0b2f in Fdisplay_supports_face_attributes_p (attributes=138122797, 
display=140182020) at xfaces.c:6136
#11 0x0813481b in Ffuncall (nargs=3, args=0xbfbfe7d0) at eval.c:2780
#12 0x0815a31b in Fbyte_code (bytestr=136203739, vector=136203956, maxdepth=40) 
at bytecode.c:686
#13 0x08134b1a in funcall_lambda (fun=136203692, nargs=2, 
arg_vector=0xbfbfe8f4) at eval.c:2967
#14 0x081346fb in Ffuncall (nargs=3, args=0xbfbfe8f0) at eval.c:2837
#15 0x0815a31b in Fbyte_code (bytestr=136204283, vector=136204396, maxdepth=32) 
at bytecode.c:686
#16 0x08134b1a in funcall_lambda (fun=136204228, nargs=2, 
arg_vector=0xbfbfea04) at eval.c:2967
#17 0x081346fb in Ffuncall (nargs=3, args=0xbfbfea00) at eval.c:2837
#18 0x0815a31b in Fbyte_code (bytestr=136204739, vector=136204884, maxdepth=48) 
at bytecode.c:686
#19 0x08134b1a in funcall_lambda (fun=136204676, nargs=3, 
arg_vector=0xbfbfeb24) at eval.c:2967
#20 0x081346fb in Ffuncall (nargs=4, args=0xbfbfeb20) at eval.c:2837
#21 0x0815a31b in Fbyte_code (bytestr=136207939, vector=136208252, maxdepth=48) 
at bytecode.c:686
#22 0x08134b1a in funcall_lambda (fun=136207900, nargs=1, 
arg_vector=0xbfbfec44) at eval.c:2967
#23 0x081346fb in Ffuncall (nargs=2, args=0xbfbfec40) at eval.c:2837
#24 0x0815a31b in Fbyte_code (bytestr=136209563, vector=136209644, maxdepth=40) 
at bytecode.c:686
#25 0x08134b1a in funcall_lambda (fun=136209516, nargs=1, 
arg_vector=0xbfbfed64) at eval.c:2967
#26 0x081346fb in Ffuncall (nargs=2, args=0xbfbfed60) at eval.c:2837
#27 0x0815a31b in Fbyte_code (bytestr=136601971, vector=136602012, maxdepth=24) 
at bytecode.c:686
#28 0x08134b1a in funcall_lambda (fun=136601924, nargs=1, 
arg_vector=0xbfbfee74) at eval.c:2967
#29 0x081346fb in Ffuncall (nargs=2, args=0xbfbfee70) at eval.c:2837
#30 0x0815a31b in Fbyte_code (bytestr=136597835, vector=136597940, maxdepth=32) 
at bytecode.c:686
#31 0x08134b1a in funcall_lambda (fun=136597804, nargs=0, 
arg_vector=0xbfbfef84) at eval.c:2967
#32 0x081346fb in Ffuncall (nargs=1, args=0xbfbfef80) at eval.c:2837
#33 0x0815a31b in Fbyte_code (bytestr=136744691, vector=136746028, maxdepth=48) 
at bytecode.c:686
#34 0x08134b1a in funcall_lambda (fun=136744668, nargs=0, 
arg_vector=0xbfbff0a4) at eval.c:2967
#35 0x081346fb in Ffuncall (nargs=1, args=0xbfbff0a0) at eval.c:2837
#36 0x0815a31b in Fbyte_code (bytestr=136739651, vector=136739812, maxdepth=56) 
at bytecode.c:686
#37 0x08134b1a in funcall_lambda (fun=136739628, nargs=0, 
arg_vector=0xbfbff160) at eval.c:2967
#38 0x0813499f in apply_lambda (fun=136739628, args=137261057, eval_flag=1) at 
eval.c:2889
#39 0x08133d2c in Feval (form=138910005) at eval.c:2188
#40 0x080da399 in top_level_2 () at keyboard.c:1324
#41 0x08132e14 in internal_condition_case (bfun=0x80da388 <top_level_2>, 
handlers=137345625, hfun=0x80da084 <cmd_error>) at eval.c:1385
#42 0x080da3c5 in top_level_1 () at keyboard.c:1332
#43 0x081329e1 in internal_catch (tag=137334721, func=0x80da39c <top_level_1>, 
arg=137261057) at eval.c:1144
#44 0x080da313 in command_loop () at keyboard.c:1289
#45 0x080d9e3c in recursive_edit_1 () at keyboard.c:987
#46 0x080d9f5c in Frecursive_edit () at keyboard.c:1048
#47 0x080d885f in main (argc=1, argv=0xbfbff518) at emacs.c:1763
#48 0x0804f622 in ___start ()
(gdb) 

In GNU Emacs 22.0.50.1 (i386-unknown-netbsdelf2.0, X toolkit)
 of 2005-02-16 on derrick
Distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
r e s / a <help-echo> <down-mouse-2> <mouse-2> <escape> 
b <escape> b <escape> b <backspace> C-d / C-e <return> 
b t <return> u p SPC 1 <return> u p SPC 1 <return> 
u p SPC 1 <return> u p SPC 1 <return> u p SPC 1 <return> 
u p SPC C-b C-b C-b C-k <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<escape> x r e p o r t SPC e m <tab> <return>

Recent messages:
Mark saved where search started
Loading gud...
Loading easy-mmode...done
Loading gud...done
No completions of /var/tmp/cores/
No completions of /var/tmp/
Mark set
Loading cc-mode...done
Loading vc-cvs...done
Loading emacsbug...done

Bye, 

        - Aidan
-- 
“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]