all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ASSERTION] w32term.c/w32_per_char_metric
@ 2003-08-14 18:27 David Abrahams
  0 siblings, 0 replies; only message in thread
From: David Abrahams @ 2003-08-14 18:27 UTC (permalink / raw)



The title function asserts in GLYPH_DEBUG mode.  At this point I am
stuck and need some help figuring out what's going wrong.

The assertion is:

  xassert (font_type != UNKNOWN_FONT);

The stack trace is:

 	ntdll.dll!77f75a58() 	
 	emacs.exe!w32_abort()  Line 14621 + 0x8	C
>	emacs.exe!w32_per_char_metric(W32FontStruct * font=0x018d3500, unsigned short * char2b=0x0082dc28, int font_type=0x00000000)  Line 898 + 0xb	C
 	emacs.exe!x_get_glyph_overhangs(glyph * glyph=0x01934014, frame * f=0x01629c00, int * left=0x0082dca4, int * right=0x0082dc98)  Line 16822 + 0x26	C
 	emacs.exe!w32_get_glyph_overhangs()  Line 1358 + 0x15	C
 	emacs.exe!update_text_area(window * w=0x01629a00, int vpos=0x00000005)  Line 4351 + 0x23	C
 	emacs.exe!update_window_line(window * w=0x01629a00, int vpos=0x00000005, int * mouse_face_overwritten_p=0x0082dd48)  Line 4490 + 0xd	C
 	emacs.exe!update_window(window * w=0x01629a00, int force_p=0x00000001)  Line 4147 + 0x11	C
 	emacs.exe!update_window_tree(window * w=0x01629a00, int force_p=0x00000000)  Line 3881 + 0xd	C
 	emacs.exe!update_frame(frame * f=0x01629c00, int force_p=0x00000000, int inhibit_hairy_id_p=0x00000000)  Line 3818 + 0xd	C
 	emacs.exe!redisplay_internal(int preserve_echo_area=0x00000001)  Line 10052 + 0x10	C
 	emacs.exe!redisplay_preserve_echo_area(int from_where=0x00000008)  Line 10249 + 0x7	C
 	emacs.exe!detect_input_pending_run_timers(int do_display=0x00000001)  Line 9913 + 0x7	C
 	emacs.exe!wait_reading_process_input(int time_limit=0x00000000, int microsecs=0x00000000, int read_kbd=0x0fffffff, int do_display=0x00000001)  Line 4116 + 0x9	C
 	emacs.exe!kbd_buffer_get_event()  Line 3847 + 0xf	C
 	emacs.exe!read_char(int commandflag=0x00000001, int nmaps=0x00000002, int * maps=0x0082e6c4, int prev_event=0x11377c04, int * used_mouse_menu=0x0082e884)  Line 2810 + 0x10	C
 	emacs.exe!read_key_sequence(int * keybuf=0x0082ea18, int bufsize=0x0000001e, int prompt=0x11377c04, int dont_downcase_last=0x00000000, int can_return_switch_frame=0x00000001, int fix_current_buffer=0x00000001)  Line 8827 + 0x2a	C
 	emacs.exe!command_loop_1()  Line 1505 + 0x1b	C
 	emacs.exe!internal_condition_case(int (void)* bfun=0x01017690, int handlers=0x1139ce44, int (void)* hfun=0x01017160)  Line 1333 + 0x5	C
 	emacs.exe!command_loop_2()  Line 1292 + 0x15	C
 	emacs.exe!internal_catch(int tag=0x113a4d6c, int (void)* func=0x010174e0, int arg=0x11377c04)  Line 1094 + 0x9	C
 	emacs.exe!command_loop()  Line 1263 + 0x17	C
 	emacs.exe!recursive_edit_1()  Line 987 + 0x5	C
 	emacs.exe!Frecursive_edit()  Line 1044	C
 	emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x0082ec7c)  Line 2721 + 0xe	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f6300, int vector=0x412f6360, int maxdepth=0x00000006)  Line 710 + 0x10	C
 	emacs.exe!Feval(int form=0x512f62f0)  Line 2085 + 0x22	C
 	emacs.exe!internal_catch(int tag=0x115d065c, int (void)* func=0x0114eaa0, int arg=0x512f62f0)  Line 1094 + 0x9	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f6174, int vector=0x412f61bc, int maxdepth=0x00000006)  Line 873 + 0x14	C
 	emacs.exe!funcall_lambda(int fun=0x412f6158, int nargs=0x00000000, int * arg_vector=0x0082f234)  Line 2913 + 0x2b	C
 	emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x0082f230)  Line 2772 + 0x14	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f7740, int vector=0x412f7764, int maxdepth=0x00000001)  Line 710 + 0x10	C
 	emacs.exe!funcall_lambda(int fun=0x412f7720, int nargs=0x00000000, int * arg_vector=0x0082f48c)  Line 2913 + 0x2b	C
 	emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x0082f488)  Line 2772 + 0x14	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f791c, int vector=0x412f7d58, int maxdepth=0x0000000c)  Line 710 + 0x10	C
 	emacs.exe!funcall_lambda(int fun=0x412f78fc, int nargs=0x00000001, int * arg_vector=0x0082f710)  Line 2913 + 0x2b	C
 	emacs.exe!Ffuncall(int nargs=0x00000002, int * args=0x0082f70c)  Line 2772 + 0x14	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f3f88, int vector=0x412f4430, int maxdepth=0x00000006)  Line 710 + 0x10	C
 	emacs.exe!funcall_lambda(int fun=0x412f3f70, int nargs=0x00000000, int * arg_vector=0x0082f97c)  Line 2913 + 0x2b	C
 	emacs.exe!Ffuncall(int nargs=0x00000001, int * args=0x0082f978)  Line 2772 + 0x14	C
 	emacs.exe!Fbyte_code(int bytestr=0x312f2c68, int vector=0x412f2d00, int maxdepth=0x00000006)  Line 710 + 0x10	C
 	emacs.exe!funcall_lambda(int fun=0x412f2c50, int nargs=0x00000000, int * arg_vector=0x0082fb8c)  Line 2913 + 0x2b	C
 	emacs.exe!apply_lambda(int fun=0x412f2c50, int args=0x11377c04, int eval_flag=0x00000001)  Line 2833 + 0x17	C
 	emacs.exe!Feval(int form=0x51542734)  Line 2120 + 0xf	C
 	emacs.exe!top_level_2()  Line 1301 + 0xb	C
 	emacs.exe!internal_condition_case(int (void)* bfun=0x01017530, int handlers=0x1139ce44, int (void)* hfun=0x01017160)  Line 1333 + 0x5	C
 	emacs.exe!top_level_1()  Line 1309 + 0x16	C
 	emacs.exe!internal_catch(int tag=0x11392404, int (void)* func=0x01017550, int arg=0x11377c04)  Line 1094 + 0x9	C
 	emacs.exe!command_loop()  Line 1270 + 0x18	C
 	emacs.exe!recursive_edit_1()  Line 987 + 0x5	C
 	emacs.exe!Frecursive_edit()  Line 1044	C
 	emacs.exe!main()  Line 1668	C
 	emacs.exe!mainCRTStartup()  Line 259 + 0x12	C
 	emacs.exe!_start()  Line 131	C
 	kernel32.dll!77e814c7() 	
 	shlwapi.dll!70a71a29() 	

and the locals are:

+	font	0x018d3500 {font_type=UNKNOWN_FONT tm={tmHeight=0x0000000f tmAscent=0x0000000c tmDescent=0x00000003 ...} hfont=0x0d0a0d76 {unused=??? } ...}	W32FontStruct *
+	char2b	0x0082dc28 "m????t???????e???T?????????C???T????????5"	unsigned short *
	font_type	0x00000000	int
	retval	0xcccccccc	int
+	pcm	0xcccccccc {rbearing=??? lbearing=??? width=??? ...}	_XCharStruct *

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-14 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14 18:27 [ASSERTION] w32term.c/w32_per_char_metric David Abrahams

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.