emacs-devel
[Top][All Lists]
Advanced

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

crash in buffer change


From: Sam Steingold
Subject: crash in buffer change
Date: 30 Oct 2002 18:05:33 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

GNU Emacs 21.3.50.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-10-29 on loiso.podval.org

when the current buffer changes (e.g., after e-mail is sent in gnus),
I get this:

(gdb) run
Starting program: /usr/local/src/emacs/src/emacs --

Program received signal SIGSEGV, Segmentation fault.
set_buffer_internal_1 (b=0x82aeba4) at buffer.c:1747
1747        b->undo_list = b->base_buffer->undo_list;
(gdb) where
#0  set_buffer_internal_1 (b=0x82aeba4) at buffer.c:1747
#1  0x080653b8 in x_consider_frame_title (frame=1218777840) at xdisp.c:7329
#2  0x08065735 in prepare_menu_bars () at xdisp.c:7391
#3  0x080673c5 in redisplay_internal (preserve_echo_area=0) at xdisp.c:8603
#4  0x08066ef1 in redisplay () at xdisp.c:8393
#5  0x080d95f5 in read_char (commandflag=1, nmaps=2, maps=0xbfffef20, 
    prev_event=405466020, used_mouse_menu=0xbfffef58) at keyboard.c:2334
#6  0x080df52d in read_key_sequence (keybuf=0xbffff080, bufsize=30, 
    prompt=405466020, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8381
#7  0x080d6e0b in command_loop_1 () at keyboard.c:1472
#8  0x0812cc66 in internal_condition_case (bfun=0x80d6c98 <command_loop_1>, 
    handlers=405562604, hfun=0x80d6894 <cmd_error>) at eval.c:1348
#9  0x080d6b7e in command_loop_2 () at keyboard.c:1273
#10 0x0812c821 in internal_catch (tag=8, func=0x80d6b60 <command_loop_2>, 
    arg=405466020) at eval.c:1108
#11 0x080d6b34 in command_loop () at keyboard.c:1252
#12 0x080d6673 in recursive_edit_1 () at keyboard.c:968
#13 0x080d6780 in Frecursive_edit () at keyboard.c:1024
#14 0x080d50d7 in main (argc=2, argv=0xbffff654, envp=0xbffff660)
    at emacs.c:1641
#15 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) p *b
$1 = {
  size = 10, 
  next = 0x3818d298, 
  own_text = {
    beg = 0x182aeba4 <Address 0x182aeba4 out of bounds>, 
    gpt = 405466044, 
    z = 1482247628, 
    gpt_byte = 0, 
    z_byte = 0, 
    gap_size = 941150892, 
    modiff = 405466044, 
    save_modiff = 405466044, 
    overlay_modiff = 405466020, 
    beg_unchanged = 0, 
    end_unchanged = 10, 
    unchanged_modified = 941150916, 
    overlay_unchanged_modified = 405466068, 
    intervals = 0x182aebbc, 
    markers = 1479288316
  }, 
  text = 0x0, 
  pt = 8, 
  pt_byte = 941150936, 
  begv = 405466044, 
  begv_byte = 405466044, 
  zv = 405466020, 
  zv_byte = 0, 
  base_buffer = 0x8, 
  local_flags = 
"\0\323\0308\274\353*\030\274\353*\030\214\347*X\0\0\0\0\b\0\0\0 
\323\0308\274\353*\030\274\353*\030\244\353*\030\0\0\0\0\b\0\0\0H\323", 
  modtime = 405466044, 
  auto_save_modified = 405466044, 
  display_error_modiff = 1479642044, 
  auto_save_failure_time = 137030636, 
  last_window_start = 8, 
  clip_changed = 941151072, 
  newline_cache = 0x182aebbc, 
  width_run_cache = 0x4826ed18, 
  prevent_redisplay_optimizations_p = 0, 
  name = 0, 
  filename = 8, 
  directory = 941151104, 
  backed_up = 405466044, 
  save_length = 1209569656, 
  auto_save_file_name = 1479247588, 
  read_only = 0, 
  mark = 8, 
  local_var_alist = 941151136, 
  major_mode = 405466044, 
  mode_name = 405466044, 
  mode_line_format = 1479247604, 
  undo_list = 0, 
---Type <return> to continue, or q <return> to quit---
  header_line_format = 8, 
  keymap = 941151164, 
  abbrev_table = 405466044, 
  syntax_table = 1209960124, 
  category_table = 405466020, 
  case_fold_search = 0, 
  tab_width = 8, 
  fill_column = 941151200, 
  left_margin = 405466044, 
  auto_fill_function = 405466044, 
  buffer_file_type = 405466020, 
  downcase_table = 0, 
  upcase_table = 8, 
  case_canon_table = 941151228, 
  case_eqv_table = 405466044, 
  truncate_lines = 405466044, 
  ctl_arrow = 1479327532, 
  direction_reversed = 0, 
  selective_display = 8, 
  selective_display_ellipses = 941151260, 
  minor_modes = 405466044, 
  overwrite_mode = 405466044, 
  abbrev_mode = 405466020, 
  display_table = 0, 
  mark_active = 8, 
  overlays_before = 941151292, 
  overlays_after = 681646820, 
  overlay_center = 405466044, 
  enable_multibyte_characters = 1480601652, 
  buffer_file_coding_system = 0, 
  file_format = 8, 
  cache_long_line_scans = 941151328, 
  width_table = 405466044, 
  pt_marker = 405466044, 
  begv_marker = 1479641924, 
  zv_marker = 0, 
  point_before_scroll = 8, 
  file_truename = 941151352, 
  invisibility_spec = 405466044, 
  last_selected_window = 1209570424, 
  display_count = 405466020, 
  left_margin_width = 0, 
  right_margin_width = 8, 
  indicate_empty_lines = 941151384, 
  display_time = 405466044, 
  scroll_up_aggressively = 405957636, 
  scroll_down_aggressively = 1479721116, 
  cursor_type = 0, 
  extra_line_spacing = 10
}
(gdb) p b->base_buffer
$2 = (struct buffer *) 0x8



-- 
Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Profanity is the one language all programmers know best.




reply via email to

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