From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18597: 25.0.50; Assertion violation in reseat_1 Date: Wed, 01 Oct 2014 20:03:29 +0300 Message-ID: <83d2abk9i6.fsf@gnu.org> References: <542C213C.6060006@gmx.at> <83iok3kcfw.fsf@gnu.org> <542C262F.7070303@gmx.at> <83fvf7kacx.fsf@gnu.org> <542C31B8.1090201@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412183209 15844 80.91.229.3 (1 Oct 2014 17:06:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2014 17:06:49 +0000 (UTC) Cc: 18597@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 19:06:42 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZNMN-0004AA-QE for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 19:06:39 +0200 Original-Received: from localhost ([::1]:56909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZNMN-0001Y8-5j for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 13:06:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZNJw-0005lx-2m for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 13:04:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZNJq-0002Xe-Tg for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 13:04:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZNJq-0002XV-RD for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 13:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZNJq-00066y-Bd for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Oct 2014 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18597-submit@debbugs.gnu.org id=B18597.141218301723462 (code B ref 18597); Wed, 01 Oct 2014 17:04:02 +0000 Original-Received: (at 18597) by debbugs.gnu.org; 1 Oct 2014 17:03:37 +0000 Original-Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZNJR-00066M-0d for submit@debbugs.gnu.org; Wed, 01 Oct 2014 13:03:37 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:53211) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZNJN-00066C-PL for 18597@debbugs.gnu.org; Wed, 01 Oct 2014 13:03:34 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NCR00M00Z6ANN00@mtaout28.012.net.il> for 18597@debbugs.gnu.org; Wed, 01 Oct 2014 20:02:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCR00I0FZBWUF40@mtaout28.012.net.il>; Wed, 01 Oct 2014 20:02:21 +0300 (IDT) In-reply-to: <542C31B8.1090201@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93976 Archived-At: > Date: Wed, 01 Oct 2014 18:54:16 +0200 > From: martin rudalics > CC: 18597@debbugs.gnu.org > > (gdb) frame 8 > #8 0x0102231f in pos_visible_p (w=0x5af05e8, charpos=2658812, x=0x82e2cc, y=0x82e2c8, rtop=0x82e2c4, rbot=0x82e2c0, rowh=0x82e2bc, vpos=0x82e2b8) at xdisp.c:1437 > 1437 start_display (&it, w, top); > (gdb) p w->start > $11 = { > i = 24813235 > } Then I must be missing something, since this code in pos_visible_p: SET_TEXT_POS_FROM_MARKER (top, w->start); /* Scrolling a minibuffer window via scroll bar when the echo area shows long text sometimes resets the minibuffer contents behind our backs. */ if (CHARPOS (top) > ZV) SET_TEXT_POS (top, BEGV, BEGV_BYTE); /* Compute exact mode line heights. */ if (WINDOW_WANTS_MODELINE_P (w)) w->mode_line_height = display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (w), BVAR (current_buffer, mode_line_format)); if (WINDOW_WANTS_HEADER_LINE_P (w)) w->header_line_height = display_mode_line (w, HEADER_LINE_FACE_ID, BVAR (current_buffer, header_line_format)); start_display (&it, w, top); uses w->start for the position in 'top', with which it calls start_display. And if somehow, the condition if (CHARPOS (top) > ZV) SET_TEXT_POS (top, BEGV, BEGV_BYTE); fired, then still 'top' should be at BEGV. What am I missing here?