From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: crash in buffer change Date: 30 Oct 2002 18:05:33 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036019310 12131 80.91.224.249 (30 Oct 2002 23:08:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 23:08:30 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1871wq-00039Q-00 for ; Thu, 31 Oct 2002 00:08:28 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 187229-0007rM-00 for ; Thu, 31 Oct 2002 00:13:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1871uv-0007Fm-00; Wed, 30 Oct 2002 18:06:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1871to-0005wU-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 18:05:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1871tk-0005q1-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 18:05:18 -0500 Original-Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 1871tj-0005oP-00; Wed, 30 Oct 2002 18:05:15 -0500 Original-Received: from loiso.podval.org ([151.203.42.207]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021030230514.LSST2867.out002.verizon.net@loiso.podval.org>; Wed, 30 Oct 2002 17:05:14 -0600 Original-Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9UN5YwQ010133; Wed, 30 Oct 2002 18:05:34 -0500 Original-Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9UN5X2I010129; Wed, 30 Oct 2002 18:05:33 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f Original-To: emacs-devel@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never Original-Lines: 148 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.42.207] at Wed, 30 Oct 2002 17:05:13 -0600 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8978 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 , handlers=405562604, hfun=0x80d6894 ) at eval.c:1348 #9 0x080d6b7e in command_loop_2 () at keyboard.c:1273 #10 0x0812c821 in internal_catch (tag=8, func=0x80d6b60 , 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
, 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 to continue, or q 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 Profanity is the one language all programmers know best.