all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Subject: [BUG] dispnew.c/adjustglyphmatrix
Date: Thu, 14 Aug 2003 14:21:05 -0400	[thread overview]
Message-ID: <uptj8p0by.fsf@boost-consulting.com> (raw)


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

                 reply	other threads:[~2003-08-14 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uptj8p0by.fsf@boost-consulting.com \
    --to=dave@boost-consulting.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.