From: David Abrahams <dave@boost-consulting.com>
Subject: [ASSERTION] w32term.c/w32_per_char_metric
Date: Thu, 14 Aug 2003 14:27:06 -0400 [thread overview]
Message-ID: <uk79gp01x.fsf@boost-consulting.com> (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
reply other threads:[~2003-08-14 18:27 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=uk79gp01x.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.