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

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

xassert failure in xdisp.c when using menu on Solaris


From: Jan D.
Subject: xassert failure in xdisp.c when using menu on Solaris
Date: Mon, 25 Apr 2005 20:59:34 +0200

Symptoms:

When compiling with --enable-asserts on Solaris 9, and invoking anything
from the menu, Emacs aborts with an xassert failure.  It shows no ill
effects if I compile without --enable-asserts.


#0  abort () at emacs.c:457
#1  0x080ac467 in set_message_1 (a1=0, a2=144925123, nbytes=9, multibyte_p=0)
    at xdisp.c:7902
#2  0x080ab33d in with_echo_area_buffer (w=0x0, which=0, 
    fn=0x80ac440 <set_message_1>, a1=0, a2=144925123, a3=9, a4=0)
    at xdisp.c:7309
#3  0x080ac427 in set_message (s=0x0, string=144925123, nbytes=9, 
    multibyte_p=0) at xdisp.c:7881
#4  0x080aaa03 in message3_nolog (m=144925123, nbytes=9, multibyte=0)
    at xdisp.c:6989
#5  0x0814f30d in echo_now () at keyboard.c:882
#6  0x0814f1db in echo_dash () at keyboard.c:841
#7  0x0814f2c2 in echo_now () at keyboard.c:878
#8  0x08152b4c in read_char (commandflag=1, nmaps=2, maps=0x80472b0, 
    prev_event=141485349, used_mouse_menu=0x8047364) at keyboard.c:2707
#9  0x0815bf15 in read_key_sequence (keybuf=0x8047494, bufsize=30, 
    prompt=138108945, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8825
#10 0x081500b8 in command_loop_1 () at keyboard.c:1542
#11 0x081cd075 in internal_condition_case (bfun=0x814fd18 <command_loop_1>, 
    handlers=138214017, hfun=0x814f7bc <cmd_error>) at eval.c:1385
#12 0x0814fb0c in command_loop_2 () at keyboard.c:1323
#13 0x081ccb0c in internal_catch (tag=138204137, 
    func=0x814faec <command_loop_2>, arg=138108945) at eval.c:1144
#14 0x0814fabe in command_loop () at keyboard.c:1302
#15 0x0814f4ff in recursive_edit_1 () at keyboard.c:995
#16 0x0814f663 in Frecursive_edit () at keyboard.c:1056
#17 0x0814df2c in main (argc=2, argv=0x8047780) at emacs.c:1769
(gdb) up
#1  0x080ac467 in set_message_1 (a1=0, a2=144925123, nbytes=9, multibyte_p=0)
    at xdisp.c:7902
