From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: [BUG] dispnew.c/adjustglyphmatrix Date: Thu, 14 Aug 2003 14:21:05 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060885883 12744 80.91.224.253 (14 Aug 2003 18:31:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2003 18:31:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Aug 14 20:31:22 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nMsc-0005Px-00 for ; Thu, 14 Aug 2003 20:31:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19nMtH-0000Xb-00 for ; Thu, 14 Aug 2003 20:32:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nMqf-0006fJ-Jd for emacs-devel@quimby.gnus.org; Thu, 14 Aug 2003 14:29:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19nMkR-0002Pk-Ff for emacs-devel@gnu.org; Thu, 14 Aug 2003 14:22:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19nMjZ-0001Hk-Kz for emacs-devel@gnu.org; Thu, 14 Aug 2003 14:22:32 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nMiv-0000eP-U7 for emacs-devel@gnu.org; Thu, 14 Aug 2003 14:21:22 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nMk5-0002WO-00 for ; Thu, 14 Aug 2003 20:22:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nMk5-0002WG-00 for ; Thu, 14 Aug 2003 20:22:33 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nMiu-00032R-00 for ; Thu, 14 Aug 2003 20:21:20 +0200 Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:L3hxtEAVHrWxY4IJfBCDgyyBf4w= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15955 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15955 The title function uses an uninitialized local variable window_height. The stack backtrace is: ntdll.dll!77f75a58() emacs.exe!failwithmessage(void * retaddr=0x011b58bf, int crttype=0x00000001, int errnum=0x00000003, const char * msg=0x0109e2bb) + 0x106 C++ emacs.exe!_RTC_UninitUse(const char * varname=0x0109e32d) + 0x9c C++ > emacs.exe!adjust_glyph_matrix(window * w=0x0138e600, glyph_matrix * matrix=0x015ca800, int x=0x00000000, int y=0x00000000, dim dim={...}) Line 844 + 0x10 C emacs.exe!allocate_matrices_for_frame_redisplay(int window=0x4138e600, int x=0x00000000, int y=0x00000000, int dim_only_p=0x00000000, int * window_change_flags=0x0082fdc4) Line 1922 + 0x23 C emacs.exe!adjust_frame_glyphs_for_frame_redisplay(frame * f=0x0138e800) Line 2311 + 0x18 C emacs.exe!adjust_frame_glyphs(frame * f=0x0138e800) Line 2129 + 0x9 C emacs.exe!adjust_frame_glyphs_initially() Line 2115 + 0x9 C emacs.exe!init_display() Line 6483 C emacs.exe!main() Line 1573 C emacs.exe!mainCRTStartup() Line 259 + 0x12 C emacs.exe!_start() Line 131 C kernel32.dll!77e814c7() shlwapi.dll!70a71a29() And the local variables are: + w 0x0138e600 {size=0x20001048 vec_next=0x0138e800 {size=0x20000452 next=0x01378a80 {size=0x0000001e next=0x01375d00 {size=0x00000028 next=0x0138ea00 contents=0x01375d08 } contents=0x01378a88 } contents=0x0138e808 } frame=0x4138e800 ...} window * + matrix 0x015ca800 {pool=0x0137b990 {glyphs=0x0153d800 {charpos=0x00000000 object=0x00000000 pixel_width=0x0000 ...} nglyphs=0x00000064 nrows=0x0000000a ...} rows=0x015cf800 {glyphs=0x015cf800 used=0x015cf810 x=0x00000000 ...} rows_allocated=0x00000009 ...} glyph_matrix * x 0x00000000 int y 0x00000000 int + dim {width=0x0000000a height=0x00000009 } dim header_line_changed_p 0x00000000 int new_rows 0x00000009 int right 0x00000000 int marginal_areas_changed_p 0x00000000 int left 0x00000000 int window_height 0xcccccccc int window_width 0xffffffff int i 0x00000009 int header_line_p 0x00000000 int -- Dave Abrahams Boost Consulting www.boost-consulting.com