Subject: bug#9723: 24.0.50; Emacs Clipboard crash

From: Eli Zaretskii <[email-masked]>
Date: Sun, 12 Feb 2012 18:40:16 +0200

> From: Joseph Jones <[email-masked]>
> CC: "[email-masked]" <[email-masked]>
> Date: Sat, 11 Feb 2012 17:50:41 -0800
> 
> *** Open Emacs in an NT cmd shell prompt. In Emacs, open up a cmd shell prompt. Start something that will cause a huge amount of text and scrolling. I run a build in the command prompt and then just wait for it to crash.

Any estimation of the length of output that is needed to have a crash?
Also, would just "type LARGE_SOME_FILE" do, for example?

> > #0  0x01259f9f in append_glyph (it=0x82ad3c) at term.c:1491
> 
> In this frame #0 of thread 1, what do the following commands produce?
> 
>   (gdb) print glyph
>   (gdb) print i
>   (gdb) print it->area
>   (gdb) print it->glyph_row->used[it->area]
> 
> ***
> (gdb) f 0
> #0  0x01259f9f in append_glyph (it=0x82acec) at term.c:1491
> 1491    in term.c
> (gdb) print glyph
> $1 = (struct glyph *) 0x0
> (gdb) print i
> $2 = 0
> (gdb) print it->area
> $3 = LEFT_MARGIN_AREA

This doesn't make any sense.  Maybe again some snafu with frame
dimensions?

Please type "source .gdbinit" (unless you started GDB from a directory
where that file lives), and then go to this frame:

  #4  0x012125ec in display_line (it=0x82c890) at xdisp.c:19369

and type these commands:

  (gdb) pit
  (gdb) print *it->w
  (gdb) pmtxrows it->w->current_matrix