all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs crashes, 07nov16
Date: Fri, 23 Nov 2007 12:31:14 +0000 (UTC)	[thread overview]
Message-ID: <m1IvXgg-002K4JC@rattlesnake.com> (raw)
In-Reply-To: <4746A143.50300@swipnet.se> (message from Jan Djärv on Fri, 23 Nov 2007 10:45:39 +0100)

    Do you still get crashes if you use the font ...*iso10646-1 instead of
    ...*iso8859-1 from the start?

Yes, even with a size of 18, which I did not expect.  

That is in 
Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 23  11:14 UTC
GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
started in debugger with

    set args -i -q \
    --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \
    -fn '-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1' \
    -geometry 80x44+545+43 -name '-q GNU Emacs in Debugger, font: fixed 18'


with the breakpoint at xterm.c:1374 
and after I evaluated  (x-synchronize t)  in the debuggee

(I could not even visit my test file with a size of 20,

 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

    #0  0xffffe410 in __kernel_vsyscall ()
    #1  0xb7483c26 in kill () from /lib/i686/cmov/libc.so.6
    #2  0x080f906b in abort () at emacs.c:431 

although the only  breakpoint was at xterm.c:1374 

The following is for a size of 18 after visiting my test file which
tries to insert a Euro sign.)


(gdb) bt full
#0  x_draw_glyph_string (s=0xbf807330) at xterm.c:1374
	tem = <value optimized out>
	h = <value optimized out>
	y = <value optimized out>
	relief_drawn_p = 0
#1  0x0806b295 in draw_glyphs (w=0x8601fe8, x=45, row=0x86272c4, area=TEXT_AREA, start=0, end=2, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:19850
	base_face = (struct face *) 0x8055cc1
	char2b = <value optimized out>
	cmp = <value optimized out>
	glyph_len = -1215192509
	faces = <value optimized out>
	first_s = <value optimized out>
	n = <value optimized out>
	first_glyph = <value optimized out>
	head = (struct glyph_string *) 0xbf807330
	tail = (struct glyph_string *) 0xbf807280
	s = (struct glyph_string *) 0xbf807330
	clip_head = (struct glyph_string *) 0x0
	clip_tail = (struct glyph_string *) 0x0
	last_x = 747
	x_reached = 45
	i = 2
	j = -1082100680
	f = <value optimized out>
#2  0x0806d932 in x_write_glyphs (start=0x8605a90, len=2) at xdisp.c:21149
	x = <value optimized out>
#3  0x08056041 in update_window_line (w=0x8601fe8, vpos=9, mouse_face_overwritten_p=0xbf807678) at dispnew.c:4446
	current_row = (struct glyph_row *) 0x86467bc
	desired_row = (struct glyph_row *) 0x86272c4
	rif = (struct redisplay_interface *) 0x81be740
	changed_p = 0
#4  0x08058384 in update_window (w=0x8601fe8, force_p=0) at dispnew.c:4302
	tm = {
  tv_sec = 1195819727, 
  tv_usec = 905224
}
	vpos = -1082100976
	i = <value optimized out>
	end = (struct glyph_row *) 0x8628794
	header_line_row = (struct glyph_row *) 0x0
	changed_p = 1
	mouse_face_overwritten_p = 0
	row = (struct glyph_row *) 0x86272c4
	yb = 756
	desired_matrix = (struct glyph_matrix *) 0x8604ae8
	paused_p = 0
	rif = (struct redisplay_interface *) 0x81be740
#5  0x08059629 in update_window_tree (w=0x8601fe8, force_p=0) at dispnew.c:3995
	paused_p = <value optimized out>
#6  0x0805b7ae in update_frame (f=0x8601e60, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3923
	tm = {
  tv_sec = 1195819727, 
  tv_usec = 896018
}
	p = 1
	sec = 0
	usec = 100000
	paused_p = <value optimized out>
	root_window = (struct window *) 0x8601fe8
