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#8562: Emacs 23.1 and later don't work in windows 98 Date: Tue, 24 May 2011 23:37:55 +0300 Message-ID: <8339k3esws.fsf@gnu.org> References: <83d3k88k6o.fsf@gnu.org> <83wri4kpwb.fsf@gnu.org> <83d3j9e2pn.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1306269761 25910 80.91.229.12 (24 May 2011 20:42:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:42:41 +0000 (UTC) Cc: 8562@debbugs.gnu.org To: oslsachem Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:42:36 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyR0-0003Lp-Om for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:42:34 +0200 Original-Received: from localhost ([::1]:36920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyR0-00058D-D0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:42:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyNe-0007iD-TZ for bug-gnu-emacs@gnu.org; Tue, 24 May 2011 16:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOyNb-0000uY-CJ for bug-gnu-emacs@gnu.org; Tue, 24 May 2011 16:39:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyNb-0000uP-5w for bug-gnu-emacs@gnu.org; Tue, 24 May 2011 16:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QOyNa-0004It-Pj; Tue, 24 May 2011 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 May 2011 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8562 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8562-submit@debbugs.gnu.org id=B8562.130626951016495 (code B ref 8562); Tue, 24 May 2011 20:39:02 +0000 Original-Received: (at 8562) by debbugs.gnu.org; 24 May 2011 20:38:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyN4-0004I0-Ci for submit@debbugs.gnu.org; Tue, 24 May 2011 16:38:30 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyN1-0004Hm-7b for 8562@debbugs.gnu.org; Tue, 24 May 2011 16:38:28 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LLP00J00VXXK000@a-mtaout22.012.net.il> for 8562@debbugs.gnu.org; Tue, 24 May 2011 23:37:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.254.13]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LLP00JF4VZ58B30@a-mtaout22.012.net.il>; Tue, 24 May 2011 23:37:55 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 24 May 2011 16:39:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:46689 Archived-At: > Date: Tue, 24 May 2011 21:32:05 +0200 > From: oslsachem > Cc: 8562@debbugs.gnu.org >=20 > > This will enable additional checking in various places in Emacs. = =A0If > > we are lucky, you will see Emacs aborting somewhere earlier durin= g its > > startup, and that will hopefully show us the problem which leads = to > > this crash. >=20 > http://www.speedyshare.com/files/28627438/Emacs-23.3GDBCFlags.txt >=20 > (gdb) where > #0 w32_abort () at w32fns.c:7365 > #1 0x01050284 in window_box_height (w=3D0x37f3c00) at xdisp.c:1104 > #2 0x01207f8b in required_matrix_height (w=3D0x37f3c00) at dispnew= .c:1999 Thanks. It aborts here: INLINE int window_box_height (w) =09 struct window *w; { struct frame *f =3D XFRAME (w->frame); int height =3D WINDOW_TOTAL_HEIGHT (w); xassert (height >=3D 0); <<<<<<<<<<<<<<<<<<<<< Which means the value of height is non-positive. So please go to frame #1 and show the values of height, w->total_lines and w->total_cols. I suspect that they are all zero. If that is true, please see how did that happen, because the function make_frame was supposed to set this window (the root window of the newly created frame) to 10x10 dimensions, around line 385: /* 10 is arbitrary, just so that there is "something there." Correct size will be set up later with change_frame_size. */ SET_FRAME_COLS (f, 10); FRAME_LINES (f) =3D 10; XSETFASTINT (XWINDOW (root_window)->total_cols, 10); XSETFASTINT (XWINDOW (root_window)->total_lines, (mini_p ? 9 : 10))= ; If total_lines and total_cols get the right values here, then please set a watchpoint on these fields, or step through the code between th= e above and where it aborts, and see where they are reset to zero. Thanks.