7902      xassert (BEG == Z);
(gdb) p *current_buffer
$1 = {
  size = 1073873012, 
  next = 0x83e2610, 
  own_text = {
    beg = 0x8b39720 "menu-bar", 
    gpt = 9, 
    z = 9, 
    gpt_byte = 9, 
    z_byte = 9, 
    gap_size = 12, 
    modiff = 2, 
    save_modiff = 1, 
    overlay_modiff = 1, 
    beg_unchanged = 0, 
    end_unchanged = 0, 
    unchanged_modified = 1, 
    overlay_unchanged_modified = 1, 
    intervals = 0x0, 
    markers = 0x8674ae0
  }, 
  text = 0x8505018, 
  pt = 9, 
  pt_byte = 9, 
  begv = 1, 
  begv_byte = 1, 
  zv = 9, 
  zv_byte = 9, 
  base_buffer = 0x0, 
  local_flags = '\0' <repeats 34 times>, "D\b\250\273<\b\020\311>\b0oV\b \324", 
  modtime = 0, 
  auto_save_modified = 0, 
  display_error_modiff = 0, 
  auto_save_failure_time = -1, 
  last_window_start = 1, 
  clip_changed = 0, 
  newline_cache = 0x0, 
  width_run_cache = 0x0, 
  prevent_redisplay_optimizations_p = 1, 
  overlays_before = 0x0, 
  overlays_after = 0x0, 
  overlay_center = 1, 
  name = 138076435, 
  filename = 138108945, 
  directory = 142287283, 
  backed_up = 138108945, 
  save_length = 0, 
  auto_save_file_name = 138108945, 
  read_only = 138108945, 
  mark = 138220306, 
  local_var_alist = 139160269, 
  major_mode = 138109185, 
  mode_name = 138111139, 
  mode_line_format = 138934637, 
  undo_list = 138108993, 
  header_line_format = 138108945, 
  keymap = 138108945, 
  abbrev_table = 138292756, 
  syntax_table = 138174484, 
  category_table = 138176532, 
  case_fold_search = 138108993, 
  tab_width = 64, 
  fill_column = 560, 
  left_margin = 0, 
  auto_fill_function = 138108945, 
  buffer_file_type = 138108945, 
  downcase_table = 138182676, 
  upcase_table = 138186772, 
  case_canon_table = 141187092, 
  case_eqv_table = 141230100, 
  truncate_lines = 138108945, 
  ctl_arrow = 138108993, 
  direction_reversed = 138108945, 
  selective_display = 138108945, 
  selective_display_ellipses = 138108993, 
  minor_modes = 138108945, 
  overwrite_mode = 138108945, 
  abbrev_mode = 138108945, 
  display_table = 138108945, 
  mark_active = 138108945, 
  enable_multibyte_characters = 138108945, 
  buffer_file_coding_system = 138414289, 
  file_format = 138108945, 
  auto_save_file_format = 138108993, 
  cache_long_line_scans = 138108945, 
  width_table = 138108945, 
  pt_marker = 138108945, 
  begv_marker = 138108945, 
  zv_marker = 138108945, 
  point_before_scroll = 138108945, 
  file_truename = 138108945, 
  invisibility_spec = 138108993, 
  last_selected_window = 138108945, 
  display_count = 0, 
  left_margin_cols = 0, 
  right_margin_cols = 0, 
  left_fringe_width = 138108945, 
  right_fringe_width = 138108945, 
  fringes_outside_margins = 138108945, 
  scroll_bar_width = 138108945, 
  vertical_scroll_bar_type = 138108993, 
  indicate_empty_lines = 138108945, 
  indicate_buffer_boundaries = 138108945, 
  display_time = 138108945, 
  scroll_up_aggressively = 138108945, 
  scroll_down_aggressively = 138108945, 
  cursor_type = 138108993, 
  extra_line_spacing = 138108945
}
(gdb) p *current_buffer->text
$2 = {
  beg = 0x8b39720 "menu-bar", 
  gpt = 9, 
  z = 9, 
  gpt_byte = 9, 
  z_byte = 9, 
  gap_size = 12, 
  modiff = 2, 
  save_modiff = 1, 
  overlay_modiff = 1, 
  beg_unchanged = 0, 
  end_unchanged = 0, 
  unchanged_modified = 1, 
  overlay_unchanged_modified = 1, 
  intervals = 0x0, 
  markers = 0x8674ae0
}
(gdb) 




In GNU Emacs 22.0.50.1 (i386-pc-solaris2.9, X toolkit, Xaw3d scroll bars)
 of 2005-04-25 on ostrich
Distributor `Sun Microsystems, Inc.', version 11.0.6610
configured using `configure '--prefix=/opt/emacs-cvs' '--verbose' 
'--enable-asserts' '--with-x-toolkit=lucid' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: sv_SE.ISO8859-1
  value of $LC_CTYPE: sv_SE.ISO8859-1
  value of $LC_MESSAGES: sv
  value of $LC_MONETARY: sv_SE.ISO8859-1
  value of $LC_NUMERIC: sv_SE.ISO8859-1
  value of $LC_TIME: sv_SE.ISO8859-1
  value of $LANG: sv_SE.ISO8859-1
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  menu-bar-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
<down-mouse-1> <mouse-1> M-x r e p o r t <tab> <re
turn>

Recent messages:
Loading mwheel...done
(./emacs -q)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done




reply via email to

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