unofficial mirror of emacs-devel@gnu.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 17:07:45 +0000 (UTC)	[thread overview]
Message-ID: <m1Ivc0H-002K4JC@rattlesnake.com> (raw)
In-Reply-To: <4746E993.3070902@swipnet.se> (message from Jan Djärv on Fri, 23 Nov 2007 15:54:11 +0100)

Following Jan's request, I intended to compile with -O0 but I may have
forgot and done a regular make.  (I cannot remember.)  In any case, I
have updated Emacs and done another make which is definitely -O0.


Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 23  16:19 UTC
GNU Emacs 23.0.50.5 (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

After visiting my test file, which tried to insert a Euro sign,
Emacs crashed as before:

(gdb) bt full
#0  x_draw_glyph_string (s=0xbfd4ff40) at xterm.c:1374
	tem = <value optimized out>
	h = <value optimized out>
	y = <value optimized out>
	relief_drawn_p = 0
#1  0x0806b2f5 in draw_glyphs (w=0x8604f28, x=45, row=0x862a2c4, area=TEXT_AREA, start=0, end=2, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:19850
	base_face = (struct face *) 0x8055d21
	char2b = <value optimized out>
	cmp = <value optimized out>
	glyph_len = -1214909885
	faces = <value optimized out>
	first_s = <value optimized out>
	n = <value optimized out>
	first_glyph = <value optimized out>
	head = (struct glyph_string *) 0xbfd4ff40
	tail = (struct glyph_string *) 0xbfd4fe90
	s = (struct glyph_string *) 0xbfd4ff40
	clip_head = (struct glyph_string *) 0x0
	clip_tail = (struct glyph_string *) 0x0
	last_x = 747
	x_reached = 45
	i = 2
	j = -1076559800
	f = <value optimized out>
#2  0x0806d992 in x_write_glyphs (start=0x8608e78, len=2) at xdisp.c:21149
	x = <value optimized out>
#3  0x080560a1 in update_window_line (w=0x8604f28, vpos=9, mouse_face_overwritten_p=0xbfd50288) at dispnew.c:4446
	current_row = (struct glyph_row *) 0x86497bc
	desired_row = (struct glyph_row *) 0x862a2c4
	rif = (struct redisplay_interface *) 0x81c1960
	changed_p = 0
#4  0x080583e4 in update_window (w=0x8604f28, force_p=0) at dispnew.c:4302
	tm = {
  tv_sec = 1195836868, 
  tv_usec = 821064
}
	vpos = -1076560096
	i = <value optimized out>
	end = (struct glyph_row *) 0x862b794
	header_line_row = (struct glyph_row *) 0x0
	changed_p = 1
	mouse_face_overwritten_p = 0
	row = (struct glyph_row *) 0x862a2c4
	yb = 756
	desired_matrix = (struct glyph_matrix *) 0x8607ed0
	paused_p = 0
	rif = (struct redisplay_interface *) 0x81c1960
#5  0x08059689 in update_window_tree (w=0x8604f28, force_p=0) at dispnew.c:3995
	paused_p = <value optimized out>
#6  0x0805b80e in update_frame (f=0x8604da0, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3923
	tm = {
  tv_sec = 1195836868, 
  tv_usec = 809232
}
	p = 1
	sec = 0
	usec = 100000
	paused_p = <value optimized out>
	root_window = (struct window *) 0x8604f28
#7  0x0808a302 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11455
	f = (struct frame *) 0x8604da0
	tail = <value optimized out>
	frame = <value optimized out>
	w = (struct window *) 0x8604f28
	pause = 0
	must_finish = 1
	tlbufpos = {
  charpos = 0, 
  bytepos = 0
}
	number_of_visible_frames = 1
	polling_stopped_here = 0
	old_frame = 140529060
	consider_all_windows_p = 1
#8  0x081054ae in read_char (commandflag=1, nmaps=2, maps=0xbfd50dd0, prev_event=137574601, used_mouse_menu=0xbfd50e68, end_time=0x0) at keyboard.c:2748
	keys = 0
	key_count = 140529056
	key_count_reset = 0
	saved_ok_to_echo = (struct kboard *) 0x0
	saved_echo_string = 0
	c = 137574601
	local_getcjmp = {{
    __jmpbuf = {-1076556648, 135923056, 137818325, 137609977, 1, 142076664}, 
    __mask_was_saved = 1418, 
    __saved_mask = {
      __val = {142076664, 3218410904, 135619163, 137818325, 137609977, 142076668, 0 <repeats 26 times>}
    }
  }}
	save_jump = {{
    __jmpbuf = {142076668, 137892212, 1418, -1076556808, 135920506, 137892212}, 
    __mask_was_saved = 1417, 
    __saved_mask = {
      __val = {3218410520, 135920717, 0, 1, 3218410536, 142076668, 137892212, 1417, 3218410536, 135920506, 137737233, 1416, 3218410568, 135920717, 1, 1, 137574601, 137609977, 137818320, 137574601, 3218410616, 135922871, 137609977, 137815845, 3218410624, 0, 1, 137818325, 137574601, 142076664, 1418, 1698}
    }
  }}
	key_already_recorded = 0
	tem = 2
	save = 140529056
	previous_echo_area_message = 137574601
	also_record = 137574601
	reread = 0
	polling_stopped_here = <value optimized out>
	orig_kboard = (struct kboard *) 0x85e5200
#9  0x08107f83 in read_key_sequence (keybuf=0xbfd50f14, bufsize=30, prompt=137574601, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9455
	interrupted_kboard = (KBOARD *) 0x85e5200
	key = 142269956
	used_mouse_menu = 0
	echo_local_start = 0
	last_real_key_start = 0
	keys_local_start = 0
	local_first_binding = 0
	from_string = 137574601
	count = 2
	t = 0
	echo_start = 0
	keys_start = 0
	nmaps = 2
	nmaps_allocated = 2
	defs = (Lisp_Object * volatile) 0xbfd50db0
	submaps = (Lisp_Object * volatile) 0xbfd50dd0
	orig_local_map = 139144469
	orig_keymap = 137574601
	localized_local_map = 0
	first_binding = 0
	first_unbound = 31
	mock_input = 0
	fkey = {
  parent = 139144837, 
  map = 139144837, 
  start = 0, 
  end = 0
}
	keytran = {
  parent = 137567077, 
  map = 137567077, 
  start = 0, 
  end = 0
}
	indec = {
  parent = 139144845, 
  map = 139144845, 
  start = 0, 
  end = 0
}
	delayed_switch_frame = 137574601
	original_uppercase = 0
	original_uppercase_position = -1
	starting_buffer = (struct buffer *) 0x877eaf8
	fake_prefixed_keys = 137574601
#10 0x08109c41 in command_loop_1 () at keyboard.c:1684
	cmd = <value optimized out>
	lose = <value optimized out>
	nonundocount = 0
	keybuf = {192, 48, -1219745584, 134541263, -1472036458, 134541265, 134541267, 0, 0, 1, 994, -1221146328, -1218412544, 134541263, -1219704740, 134522612, 1, -1208238092, -1208236000, 0, -1076555912, -1076556064, 0, -1076559872, 137574601, 138202729, 0, 137923976, 137923960, -1076555880}
	i = <value optimized out>
	prev_modiff = 17
	prev_buffer = (struct buffer *) 0x833b540
	already_adjusted = 0
#11 0x08162e20 in internal_condition_case (bfun=0x8109aa0 <command_loop_1>, handlers=137632001, hfun=0x8104350 <cmd_error>) at eval.c:1493
	val = <value optimized out>
	c = {
  tag = 137574601, 
  val = 137574601, 
  next = 0xbfd510c0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137923976, 137923960, -1076555640, -1105248127, 945538030}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 3086713404, 3218411184, 3218411460, 276967387, 49, 3075226700, 3075225724, 134542134, 276967386, 3086533532, 134542138, 0, 0, 1, 1997, 3073820968, 3218411584, 3218411872, 4294967295, 3218411720, 135341347, 3218411872, 3218411584, 3075242604, 3076554752, 0, 110932256, 3086729204, 134522612, 3086730856, 3218411664}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 137632001, 
  var = 137574601, 
  chosen_clause = 136050748, 
  tag = 0xbfd50fac, 
  next = 0x0
}
#12 0x081037d3 in command_loop_2 () at keyboard.c:1396
	val = 0
