unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3112: 23.0.92; segfault in display-supports-face-attributes-p
@ 2009-04-26  4:39 Richard Hansen
  2009-04-28 15:41 ` Richard Hansen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Hansen @ 2009-04-26  4:39 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 2107 bytes --]

Emacs crashed with a segfault.  I'm not sure what happened -- I was 
doing something else at the time (not in Emacs) and when I tried to 
Alt-Tab back to my Emacs window, I couldn't find it.  That's when I 
noticed that bash had printed 'Segmentation fault'.

I've attached a gdb backtrace.

In GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
  of 2009-04-24 on iridium, modified by Debian
  (emacs-snapshot package, version 1:20090423-1~jaunty1)
Windowing system distributor `The X.Org Foundation', version 11.0.10600000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.92/site-lisp:/usr/share/emacs/site-lisp' 
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN 
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 
'CPPFLAGS=''

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: en_DK.UTF-8
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
   flyspell-mode: t
   show-paren-mode: t
   mouse-sel-mode: t
   global-hl-line-mode: t
   cua-mode: t
   tabbar-mwheel-mode: t
   tabbar-mode: t
   global-whitespace-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

[-- Attachment #2: emacs-segfault-gdb-backtrace.txt --]
[-- Type: text/plain, Size: 26097 bytes --]

Core was generated by `emacs main.cf'.
Program terminated with signal 11, Segmentation fault.
[New process 24232]
#0  0xb8083430 in __kernel_vsyscall ()
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 = screen
Breakpoint 1 at 0x8125c56: file emacs.c, line 432.
Breakpoint 2 at 0x8143599: file sysdep.c, line 1146.
#0  0xb8083430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb75be9e6 in kill () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x08127a25 in fatal_error_signal (sig=11) at emacs.c:403
No locals.
#3  <signal handler called>
No symbol table info available.
#4  0x080da7dc in Fdisplay_supports_face_attributes_p (attributes=138529205, display=163849500) at xfaces.c:5103
	frame = <value optimized out>
	def_face = (struct face *) 0x9bb1a20
	attrs = {138020465, 138020465, 138020465, 138020465, 138020465, 138020465, 138020153, 138020465 <repeats 11 times>}
#5  0x0819643f in Ffuncall (nargs=3, args=0xbf99ea70) at eval.c:3048
	fun = <value optimized out>
	original_fun = 138022417
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99eb74, 
  function = 0xbf99ea70, 
  args = 0xbf99ea74, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99ea74
	i = <value optimized out>
#6  0x081cbb88 in Fbyte_code (bytestr=136617235, vector=136617252, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x83264ab "\202\302", 
  top = 0xbf99ea78, 
  bottom = 0xbf99ea70, 
  byte_string = 136617235, 
  byte_string_start = 0x83263f1 "\b\031\306\211\032\033\306\034\307\035\t\307=\203\022", 
  constants = 136617252, 
  next = 0xbf99ebec
}
	top = (Lisp_Object *) 0xbf99ea70
	result = <value optimized out>
#7  0x08198273 in funcall_lambda (fun=136617188, nargs=2, arg_vector=0xbf99ebb4) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 2
	optional = 0
	rest = 0
#8  0x08196133 in Ffuncall (nargs=3, args=0xbf99ebb0) at eval.c:3102
	fun = 136617188
	original_fun = 138970633
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99eca4, 
  function = 0xbf99ebb0, 
  args = 0xbf99ebb4, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99ebb4
	i = <value optimized out>
#9  0x081cbb88 in Fbyte_code (bytestr=136617491, vector=136617508, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x832639a "\203L", 
  top = 0xbf99ebb8, 
  bottom = 0xbf99ebb0, 
  byte_string = 136617491, 
  byte_string_start = 0x8326356 "\b\204\a", 
  constants = 136617508, 
  next = 0xbf99ed2c
}
	top = (Lisp_Object *) 0xbf99ebb0
	result = <value optimized out>
#10 0x08198273 in funcall_lambda (fun=136617436, nargs=2, arg_vector=0xbf99ece4) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 2
	optional = 1
	rest = 0
#11 0x08196133 in Ffuncall (nargs=3, args=0xbf99ece0) at eval.c:3102
	fun = 136617436
	original_fun = 138950705
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99ede4, 
  function = 0xbf99ece0, 
  args = 0xbf99ece4, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99ece4
	i = <value optimized out>
#12 0x081cbb88 in Fbyte_code (bytestr=136618171, vector=136618188, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x8326209 "\030\307\032\b\203+", 
  top = 0xbf99ece8, 
  bottom = 0xbf99ece0, 
  byte_string = 136618171, 
  byte_string_start = 0x8326205 "\306\b\t\"\030\307\032\b\203+", 
  constants = 136618188, 
  next = 0xbf99ee6c
}
	top = (Lisp_Object *) 0xbf99ece0
	result = <value optimized out>
#13 0x08198273 in funcall_lambda (fun=136618116, nargs=3, arg_vector=0xbf99ee24) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 3
	optional = 0
	rest = 0
#14 0x08196133 in Ffuncall (nargs=4, args=0xbf99ee20) at eval.c:3102
	fun = 136618116
	original_fun = 138969329
	funcar = <value optimized out>
	numargs = 3
	val = <value optimized out>
	backtrace = {
  next = 0xbf99ef24, 
  function = 0xbf99ee20, 
  args = 0xbf99ee24, 
  nargs = 3, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99ee24
	i = <value optimized out>
#15 0x081cbb88 in Fbyte_code (bytestr=136618019, vector=136618036, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x832625d "\210\314\n\315N!\211\033\316\034\211\035\203H", 
  top = 0xbf99ee2c, 
  bottom = 0xbf99ee20, 
  byte_string = 136618019, 
  byte_string_start = 0x832623a "\306\b\t\"\210\b\307N\206\f", 
  constants = 136618036, 
  next = 0xbf99ef9c
}
	top = (Lisp_Object *) 0xbf99ee20
	result = <value optimized out>
#16 0x08198273 in funcall_lambda (fun=136617972, nargs=2, arg_vector=0xbf99ef64) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 2
	optional = 0
	rest = 0
#17 0x08196133 in Ffuncall (nargs=3, args=0xbf99ef60) at eval.c:3102
	fun = 136617972
	original_fun = 138950873
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99f01c, 
  function = 0xbf99ef60, 
  args = 0xbf99ef64, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99ef64
	i = <value optimized out>
#18 0x081cbb88 in Fbyte_code (bytestr=136622675, vector=136622700, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x83258d2 "\210\b\303=\204\030", 
  top = 0xbf99ef68, 
  bottom = 0xbf99ef60, 
  byte_string = 136622675, 
  byte_string_start = 0x83258ce "\302\b\t\"\210\b\303=\204\030", 
  constants = 136622700, 
  next = 0xbf99f1ac
}
	top = (Lisp_Object *) 0xbf99ef60
	result = <value optimized out>
#19 0x08197e1c in Feval (form=136622661) at eval.c:2382
	numargs = <value optimized out>
	argvals = {136622675, 136622700, 24, -1080430552, 135790324, 137987045, 137986717, 137993497}
	args_left = 137993497
	i = 3
	fun = <value optimized out>
	val = <value optimized out>
	original_fun = <value optimized out>
	original_args = 136622669
	funcar = <value optimized out>
	backtrace = {
  next = 0xbf99f264, 
  function = 0xbf99f034, 
  args = 0xbf99effc, 
  nargs = 3, 
  evalargs = 1 '\001', 
  debug_on_exit = 0 '\0'
}
#20 0x081989d1 in internal_lisp_condition_case (var=137993497, bodyform=136622661, handlers=136622765) at eval.c:1457
	val = <value optimized out>
	c = {
  tag = 137993497, 
  val = 137993497, 
  next = 0xbf99f518, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {137993497, -1080430240, 10, -1080430264, -1630276979, -1642003998}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {137983984, 0, 5, 140738, 19868, 137987064, 0, 137982976, 137986048, 164766096, 165171740, 164774284, 163251656, 55, 63, 163261392, 137987052, 4294967261, 125, 3, 14, 0, 0, 0, 163250664, 58657919, 0, 138969521, 163849496, 137987045, 137987005, 137986965}
      }
    }}, 
  backlist = 0xbf99f264, 
  handlerlist = 0xbf99f5e0, 
  lisp_eval_depth = 10, 
  pdlcount = 24, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0xbf99f1ac
}
	h = {
  handler = 136622765, 
  var = 137993497, 
  chosen_clause = -111765079, 
  tag = 0xbf99f068, 
  next = 0xbf99f5e0
}
#21 0x081cc4c2 in Fbyte_code (bytestr=136622563, vector=136622580, maxdepth=<value optimized out>) at bytecode.c:868
	handlers = <value optimized out>
	body = 164677648
	op = 13
	stack = {
  pc = 0x83258fd "\210\tA\211\021\204\n", 
  top = 0xbf99f160, 
  bottom = 0xbf99f160, 
  byte_string = 136622563, 
  byte_string_start = 0x83258ec "\306 \237\307\030\211\031\203\031", 
  constants = 136622580, 
  next = 0xbf99f44c
}
	top = (Lisp_Object *) 0xbf99f160
	result = <value optimized out>
#22 0x08198273 in funcall_lambda (fun=136622508, nargs=2, arg_vector=0xbf99f2a4) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 2
	optional = 1
	rest = 0
#23 0x08196133 in Ffuncall (nargs=3, args=0xbf99f2a0) at eval.c:3102
	fun = 136622508
	original_fun = 138205609
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99f3c4, 
  function = 0xbf99f2a0, 
  args = 0xbf99f2a4, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99f2a4
	i = <value optimized out>
#24 0x08196589 in call2 (fn=138205609, arg1=163849500, arg2=137993497) at eval.c:2852
	ret_ungc_val = 0
#25 0x080efb3a in Fx_show_tip (string=163016235, frame=158175316, parms=163360557, timeout=80, dx=40, dy=160) at xfns.c:4916
	f = (struct frame *) 0x96d9050
	w = <value optimized out>
	root_x = <value optimized out>
	root_y = <value optimized out>
	old_buffer = <value optimized out>
	pos = <value optimized out>
	i = <value optimized out>
	width = <value optimized out>
	height = <value optimized out>
	old_windows_or_buffers_changed = 0
#26 0x081963a5 in Ffuncall (nargs=7, args=0xbf99f400) at eval.c:3064
	fun = <value optimized out>
	original_fun = 138278361
	funcar = <value optimized out>
	numargs = 6
	val = <value optimized out>
	backtrace = {
  next = 0xbf99f4cc, 
  function = 0xbf99f400, 
  args = 0xbf99f404, 
  nargs = 6, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99f404
	i = <value optimized out>
#27 0x081cbb88 in Fbyte_code (bytestr=137127307, vector=137127332, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x82d8858 "+\207", 
  top = 0xbf99f418, 
  bottom = 0xbf99f400, 
  byte_string = 137127307, 
  byte_string_start = 0x82d881e "\306\b!\307\310\311\"\307\310\312\"\031\032\033\n;\203\037", 
  constants = 137127332, 
  next = 0xbf99f64c
}
	top = (Lisp_Object *) 0xbf99f400
	result = <value optimized out>
#28 0x08197e1c in Feval (form=137127293) at eval.c:2382
	numargs = <value optimized out>
	argvals = {137127307, 137127332, 56, 0, 1, 0, 0, 137993497}
	args_left = 137993497
	i = 3
	fun = <value optimized out>
	val = <value optimized out>
	original_fun = <value optimized out>
	original_args = 137127301
	funcar = <value optimized out>
	backtrace = {
  next = 0xbf99f704, 
  function = 0xbf99f4e4, 
  args = 0xbf99f4ac, 
  nargs = 3, 
  evalargs = 1 '\001', 
  debug_on_exit = 0 '\0'
}
#29 0x081989d1 in internal_lisp_condition_case (var=138036633, bodyform=137127293, handlers=137127437) at eval.c:1457
	val = <value optimized out>
	c = {
  tag = 137993497, 
  val = 137993497, 
  next = 0xbf99fbf8, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {137993497, -1080429040, 8, -1080429064, -1629924723, -1642003998}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {158174600, 0, 1, 1, 1, 158175316, 158175316, 1, 163766440, 3214538280, 135123659, 48, 0, 0, 0, 160563696, 58, 0, 138253009, 163766592, 2, 3214538152, 18, 0, 141127544, 3214538424, 135259799, 158227032, 0, 0, 0, 0}
      }
    }}, 
  backlist = 0xbf99f704, 
  handlerlist = 0xbf99fcc0, 
  lisp_eval_depth = 7, 
  pdlcount = 12, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0xbf99f64c
}
	h = {
  handler = 137127437, 
  var = 138036633, 
  chosen_clause = -1218713233, 
  tag = 0xbf99f518, 
  next = 0xbf99fcc0
}
#30 0x081cc4c2 in Fbyte_code (bytestr=137127243, vector=137127260, maxdepth=<value optimized out>) at bytecode.c:868
	handlers = <value optimized out>
	body = 164677648
	op = 13
	stack = {
  pc = 0x82d8867 "\207", 
  top = 0xbf99f610, 
  bottom = 0xbf99f610, 
  byte_string = 137127243, 
  byte_string_start = 0x82d885b "\b\203\b", 
  constants = 137127260, 
  next = 0xbf99f77c
}
	top = (Lisp_Object *) 0xbf99f610
	result = <value optimized out>
#31 0x08198273 in funcall_lambda (fun=137127188, nargs=2, arg_vector=0xbf99f744) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 2
	optional = 1
	rest = 0
#32 0x08196133 in Ffuncall (nargs=3, args=0xbf99f740) at eval.c:3102
	fun = 137127188
	original_fun = 141333521
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99f834, 
  function = 0xbf99f740, 
  args = 0xbf99f744, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99f744
	i = <value optimized out>
#33 0x081cbb88 in Fbyte_code (bytestr=137128819, vector=137128836, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x82d85d4 "\210\303\207", 
  top = 0xbf99f748, 
  bottom = 0xbf99f740, 
  byte_string = 137128819, 
  byte_string_start = 0x82d85cb "\b;\205\v", 
  constants = 137128836, 
  next = 0xbf99f94c
}
	top = (Lisp_Object *) 0xbf99f740
	result = <value optimized out>
#34 0x08198273 in funcall_lambda (fun=137128780, nargs=1, arg_vector=0xbf99f918) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 1
	optional = 0
	rest = 0
#35 0x08196133 in Ffuncall (nargs=2, args=0xbf99f914) at eval.c:3102
	fun = 137128780
	original_fun = 141332945
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbf99f8d4, 
  function = 0xbf99f914, 
  args = 0xbf99f918, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99f918
	i = <value optimized out>
#36 0x081974d1 in run_hook_with_args (nargs=2, args=0xbf99f914, cond=until_success) at eval.c:2704
	sym = 141332921
	val = 164677648
	ret = 137993497
	globals = <value optimized out>
#37 0x081962de in Ffuncall (nargs=3, args=0xbf99f910) at eval.c:3026
	fun = <value optimized out>
	original_fun = 138135529
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99fa04, 
  function = 0xbf99f910, 
  args = 0xbf99f914, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99f914
	i = <value optimized out>
#38 0x081cbb88 in Fbyte_code (bytestr=137127003, vector=137127020, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x83370f1 "\207", 
  top = 0xbf99f918, 
  bottom = 0xbf99f910, 
  byte_string = 137127003, 
  byte_string_start = 0x83370ed "\301\302\b\"\207", 
  constants = 137127020, 
  next = 0xbf99fb2c
}
	top = (Lisp_Object *) 0xbf99f910
	result = <value optimized out>
#39 0x08198273 in funcall_lambda (fun=137126964, nargs=1, arg_vector=0xbf99faf8) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 1
	optional = 0
	rest = 0
#40 0x08196133 in Ffuncall (nargs=2, args=0xbf99faf4) at eval.c:3102
	fun = 137126964
	original_fun = 141333473
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbf99fab4, 
  function = 0xbf99faf4, 
  args = 0xbf99faf8, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99faf8
	i = <value optimized out>
#41 0x081978a9 in Fapply (nargs=2, args=0xbf99faf4) at eval.c:2478
	i = <value optimized out>
	numargs = <value optimized out>
	spread_arg = 163361992
	funcall_args = <value optimized out>
	fun = 141333473
#42 0x081962de in Ffuncall (nargs=3, args=0xbf99faf0) at eval.c:3026
	fun = <value optimized out>
	original_fun = 138135457
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbf99fbac, 
  function = 0xbf99faf0, 
  args = 0xbf99faf4, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99faf4
	i = <value optimized out>
#43 0x081cbb88 in Fbyte_code (bytestr=136979659, vector=136979684, maxdepth=<value optimized out>) at bytecode.c:678
	op = 164677648
	stack = {
  pc = 0x82ec8bb "\207", 
  top = 0xbf99faf8, 
  bottom = 0xbf99faf0, 
  byte_string = 136979659, 
  byte_string_start = 0x82ec8b3 "\301\b\302H\b\303H\"\207", 
  constants = 136979684, 
  next = 0xbf99fd3c
}
	top = (Lisp_Object *) 0xbf99faf0
	result = <value optimized out>
#44 0x08197e1c in Feval (form=136979645) at eval.c:2382
	numargs = <value optimized out>
	argvals = {136979659, 136979684, 32, 137993497, 137284172, -1080427584, 31, -1080427480}
	args_left = 137993497
	i = 3
	fun = <value optimized out>
	val = <value optimized out>
	original_fun = <value optimized out>
	original_args = 136979653
	funcar = <value optimized out>
	backtrace = {
  next = 0xbf99fdf4, 
  function = 0xbf99fbc4, 
  args = 0xbf99fb8c, 
  nargs = 3, 
  evalargs = 1 '\001', 
  debug_on_exit = 0 '\0'
}
#45 0x081989d1 in internal_lisp_condition_case (var=137993497, bodyform=136979645, handlers=136979717) at eval.c:1457
	val = <value optimized out>
	c = {
  tag = 137993497, 
  val = 137993497, 
  next = 0xbf9a073c, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {137993497, -1080427280, 106, -1080427304, -1631284595, -1642003998}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {1, 3214539880, 135889548, 128, 163361861, 32, 3214540020, 1, 136979004, 8, 160563696, 4, 0, 0, 136979004, 141228977, 1, 3214539992, 135881011, 138131602, 163139776, 3214539944, 135817435, 138132193, 138131602, 137993545, 163139776, 137993521, 138131600, 141228976, 3214540020, 1}
      }
    }}, 
  backlist = 0xbf99fdf4, 
  handlerlist = 0xbf9a0804, 
  lisp_eval_depth = 1, 
  pdlcount = 8, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0xbf99fd3c
}
	h = {
  handler = 136979717, 
  var = 137993497, 
  chosen_clause = -111765079, 
  tag = 0xbf99fbf8, 
  next = 0xbf9a0804
}
#46 0x081cc4c2 in Fbyte_code (bytestr=136979515, vector=136979532, maxdepth=<value optimized out>) at bytecode.c:868
	handlers = <value optimized out>
	body = 164677648
	op = 13
	stack = {
  pc = 0x82ec92b "\210\016\026\205x", 
  top = 0xbf99fcf0, 
  bottom = 0xbf99fcf0, 
  byte_string = 136979515, 
  byte_string_start = 0x82ec8bd "\b\021\n\020\v\022\306\034\307\v!\203|", 
  constants = 136979532, 
  next = 0x0
}
	top = (Lisp_Object *) 0xbf99fcf0
	result = <value optimized out>
#47 0x08198273 in funcall_lambda (fun=136979476, nargs=1, arg_vector=0xbf99fe34) at eval.c:3232
	val = <value optimized out>
	syms_left = <value optimized out>
	next = <value optimized out>
	i = 1
	optional = 0
	rest = 0
#48 0x08196133 in Ffuncall (nargs=2, args=0xbf99fe30) at eval.c:3102
	fun = 136979476
	original_fun = 138026481
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0x0, 
  function = 0xbf99fe30, 
  args = 0xbf99fe34, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbf99fe34
	i = <value optimized out>
#49 0x08197359 in call1 (fn=138026481, arg1=163876900) at eval.c:2830
	ret_ungc_val = 0
#50 0x0812eaef in timer_check (do_it_now=1) at keyboard.c:4672
	old_deactivate_mark = 137993497
	timer = <value optimized out>
	idle_timer = <value optimized out>
	now = {
  tv_sec = 1240718202, 
  tv_usec = 282820
}
	timers = 163215573
	idle_timers = 137993497
	chosen_timer = 163876900
#51 0x0812ed63 in readable_events (flags=1) at keyboard.c:3662
No locals.
#52 0x08132927 in get_input_pending (addr=0x8384dfc, flags=1) at keyboard.c:6963
No locals.
#53 0x08132a27 in detect_input_pending_run_timers (do_display=1) at keyboard.c:10647
	old_timers_run = 7512
#54 0x081d2273 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137993497, wait_proc=0x0, just_wait_proc=0) at process.c:4892
	old_timers_run = 7512
	old_buffer = (struct buffer *) 0x9b950c0
	old_window = 158174604
	leave = -1
	timeout_reduced_for_timers = 1
	channel = 20
	nfds = 0
	Available = {
  fds_bits = {0 <repeats 32 times>}
}
	Connecting = {
  fds_bits = {0 <repeats 32 times>}
}
	check_connect = 0
	check_delay = 1
	no_avail = 0
	xerrno = 11
	proc = 0
	timeout = {
  tv_sec = 0, 
  tv_usec = 0
}
	end_time = {
  tv_sec = 1240718231, 
  tv_usec = 630105
}
	wait_channel = -1
	got_some_input = 0
#55 0x080583e8 in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6644
	sec = 30
	usec = 0
#56 0x08134397 in read_char (commandflag=1, nmaps=7, maps=0xbf9a0530, prev_event=137993497, used_mouse_menu=0xbf9a05f0, end_time=0x0) at keyboard.c:2950
	tem0 = <value optimized out>
	delay_level = 30
	buffer_size = <value optimized out>
	c = 137993497
	local_getcjmp = {{
    __jmpbuf = {7, 160459892, 1, -1080425256, -1724509555, -1956717598}, 
    __mask_was_saved = 0, 
    __saved_mask = {
      __val = {1, 163102661, 163829170, 3214541872, 137993497, 3214541848, 136186288, 163102661, 138022849, 1, 163829170, 3214541872, 163829170, 3214542088, 135855360, 163102661, 138022849, 163139780, 138026673, 163829170, 3214542084, 3214541992, 3214541996, 0, 0, 4183202217, 163099896, 3214541992, 163829170, 3214541960, 135886033, 1}
    }
  }}
	save_jump = {{
    __jmpbuf = {0, 0, 0, 0, 0, 0}, 
    __mask_was_saved = 0, 
    __saved_mask = {
      __val = {0 <repeats 32 times>}
    }
  }}
	key_already_recorded = 0
	tem = 0
	save = <value optimized out>
	previous_echo_area_message = 137993497
	also_record = 137993497
	reread = 0
	polling_stopped_here = <value optimized out>
	orig_kboard = (struct kboard *) 0x96953c0
#57 0x08135952 in read_key_sequence (keybuf=0xbf9a06a4, bufsize=30, prompt=137993497, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9458
	interrupted_kboard = (KBOARD *) 0x96953c0
	key = 0
	used_mouse_menu = 0
	echo_local_start = 0
	last_real_key_start = 0
	keys_local_start = 0
	local_first_binding = 0
	from_string = 137993497
	count = 2
	t = 0
	echo_start = 0
	keys_start = 0
	nmaps = 7
	nmaps_allocated = 7
	defs = (Lisp_Object * volatile) 0xbf9a0500
	submaps = (Lisp_Object * volatile) 0xbf9a0530
	orig_local_map = 162004557
	orig_keymap = 137993497
	localized_local_map = 0
	first_binding = 0
	first_unbound = 31
	mock_input = 0
	fkey = {
  parent = 139335021, 
  map = 139335021, 
  start = 0, 
  end = 0
}
	keytran = {
  parent = 137986941, 
  map = 137986941, 
  start = 0, 
  end = 0
}
	indec = {
  parent = 139335029, 
  map = 139335029, 
  start = 0, 
  end = 0
}
	shift_translated = 0
	delayed_switch_frame = 137993497
	original_uppercase = 137993497
	original_uppercase_position = -1
	starting_buffer = (struct buffer *) 0x9b950c0
	fake_prefixed_keys = 137993497
#58 0x081375b3 in command_loop_1 () at keyboard.c:1642
	cmd = <value optimized out>
	lose = 160563696
	nonundocount = 0
	keybuf = {488, -1080424730, 139041609, -1218876144, 137993497, -1080424664, 135466840, 163968349, -1080424730, 1, 1013, -1224228312, -1216763232, 134545305, -1218839520, 134523860, 1, -1207300108, 0, -1080424700, -1080424864, 0, -1080426496, 137993497, 138944761, -111765079, 0, 138520896, 138520880, -111765079}
	i = 160563696
	prev_modiff = 377
	prev_buffer = (struct buffer *) 0x9b950c0
	already_adjusted = 0
#59 0x08195730 in internal_condition_case (bfun=0x81373d0 <command_loop_1>, handlers=138036633, hfun=0x8130e70 <cmd_error>) at eval.c:1512
	val = <value optimized out>
	c = {
  tag = 137993497, 
  val = 137993497, 
  next = 0xbf9a0850, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 138520896, 138520880, -1080424424, -1724042611, -1616989726}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {3087667188, 3070738780, 24, 3214542484, 3087585453, 139238376, 3214542396, 3076524619, 3077513204, 3077517632, 3087650888, 3214542432, 3076539830, 276967387, 3078204064, 8655230, 62, 3214543088, 3214542796, 3214543088, 3214542936, 135538548, 2, 3076107360, 3078204064, 0, 4294967295, 3087667188, 134523860, 3087668848, 3214542880, 3087605371}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 138036633, 
  var = 137993497, 
  chosen_clause = 137993545, 
  tag = 0xbf9a073c, 
  next = 0x0
}
#60 0x081303c5 in command_loop_2 () at keyboard.c:1359
	val = 0
#61 0x0819580a in internal_catch (tag=138032657, func=0x81303a0 <command_loop_2>, arg=137993497) at eval.c:1248
	c = {
  tag = 138032657, 
  val = 137993497, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 138520896, 138520880, -1080424168, -1725705587, -1617122846}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 0, 0, 0, 0, 3077517728, 3077397294, 3077404072, 3077391566, 3077391386, 0, 0, 0, 3077517688, 177, 22, 0, 1, 139772600, 0, 138232776, 138233130, 138019352, 3214543112, 135817435, 138232777, 138233130, 137993497, 138019352, 137993521, 138233128, 0}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#62 0x08130cbf in command_loop () at keyboard.c:1338
No locals.
#63 0x0813107b in recursive_edit_1 () at keyboard.c:953
	val = <value optimized out>
#64 0x081311c4 in Frecursive_edit () at keyboard.c:1015
	buffer = 137993497
#65 0x08126c77 in main (argc=2, argv=0xbf9a0d24) at emacs.c:1852
	dummy = 140524280
	stack_bottom_variable = 8 '\b'
	do_initial_setlocale = 1
	skip_args = 0
	rlim = {
  rlim_cur = 8388608, 
  rlim_max = 18446744073709551615
}
	no_loadup = 0
	junk = 0x0
	dname_arg = 0x0

Lisp Backtrace:
"display-supports-face-attributes-p" (0xbf99ea74)
"face-spec-set-match-display" (0xbf99ebb4)
"face-spec-choose" (0xbf99ece4)
"face-spec-set-2" (0xbf99ee24)
"face-spec-recalc" (0xbf99ef64)
"byte-code" (0xbf99effc)
"face-set-after-frame-default" (0xbf99f2a4)
"x-show-tip" (0xbf99f404)
"byte-code" (0xbf99f4ac)
"tooltip-show" (0xbf99f744)
"tooltip-help-tips" (0xbf99f918)
"run-hook-with-args-until-success" (0xbf99f914)
"tooltip-timeout" (0xbf99faf8)
"apply" (0xbf99faf4)
"byte-code" (0xbf99fb8c)
"timer-event-handler" (0xbf99fe34)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3112: 23.0.92; segfault in display-supports-face-attributes-p
  2009-04-26  4:39 bug#3112: 23.0.92; segfault in display-supports-face-attributes-p Richard Hansen
@ 2009-04-28 15:41 ` Richard Hansen
  2009-04-28 15:57 ` Richard Hansen
  2010-02-01 22:17 ` bug#3112: (no subject) Richard Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Hansen @ 2009-04-28 15:41 UTC (permalink / raw)
  To: 3112

I figured out how to reproduce this segfault:

Set .emacs to the following:

(custom-set-faces
  '(default ((t (:height 121 :family "something-invalid")))))

Then start emacs and let the mouse hover over something that would 
display a tooltip.  After a second or so you'll get the segfault.

-Richard


Richard Hansen wrote:
> Emacs crashed with a segfault.  I'm not sure what happened -- I was 
> doing something else at the time (not in Emacs) and when I tried to 
> Alt-Tab back to my Emacs window, I couldn't find it.  That's when I 
> noticed that bash had printed 'Segmentation fault'.
> 
> I've attached a gdb backtrace.
> 
> In GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
>  of 2009-04-24 on iridium, modified by Debian
>  (emacs-snapshot package, version 1:20090423-1~jaunty1)
> Windowing system distributor `The X.Org Foundation', version 11.0.10600000
> configured using `configure  '--build' 'i486-linux-gnu' '--host' 
> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
> '--libexecdir=/usr/lib' '--localstatedir=/var' 
> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.92/site-lisp:/usr/share/emacs/site-lisp' 
> '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 
> 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN 
> -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 
> 'CPPFLAGS=''
> 
> 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: en_DK.UTF-8
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default-enable-multibyte-characters: t
> 
> Major mode: Org
> 
> Minor modes in effect:
>   flyspell-mode: t
>   show-paren-mode: t
>   mouse-sel-mode: t
>   global-hl-line-mode: t
>   cua-mode: t
>   tabbar-mwheel-mode: t
>   tabbar-mode: t
>   global-whitespace-mode: t
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   column-number-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3112: 23.0.92; segfault in display-supports-face-attributes-p
  2009-04-26  4:39 bug#3112: 23.0.92; segfault in display-supports-face-attributes-p Richard Hansen
  2009-04-28 15:41 ` Richard Hansen
@ 2009-04-28 15:57 ` Richard Hansen
  2010-02-01 22:17 ` bug#3112: (no subject) Richard Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Hansen @ 2009-04-28 15:57 UTC (permalink / raw)
  To: bug-gnu-emacs

I figured out how to reproduce this segfault:

Set .emacs to the following:

(custom-set-faces
  '(default ((t (:height 121 :family "something-invalid")))))

Then start emacs and let the mouse hover over something that would
display a tooltip.  After a second or so you'll get the segfault.

-Richard


Richard Hansen wrote:
> Emacs crashed with a segfault.  I'm not sure what happened -- I was 
> doing something else at the time (not in Emacs) and when I tried to 
> Alt-Tab back to my Emacs window, I couldn't find it.  That's when I 
> noticed that bash had printed 'Segmentation fault'.
> 
> I've attached a gdb backtrace.
> 
> In GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
>  of 2009-04-24 on iridium, modified by Debian
>  (emacs-snapshot package, version 1:20090423-1~jaunty1)
> Windowing system distributor `The X.Org Foundation', version 11.0.10600000
> configured using `configure  '--build' 'i486-linux-gnu' '--host' 
> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
> '--libexecdir=/usr/lib' '--localstatedir=/var' 
> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.92/site-lisp:/usr/share/emacs/site-lisp' 
> '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 
> 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN 
> -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 
> 'CPPFLAGS=''
> 
> 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: en_DK.UTF-8
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default-enable-multibyte-characters: t
> 
> Major mode: Org
> 
> Minor modes in effect:
>   flyspell-mode: t
>   show-paren-mode: t
>   mouse-sel-mode: t
>   global-hl-line-mode: t
>   cua-mode: t
>   tabbar-mwheel-mode: t
>   tabbar-mode: t
>   global-whitespace-mode: t
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   column-number-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 









^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3112: (no subject)
  2009-04-26  4:39 bug#3112: 23.0.92; segfault in display-supports-face-attributes-p Richard Hansen
  2009-04-28 15:41 ` Richard Hansen
  2009-04-28 15:57 ` Richard Hansen
@ 2010-02-01 22:17 ` Richard Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Hansen @ 2010-02-01 22:17 UTC (permalink / raw)
  To: 3112-done

Closing, unable to reproduce it anymore.  (Must have been something 
specific to my machine).






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-01 22:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26  4:39 bug#3112: 23.0.92; segfault in display-supports-face-attributes-p Richard Hansen
2009-04-28 15:41 ` Richard Hansen
2009-04-28 15:57 ` Richard Hansen
2010-02-01 22:17 ` bug#3112: (no subject) Richard Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).