From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.bugs Subject: bug#24614: 25.1.50; Exception after moving mouse over over a different window Date: Tue, 4 Oct 2016 18:25:34 +0200 Message-ID: <86zimk2i9t.fsf@realize.ch> References: <86fuoc4145.fsf@realize.ch> <83lgy4m84w.fsf@gnu.org> <86bmz03y9y.fsf@realize.ch> <83int8m6iu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475598482 23090 195.159.176.226 (4 Oct 2016 16:28:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2016 16:28:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt) Cc: 24614@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 18:27:55 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brSYn-0001AZ-TQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2016 18:27:18 +0200 Original-Received: from localhost ([::1]:44158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSYm-0003iB-H8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2016 12:27:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSYd-0003gF-15 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brSYY-0003c2-MC for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:27:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSYY-0003bv-IW for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1brSYY-0002vx-Dv for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alain Schneble Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2016 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24614-submit@debbugs.gnu.org id=B24614.147559837911224 (code B ref 24614); Tue, 04 Oct 2016 16:27:02 +0000 Original-Received: (at 24614) by debbugs.gnu.org; 4 Oct 2016 16:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:44751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brSXr-0002ux-Gk for submit@debbugs.gnu.org; Tue, 04 Oct 2016 12:26:19 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:3869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brSXq-0002uj-2B for 24614@debbugs.gnu.org; Tue, 04 Oct 2016 12:26:18 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit (Unknown [192.168.0.105]) by clientmail.realize.ch with ESMTP ; Tue, 4 Oct 2016 18:25:59 +0200 Original-Received: from myngb (192.168.250.224) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Tue, 4 Oct 2016 18:25:32 +0200 In-Reply-To: <83int8m6iu.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Oct 2016 19:19:05 +0300") X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124051 Archived-At: Eli Zaretskii writes: >> From: Alain Schneble >> CC: <24614@debbugs.gnu.org> >> Date: Tue, 4 Oct 2016 17:54:33 +0200 >> >> > Is this GDB session still alive? >> >> Thanks for looking into it. Yes, GDB session is still alive. > > 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=, 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" > 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? > > #10 0x00000004000469f9 in get_window_cursor_type (active_cursor=, width=0xbfd6ac, glyph=0x10c46fd0, w=0x12af8400) at xdisp.c:28096 > > when the actual function argument list is this: > > get_window_cursor_type (struct window *w, struct glyph *glyph, int *width, > bool *active_cursor) > > What does this print: > > (gdb) ptype get_window_cursor_type (gdb) ptype get_window_cursor_type type = enum text_cursor_kinds {DEFAULT_CURSOR = -2, NO_CURSOR, FILLED_BOX_CURSOR, HOLLOW_BOX_CURSOR, BAR_CURSOR, HBAR_CURSOR} (_Bool *, int *, struct glyph *, struct window *) > Something really weird went on in that frame #10... Should I have fear of something now? ;) Thanks, Alain