#7  0x0808a2a2 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11455
	f = (struct frame *) 0x8601e60
	tail = <value optimized out>
	frame = <value optimized out>
	w = (struct window *) 0x8601fe8
	pause = 0
	must_finish = 1
	tlbufpos = {
  charpos = 0, 
  bytepos = 0
}
	number_of_visible_frames = 1
	polling_stopped_here = 0
	old_frame = 140516964
	consider_all_windows_p = 1
#8  0x0810544e in read_char (commandflag=1, nmaps=2, maps=0xbf8081c0, prev_event=137562313, used_mouse_menu=0xbf808258, end_time=0x0) at keyboard.c:2748
	keys = 0
	key_count = 140516960
	key_count_reset = 0
	saved_ok_to_echo = (struct kboard *) 0x0
	saved_echo_string = 0
	c = 137562313
	local_getcjmp = {{
    __jmpbuf = {137562313, -1082097488, 142874648, 142874652, -1082097512, 135913216}, 
    __mask_was_saved = 137804429, 
    __saved_mask = {
      __val = {137597689, 1, 3212869808, 142874648, 3212869808, 3212870024, 135639811, 137804429, 137597689, 142874652, 0 <repeats 22 times>}
    }
  }}
	save_jump = {{
    __jmpbuf = {0, 137562313, 0, 0, 142874652, 137879588}, 
    __mask_was_saved = 1418, 
    __saved_mask = {
      __val = {3212869624, 135910666, 0, 1417, 3212869656, 135910877, 0, 1, 0, 142874652, 137879588, 1417, 3212869672, 135910666, 137724945, 1416, 3212869704, 135910877, 1, 1, 137562313, 137597689, 137804424, 137562313, 3212869752, 135913031, 137597689, 137803581, 3212869760, 0, 1, 137804429}
    }
  }}
	key_already_recorded = 0
	tem = 2
	save = 140516960
	previous_echo_area_message = 137562313
	also_record = 137562313
	reread = 0
	polling_stopped_here = <value optimized out>
	orig_kboard = (struct kboard *) 0x85e2200
#9  0x08107f23 in read_key_sequence (keybuf=0xbf808304, bufsize=30, prompt=137562313, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9455
	interrupted_kboard = (KBOARD *) 0x85e2200
	key = 142258956
	used_mouse_menu = 0
	echo_local_start = 0
	last_real_key_start = 0
	keys_local_start = 0
	local_first_binding = 0
	from_string = 137562313
	count = 2
	t = 0
	echo_start = 0
	keys_start = 0
	nmaps = 2
	nmaps_allocated = 2
	defs = (Lisp_Object * volatile) 0xbf8081a0
	submaps = (Lisp_Object * volatile) 0xbf8081c0
	orig_local_map = 139309701
	orig_keymap = 137562313
	localized_local_map = 0
	first_binding = 0
	first_unbound = 31
	mock_input = 0
	fkey = {
  parent = 139323205, 
  map = 139323205, 
  start = 0, 
  end = 0
}
	keytran = {
  parent = 137554789, 
  map = 137554789, 
  start = 0, 
  end = 0
}
	indec = {
  parent = 139323213, 
  map = 139323213, 
  start = 0, 
  end = 0
}
	delayed_switch_frame = 137562313
	original_uppercase = 0
	original_uppercase_position = -1
	starting_buffer = (struct buffer *) 0x8841818
	fake_prefixed_keys = 137562313
#10 0x08109be1 in command_loop_1 () at keyboard.c:1684
	cmd = <value optimized out>
	lose = <value optimized out>
	nonundocount = 0
	keybuf = {192, 48, 135283358, 139307181, 137562361, -1082096822, 137562313, 0, 137562313, -1082096760, 135283616, 139307181, -1082096822, 134541223, -1219987364, 134522604, 1, -1224708108, -1208518624, 0, -1082096792, -1082096944, 0, -1082130432, 137562313, 138190441, 0, 137911688, 137911672, -1082096760}
	i = <value optimized out>
	prev_modiff = 76
	prev_buffer = (struct buffer *) 0x8338540
	already_adjusted = 0
