From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 1493@emacsbugs.donarmstrong.com
Subject: bug#1493: 23.0.60; make-frame-on-display segfaults
Date: Sun, 07 Dec 2008 04:56:29 +0100 [thread overview]
Message-ID: <m3iqpwsknm.fsf@telefonica.net> (raw)
In-Reply-To: <87zlj83i00.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 06 Dec 2008 20:13:03 -0500")
Chong Yidong <cyd@stupidchicken.com> writes:
> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x7f2e60e53770 (LWP 14057)]
>> 0x00000000005629d9 in marker_byte_position (marker=11677457) at marker.c:823
>> 823 if (i < BUF_BEG_BYTE (buf) || i > BUF_Z_BYTE (buf))
>> (gdb) bt full
>> #0 0x00000000005629d9 in marker_byte_position (marker=11677457) at marker.c:823
>> m = (struct Lisp_Marker *) 0xb22ee1
>> buf = (struct buffer *) 0x8a9463
>> i = 11677409
>> #1 0x000000000054f769 in set_buffer_internal_1 (b=0xb22ee0) at buffer.c:1904
>> old_buf = (struct buffer *) 0xb2cbd0
>> tail = 4294967296
>> valcontents = 43328032
>> tem = 0
>> #2 0x000000000044bb76 in redisplay_window (window=43752452, just_this_one_p=0)
>> at xdisp.c:13292
>
> In frame 0, could you do
>
> p *buf
>
> and report what the buffer structure is?
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f7b26496770 (LWP 20004)]
0x00000000005629d9 in marker_byte_position (marker=11677457) at marker.c:823
823 if (i < BUF_BEG_BYTE (buf) || i > BUF_Z_BYTE (buf))
(gdb) frame 0
#0 0x00000000005629d9 in marker_byte_position (marker=11677457) at marker.c:823
823 if (i < BUF_BEG_BYTE (buf) || i > BUF_Z_BYTE (buf))
(gdb) p *buf
$1 = {size = 18446742974197923840, next = 0xffffffffff, own_text = {
beg = 0xaa9eef0000000000 <Address 0xaa9eef0000000000 out of bounds>,
gpt = 1099511627776, z = -1099511627776, gpt_byte = 1099511627775,
z_byte = -6152219456685735936, gap_size = 24189255811072, modiff = 0,
chars_modiff = -256, save_modiff = -1, overlay_modiff = 255,
beg_unchanged = -6152244745453174784, end_unchanged = 13194139533312,
unchanged_modified = 0, overlay_unchanged_modified = -256,
intervals = 0xffffffffff, markers = 0xaa9ec90000000000,
inhibit_shrinking = 0}, text = 0xffffff0000000000, pt = 1099511627775,
pt_byte = -6152284327871774720, begv = 15393162788864,
begv_byte = -1099511627776, zv = 1099511627775,
zv_byte = -6152300820546191360, base_buffer = 0xa0000000000,
local_flags = "\000\000\000\000\000��������\000\000\000\000\000\000\000\000\230\236�\000\000\000\000\000\020\000\000\000\000\000\000\000��������\000\000\000\000", modtime = -1432451328, auto_save_modified = 0, display_error_modiff = 2560,
auto_save_failure_time = 0, last_window_start = 1099511627775,
clip_changed = 0, newline_cache = 0xf0000000000,
width_run_cache = 0xffffff0000000000, prevent_redisplay_optimizations_p = 1,
overlays_before = 0xaa9e6c0000000000, overlays_after = 0xf0000000000,
overlay_center = -1099511627776, undo_list = 1099511627775,
name = -6152378885871763456, filename = 17592186044416,
directory = -1099511627776, backed_up = 1099511627775,
save_length = -6152397577569435648, auto_save_file_name = 25288767438848,
read_only = -1099511627776, mark = 1099511627775,
local_var_alist = -6152423965848502272, major_mode = 4398046511104,
mode_name = -1099511627776, mode_line_format = 1099511627775,
header_line_format = -6152429463406641152, keymap = 16492674416640,
abbrev_table = -1099511627776, syntax_table = 1099511627775,
category_table = -6152447055592685568, case_fold_search = 14293651161088,
tab_width = -1099511627776, fill_column = 1099511627775,
---Type <return> to continue, or q <return> to quit---
left_margin = -6152462448755474432, auto_fill_function = 27487790694400,
buffer_file_type = -1099511627776, downcase_table = 1099511627775,
upcase_table = -6152491036057796608, case_canon_table = 7696581394432,
case_eqv_table = -1099511627776, truncate_lines = 1099511627775,
word_wrap = -6152499832150818816, ctl_arrow = 7696581394432,
direction_reversed = -1099511627776, selective_display = 1099511627775,
selective_display_ellipses = -6152508628243841024,
minor_modes = 7696581394432, overwrite_mode = -1099511627776,
abbrev_mode = 1099511627775, display_table = -6152517424336863232,
mark_active = 6597069766656, enable_multibyte_characters = -1099511627776,
buffer_file_coding_system = 1099511627775, file_format = -6152525120918257664,
auto_save_file_format = 10995116277760,
cache_long_line_scans = -1099511627776, width_table = 1099511627775,
pt_marker = -6152537215546163200, begv_marker = 15393162788864,
zv_marker = -1099511627776, point_before_scroll = 1099511627775,
file_truename = -6152553708220579840, invisibility_spec = 15393162788864,
last_selected_window = -1099511627776, display_count = 1099511627775,
left_margin_cols = -6152570200894996480, right_margin_cols = 12094627905536,
left_fringe_width = -1099511627776, right_fringe_width = 1099511627775,
fringes_outside_margins = -6152583395034529792,
scroll_bar_width = 12094627905536, vertical_scroll_bar_type = -1099511627776,
indicate_empty_lines = 1099511627775,
indicate_buffer_boundaries = -6152596589174063104,
fringe_indicator_alist = 8796093022208, fringe_cursor_alist = -1099511627776,
display_time = 1099511627775, scroll_up_aggressively = -6152606484778713088,
scroll_down_aggressively = 6597069766656, cursor_type = -1099511627776,
extra_line_spacing = 1099511627775,
cursor_in_non_selected_windows = -6152614181360107520}
(gdb)
--
Oscar
next prev parent reply other threads:[~2008-12-07 3:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87skp15rn7.fsf@cyd.mit.edu>
2008-12-06 19:29 ` bug#1493: 23.0.60; make-frame-on-display segfaults Óscar Fuentes
[not found] ` <m3myf9rtji.fsf@telefonica.net>
[not found] ` <87zlj83i00.fsf@cyd.mit.edu>
2008-12-07 3:56 ` Óscar Fuentes [this message]
2008-12-07 17:20 ` Chong Yidong
2008-12-07 17:50 ` Óscar Fuentes
2008-12-06 14:01 Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2008-12-05 4:14 Chong Yidong
2008-12-05 6:38 ` Oscar Fuentes
2008-12-04 18:05 Oscar Fuentes
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=m3iqpwsknm.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=1493@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
/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).