#13 0x08162efa in internal_catch (tag=137623561, func=0x81037b0 <command_loop_2>, arg=137574601) at eval.c:1229
	c = {
  tag = 137623561, 
  val = 137574601, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137923976, 137923960, -1076555384, -1105108863, 945675246}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 177, 22, 0, 1, 0 <repeats 11 times>, 3078808897, 140049736, 3076542832, 3218411976, 137760626, 137760624, 137759248, 3218411896, 135605589, 137759249, 137760626, 137574601, 137606464, 3072579872, 140049744, 137574625}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#14 0x081041b7 in command_loop () at keyboard.c:1375
No locals.
#15 0x0810451b in recursive_edit_1 () at keyboard.c:984
	val = <value optimized out>
#16 0x08104651 in Frecursive_edit () at keyboard.c:1046
	buffer = 137574601
#17 0x080f9e55 in main (argc=15, argv=0xbfd51594) at emacs.c:1777
	tz = 0xbfd52e75 "UTC"
	dummy = -1076554520
	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 = 0x8605548, 
  font_idx = 0, 
  name = 0x8605470 "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1", 
  full_name = 0x86054f0 "-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 = 0x8606a00
}
(gdb)  p *s->font
$2 = {
  ext_data = 0x8605660, 
  fid = 46137362, 
  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 = 0x86055a0, 
  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 = 0xb6e9e000, 
  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 = 0x8604da0, 
  w = 0x8604f28, 
  display = 0x85bc400, 
  window = 46137560, 
  row = 0x862a2c4, 
  area = TEXT_AREA, 
  char2b = 0xbfd4ff20, 
  nchars = 1, 
  hl = DRAW_NORMAL_TEXT, 
  face = 0x88678a8, 
  font = 0x8605548, 
  font_info = 0x8605678, 
  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 = 0x88616a8, 
  first_glyph = 0x8608e78, 
  img = 0x0, 
  slice = {
    x = 0, 
    y = 0, 
    width = 0, 
    height = 0
  }, 
  clip_head = 0x0, 
  clip_tail = 0x0, 
  next = 0xbfd4fe90, 
  prev = 0x0
}
(gdb)  p s->char2b[0]
$4 = {
  byte1 = 32 ' ', 
  byte2 = 172 '\254'
}
(gdb) 

-- 
    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 17:07 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
2007-11-23 12:46                                 ` David Kastrup
2007-11-23 14:54                                   ` Jan Djärv
2007-11-23 17:07                                     ` Robert J. Chassell [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m1Ivc0H-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 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).