Subject: bug#13063: 24.3.50; emacs_backtrace.txt

From: Eli Zaretskii <[email-masked]>
Date: Sun, 02 Dec 2012 23:27:44 +0200

> From: "Drew Adams" <[email-masked]>
> Date: Sun, 2 Dec 2012 13:06:34 -0800
> 
> 
> Backtrace:
> 0x0115459C
> 0x0115460E
> 0x01001459
> 0x01021B9F
> 0x0114A15C
> 0x7E418730
> 0x7E418812
> 0x7E4189C9
> 0x7E418A0C
> 0x01148784
> 0x01148A23
> 0x7C80B725

Doesn't make any sense:

  w32_backtrace at C:\emacs\trunk\src/w32fns.c:7735
  emacs_abort at C:\emacs\trunk\src/w32fns.c:7767
  terminate_due_to_signal at C:\emacs\trunk\src/emacs.c:341
  die at C:\emacs\trunk\src/alloc.c:6491
  w32_wnd_proc at C:\emacs\trunk\src/w32fns.c:3165

    case WM_IME_STARTCOMPOSITION:
      if (!set_ime_composition_window_fn)
        goto dflt;
      else
        {
          COMPOSITIONFORM form;
          HIMC context;
          struct window *w;

          f = x_window_to_frame (dpyinfo, hwnd);
          w = XWINDOW (FRAME_SELECTED_WINDOW (f));

          form.dwStyle = CFS_RECT;
          form.ptCurrentPos.x = w32_system_caret_x;
          form.ptCurrentPos.y = w32_system_caret_y;

          form.rcArea.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, 0);
          form.rcArea.top = (WINDOW_TOP_EDGE_Y (w)
                             + WINDOW_HEADER_LINE_HEIGHT (w)); <<<<<<<<<<<
          form.rcArea.right = (WINDOW_BOX_RIGHT_EDGE_X (w)
                               - WINDOW_RIGHT_MARGIN_WIDTH (w)
                               - WINDOW_RIGHT_FRINGE_WIDTH (w));
          form.rcArea.bottom = (WINDOW_BOTTOM_EDGE_Y (w)
                                - WINDOW_MODE_LINE_HEIGHT (w));

Did you invoke some Windows input method, by any chance?