From: Alain Schneble <a.s@realize.ch>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24614@debbugs.gnu.org
Subject: bug#24614: 25.1.50; Exception after moving mouse over over a different window
Date: Tue, 4 Oct 2016 20:06:57 +0200 [thread overview]
Message-ID: <86oa302dku.fsf@realize.ch> (raw)
In-Reply-To: <83a8ekm2oo.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Oct 2016 20:41:59 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Alain Schneble <a.s@realize.ch>
>> CC: <24614@debbugs.gnu.org>
>> Date: Tue, 4 Oct 2016 19:24:34 +0200
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > What about
>> >
>> > (gdb) p *glyph
>> >
>>
>> (gdb) p *glyph
>> Cannot access memory at address 0x10c46fd0
>
> So this is our villain. Now how could that happen? I hope the GDB
> session is still alive; if it is, what do the commands below report?
>
> (gdb) frame 11
> (gdb) p *glyph_row
> (gdb) p w->output_cursor
> (gdb) p w->current_matrix->nrows
> (gdb) p w->current_matrix->matrix_w
Fortunately, yes. Here it is:
(gdb) frame 11
#11 display_and_set_cursor (w=w@entry=0x12af8400, on=on@entry=true, hpos=<optimized out>, vpos=<optimized out>, x=0, y=280) at xdisp.c:28496
28496 new_cursor_type = get_window_cursor_type (w, glyph,
(gdb) p *glyph_row
$6 = {
glyphs = {0x10c47010, 0x10c47010, 0x10c558d0, 0x10c558d0},
used = {0, 1, 0, 0},
hash = 32,
x = 0,
y = 280,
pixel_width = 7,
ascent = 11,
height = 14,
phys_ascent = 11,
phys_height = 14,
visible_height = 14,
extra_line_spacing = 0,
start = {
pos = {
charpos = 39105,
bytepos = 39116
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
end = {
pos = {
charpos = 39119,
bytepos = 39130
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
minpos = {
charpos = 39105,
bytepos = 39116
},
maxpos = {
charpos = 39119,
bytepos = 39130
},
overlay_arrow_bitmap = 0,
left_user_fringe_bitmap = 0,
right_user_fringe_bitmap = 0,
left_fringe_bitmap = 3,
right_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 0,
left_fringe_face_id = 0,
right_fringe_face_id = 0,
left_fringe_offset = 0,
right_fringe_offset = 0,
fringe_bitmap_periodic_p = false,
redraw_fringe_bitmaps_p = false,
enabled_p = true,
truncated_on_left_p = true,
truncated_on_right_p = false,
continued_p = false,
displays_text_p = true,
ends_at_zv_p = false,
fill_line_p = false,
indicate_empty_line_p = false,
contains_overlapping_glyphs_p = false,
full_width_p = false,
mode_line_p = false,
overlapped_p = false,
ends_in_middle_of_char_p = false,
starts_in_middle_of_char_p = false,
overlapping_p = false,
mouse_face_p = false,
ends_in_newline_from_string_p = false,
exact_window_width_line_p = false,
cursor_in_fringe_p = false,
ends_in_ellipsis_p = false,
indicate_bob_p = false,
indicate_top_line_p = false,
indicate_eob_p = false,
indicate_bottom_line_p = false,
reversed_p = false,
continuation_lines_width = 0,
clip = 0x0
}
(gdb) p w->output_cursor
$7 = {
x = 0,
y = 280,
hpos = -1,
vpos = 20
}
(gdb) p w->current_matrix->nrows
$8 = 183
(gdb) p w->current_matrix->matrix_w
$9 = 931
next prev parent reply other threads:[~2016-10-04 18:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 14:53 bug#24614: 25.1.50; Exception after moving mouse over over a different window Alain Schneble
2016-10-04 15:44 ` Eli Zaretskii
2016-10-04 15:54 ` Alain Schneble
2016-10-04 16:19 ` Eli Zaretskii
2016-10-04 16:25 ` Alain Schneble
2016-10-04 17:08 ` Eli Zaretskii
2016-10-04 17:24 ` Alain Schneble
2016-10-04 17:41 ` Eli Zaretskii
2016-10-04 18:06 ` Alain Schneble [this message]
2016-10-04 19:15 ` Eli Zaretskii
2016-10-04 20:08 ` Alain Schneble
2016-10-04 16:06 ` Alain Schneble
2016-10-04 16:31 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86oa302dku.fsf@realize.ch \
--to=a.s@realize.ch \
--cc=24614@debbugs.gnu.org \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.