Subject: Re: bug#13062: 24.3.50; emacs_backtrace.txt

From: Eli Zaretskii <[email-masked]>
Date: Sun, 02 Dec 2012 22:33:05 +0200

> From: "Drew Adams" <[email-masked]>
> Date: Sun, 2 Dec 2012 11:49:52 -0800
> 
> 
> Backtrace:
> 0x0115459C
> 0x0115460E
> 0x01001459
> 0x01021B9F
> 0x012065C7
> 0x012030A6
> 0x0103B7F6
> 0x0104F409
> 0x01038B18
> 0x01010F1D
> 0x010382AB
> 0x0101097A
> 0x01038265
> 0x0103781F
> 0x01037B4C
> 0x010029AB
> 0x010010F9
> 0x7C817073

Translation:

  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
  redisplay_internal at C:\emacs\trunk\src/xdisp.c:13529
  redisplay at C:\emacs\trunk\src/xdisp.c:12683
  read_char at C:\emacs\trunk\src/keyboard.c:2428
  read_key_sequence at C:\emacs\trunk\src/keyboard.c:9230
  command_loop_1 at C:\emacs\trunk\src/keyboard.c:1458
  internal_condition_case at C:\emacs\trunk\src/eval.c:1288
  command_loop_2 at C:\emacs\trunk\src/keyboard.c:1167
  internal_catch at C:\emacs\trunk\src/eval.c:1059
  command_loop at C:\emacs\trunk\src/keyboard.c:1146
  recursive_edit_1 at C:\emacs\trunk\src/keyboard.c:778
  Frecursive_edit at C:\emacs\trunk\src/keyboard.c:842
  main at C:\emacs\trunk\src/emacs.c:1560
  ?? at crt1.c:0

It's an assertion violation here:

      if (!EQ (old_frame, selected_frame)
	  && FRAME_LIVE_P (XFRAME (old_frame)))
	/* We played a bit fast-and-loose above and allowed selected_frame
	   and selected_window to be temporarily out-of-sync but let's make
	   sure this stays contained.  */
	select_frame_for_redisplay (old_frame);
      eassert (EQ (XFRAME (selected_frame)->selected_window,  <<<<<<<<<<<
		   selected_window));