From: Eli Zaretskii <eliz@gnu.org>
To: Alain Schneble <a.s@realize.ch>
Cc: 24614@debbugs.gnu.org
Subject: bug#24614: 25.1.50; Exception after moving mouse over over a different window
Date: Tue, 04 Oct 2016 20:08:12 +0300 [thread overview]
Message-ID: <83fuocm48z.fsf@gnu.org> (raw)
In-Reply-To: <86zimk2i9t.fsf@realize.ch> (message from Alain Schneble on Tue, 4 Oct 2016 18:25:34 +0200)
> From: Alain Schneble <a.s@realize.ch>
> CC: <24614@debbugs.gnu.org>
> Date: Tue, 4 Oct 2016 18:25:34 +0200
>
> > OK, so what does this print:
> >
> > (gdb) frame 10
> > (gdb) p *glyph
> >
> > also these:
> >
> > (gdb) p *width
> > (gdb) p w->contents
> > (gdb) xtype
> >
> > If the last command says it's a buffer, type "xbuffer", otherwise type
> > "xwindow" and show the result.
>
> (gdb) frame 10
> #10 0x00000004000469f9 in get_window_cursor_type (active_cursor=<synthetic pointer>, width=0xbfd6ac, glyph=0x10c46fd0, w=0x12af8400) at xdisp.c:28096
> 28096 if (glyph != NULL && glyph->type == XWIDGET_GLYPH)
> (gdb) p *width
> $3 = 1
> (gdb) p w->contents
> $4 = 282715685
> (gdb) xtype
> Lisp_Vectorlike
> PVEC_BUFFER
> (gdb) xbuffer
> $5 = (struct buffer *) 0x10d9e620
> (unsigned char *) 0xc661598 "TaskList.org"
What about
(gdb) p *glyph
?
> > Btw, how come the call to get_window_cursor_type is shown with its
> > argument in reverse order? In the backtrace:
>
> I have no clue... Could optimization reorder the arguments?
Maybe the function was inlined. Or maybe it's a GDB bug.
> > Something really weird went on in that frame #10...
>
> Should I have fear of something now? ;)
Fear of a crash, of course.
If this happens again, I suggest to build an unoptimized binary and
see if the problem can be reproduced there.
next prev parent reply other threads:[~2016-10-04 17:08 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 [this message]
2016-10-04 17:24 ` Alain Schneble
2016-10-04 17:41 ` Eli Zaretskii
2016-10-04 18:06 ` Alain Schneble
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
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=83fuocm48z.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24614@debbugs.gnu.org \
--cc=a.s@realize.ch \
/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).