#11 0x081607b0 in internal_condition_case (bfun=0x8109a40 <command_loop_1>, handlers=137619713, hfun=0x81042f0 <cmd_error>) at eval.c:1493
	val = <value optimized out>
	c = {
  tag = 137562313, 
  val = 137562313, 
  next = 0xbf8084b0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137911688, 137911672, -1082096520, 352788609, 940499950}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 3212870336, 3073538260, 3212870388, 3086367968, 0, 3212870316, 3076255732, 2534, 3086430780, 3212870336, 3212870612, 276967387, 49, 3074944076, 3074943100, 134542083, 3212870704, 3212870992, 4294967295, 3212870840, 135341251, 3212870992, 3212870704, 3074959980, 3076272128, 0, 110932256, 3086446580, 134522604, 3086448232, 3212870784}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 137619713, 
  var = 137562313, 
  chosen_clause = 137562361, 
  tag = 0xbf80839c, 
  next = 0x0
}
#12 0x08103773 in command_loop_2 () at keyboard.c:1396
	val = 0
#13 0x0816088a in internal_catch (tag=137611273, func=0x8103750 <command_loop_2>, arg=137562313) at eval.c:1229
	c = {
  tag = 137611273, 
  val = 137562313, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137911688, 137911672, -1082096264, 352927873, 940637166}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 177, 22, 0 <repeats 13 times>, 3078526273, 140018008, 140018184, 3212871096, 137748338, 137748336, 137746960, 3212871016, 135605493, 137746961, 137748338, 137562313, 137594176, 3072297248, 140018192, 137562337}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#14 0x08104157 in command_loop () at keyboard.c:1375
No locals.
#15 0x081044bb in recursive_edit_1 () at keyboard.c:984
	val = <value optimized out>
#16 0x081045f1 in Frecursive_edit () at keyboard.c:1046
	buffer = 137562313
#17 0x080f9df5 in main (argc=15, argv=0xbf808984) at emacs.c:1777
	tz = 0xbf809efb "UTC"
	dummy = -1082095400
	stack_bottom_variable = 8 '\b'
	do_initial_setlocale = 1
	skip_args = 0
	rlim = {
  rlim_cur = 8388608, 
  rlim_max = 18446744073709551615
}
	no_loadup = 0
	junk = 0x0

(gdb)  p *s->font_info
$1 = {
  font = 0x86025b8, 
  font_idx = 0, 
  name = 0x85f9658 "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1", 
  full_name = 0x86024e0 "-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1", 
  charset = 0, 
  size = 9, 
  height = 18, 
  space_width = 9, 
  average_width = 9, 
  vertical_centering = 0, 
  encoding = "\000\377", '\0' <repeats 126 times>, '\001' <repeats 127 times>, 
  baseline_offset = 0, 
  relative_compose = 0, 
  default_ascent = 0, 
  font_encoder = 0x8602520
}
(gdb) p *s->font
$2 = {
  ext_data = 0x86026d0, 
  fid = 35651602, 
  direction = 0, 
  min_char_or_byte2 = 0, 
  max_char_or_byte2 = 255, 
  min_byte1 = 0, 
  max_byte1 = 255, 
  all_chars_exist = 0, 
  default_char = 0, 
  n_properties = 23, 
  properties = 0x8602610, 
  min_bounds = {
    lbearing = 0, 
    rbearing = 0, 
    width = 9, 
    ascent = -3, 
    descent = -13, 
    attributes = 0
  }, 
  max_bounds = {
    lbearing = 8, 
    rbearing = 9, 
    width = 9, 
    ascent = 14, 
    descent = 4, 
    attributes = 0
  }, 
  per_char = 0xb6e59000, 
  ascent = 14, 
  descent = 4
}
(gdb) p *s
$3 = {
  x = 27, 
  y = 162, 
  ybase = 176, 
  width = 9, 
  background_width = 9, 
  height = 18, 
  left_overhang = 0, 
  right_overhang = 0, 
  f = 0x8601e60, 
  w = 0x8601fe8, 
  display = 0x85b9400, 
  window = 35651800, 
  row = 0x86272c4, 
  area = TEXT_AREA, 
  char2b = 0xbf807310, 
  nchars = 1, 
  hl = DRAW_NORMAL_TEXT, 
  face = 0x833e1f0, 
  font = 0x86025b8, 
  font_info = 0x86026e8, 
  cmp = 0x0, 
  gidx = 0, 
  extends_to_end_of_line_p = 0, 
  background_filled_p = 0, 
  two_byte_p = 1, 
  font_not_found_p = 0, 
  stippled_p = 0, 
  for_overlaps = 0, 
  gc = 0x884a6f8, 
  first_glyph = 0x8605a90, 
  img = 0x0, 
  slice = {
    x = 0, 
    y = 0, 
    width = 0, 
    height = 0
  }, 
  clip_head = 0x0, 
  clip_tail = 0x0, 
  next = 0xbf807280, 
  prev = 0x0
}
(gdb) p s->char2b[0]
$4 = {
  byte1 = 32 ' ', 
  byte2 = 172 '\254'
}

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

  reply	other threads:[~2007-11-23 12:31 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 19:35 Emacs crashes, 07nov16 Robert J. Chassell
2007-11-18 13:01 ` Richard Stallman
2007-11-18 22:06   ` Robert J. Chassell
2007-11-19 12:25     ` Richard Stallman
2007-11-19 14:05       ` Robert J. Chassell
2007-11-20  3:59         ` Richard Stallman
2007-11-20 11:17           ` Robert J. Chassell
2007-11-20 12:08             ` Jan Djärv
2007-11-20 16:07               ` Robert J. Chassell
2007-11-21  7:42                 ` Jan Djärv
2007-11-21 12:45                   ` Robert J. Chassell
2007-11-21 15:13                     ` Stefan Monnier
2007-11-22  7:07                     ` Jan Djärv
2007-11-22 12:31                       ` Robert J. Chassell
2007-11-22 13:13                         ` Jan Djärv
2007-11-22 16:00                           ` Robert J. Chassell
2007-11-23  9:45                             ` Jan Djärv
2007-11-23 12:31                               ` Robert J. Chassell [this message]
2007-11-23 12:46                                 ` David Kastrup
2007-11-23 14:54                                   ` Jan Djärv
2007-11-23 17:07                                     ` Robert J. Chassell
2007-11-24  9:20                                       ` Jan Djärv
2007-11-24 14:08                                         ` Robert J. Chassell
2007-11-26 14:54                                           ` Jan Djärv
2007-11-26 16:44                                             ` Robert J. Chassell
2007-11-26 19:04                                               ` Jan Djärv
2007-11-24  9:19                                 ` Jan Djärv
2007-11-21 12:04                 ` Richard Stallman
2007-11-21 17:20                   ` Robert J. Chassell
2007-11-22  7:07                     ` Jan Djärv
2007-11-22 11:55                       ` Robert J. Chassell
2007-11-19 20:37 ` RMAIL misbehaving (Was: Re: Emacs crashes, 07nov16) Alfred M. Szmidt
2007-11-21 12:05   ` Richard Stallman
2007-12-13  0:15     ` Alfred M. Szmidt
2007-12-14 10:10       ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-11-19  0:30 Emacs crashes, 07nov16 Robert J. Chassell
2007-11-28 12:06 Robert J. Chassell
2007-11-28 17:49 ` Jan Djärv
2007-11-28 18:36 Robert J. Chassell
2007-11-29  6:51 ` Jan Djärv
2007-11-29 11:28   ` Robert J. Chassell
2007-11-29 12:05     ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1IvXgg-002K4JC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.