From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Jones Newsgroups: gmane.emacs.bugs Subject: bug#9723: 24.0.50; Emacs Clipboard crash Date: Sun, 12 Feb 2012 12:04:33 -0800 Message-ID: <81B49A9E5708D84A96259A96D480EE4902E3C2C1C8@CHC-CCR01.SEA.CORP.EXPECN.COM> References: <83lis391w3.fsf@gnu.org> <83k448riyw.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902E2FD8BCA@CHC-CCR01.SEA.CORP.EXPECN.COM> <8362frrcmz.fsf@gnu.org> <4F2A6EB2.4090708@gmx.at> <83k445p3lg.fsf@gnu.org> <4F2AE27F.6030706@gmx.at> <83k445f0d4.fsf@gnu.org> <4F2C2622.3010807@gmx.at> <83liojenym.fsf@gnu.org> <4F2D390D.6000408@gmx.at> <834nv6el9o.fsf@gnu.org> <4F2D4815.9060600@gmx.at> <4F2D69B7.9050104@gmx.at> <4F2D7A6B.10808@gmx.at> <4F2E5D17.4010400@gmx.at> <4F2E8142.4010003@gmx.at> <4F2EC77C.9060009@gmx.at> <838vkhcf8v.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902E3C2C0F9@CHC-CCR01.SEA.CORP.EXPECN.COM> <83pqdlyy85.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902E3C2C14A@CHC-CCR01.SEA.CORP.EXPECN.COM> <8339agyphr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329077144 31047 80.91.229.3 (12 Feb 2012 20:05:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2012 20:05:44 +0000 (UTC) Cc: "9723@debbugs.gnu.org" <9723@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 12 21:05:43 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rwfg6-0005jp-Ne for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Feb 2012 21:05:43 +0100 Original-Received: from localhost ([::1]:37356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwfg5-000142-9M for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Feb 2012 15:05:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwfg2-00013x-0m for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2012 15:05:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rwffz-0007V8-IZ for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2012 15:05:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwffz-0007V4-H2 for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2012 15:05:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RwfhN-0007xR-LX for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2012 15:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Jones Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2012 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9723-submit@debbugs.gnu.org id=B9723.132907717030494 (code B ref 9723); Sun, 12 Feb 2012 20:07:01 +0000 Original-Received: (at 9723) by debbugs.gnu.org; 12 Feb 2012 20:06:10 +0000 Original-Received: from localhost ([127.0.0.1]:37792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwfgY-0007vm-8h for submit@debbugs.gnu.org; Sun, 12 Feb 2012 15:06:10 -0500 Original-Received: from mx1b.expedia.com ([216.251.112.223]:1273) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwfgV-0007vH-Gb for 9723@debbugs.gnu.org; Sun, 12 Feb 2012 15:06:08 -0500 X-SRBS: None X-HAT: Sender Group RELAYLIST, Policy $RELAYED applied. Original-Received: from unknown (HELO CHC-EXCHNA01.SEA.CORP.EXPECN.COM) ([10.184.69.25]) by mx1b.sea.corp.expecn.com with ESMTP; 12 Feb 2012 13:04:35 -0700 Original-Received: from CHC-CCR01.SEA.CORP.EXPECN.COM ([10.184.69.22]) by CHC-EXCHNA01.SEA.CORP.EXPECN.COM ([10.184.69.25]) with mapi; Sun, 12 Feb 2012 12:04:35 -0800 Thread-Topic: bug#9723: 24.0.50; Emacs Clipboard crash Thread-Index: AczppQJCXEjEbl+ERKy9ZEYVaoZlWQAHDRNQ In-Reply-To: <8339agyphr.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56842 Archived-At: I have something better for you now that I can repro this reliably. 1) Make sure you have a text file > 6500 (do 7000 just to be sure) lines wi= th lines > width of the display (i.e. would wrap normally) 2) Put ONLY this in your .emacs ;; linum (setq-default truncate-lines t) (require 'linum) (global-linum-mode 1) 3) Open up a cmd shell and run Emacs -nw 4) M-x shell 5) run "type (your file from 1)" Should crash around 6500 lines every time. Note this is on Win Server 2003 = sp2 64bit running in a 64bit command shell. -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org]=20 Sent: Sunday, February 12, 2012 8:40 AM To: Joseph Jones Cc: 9723@debbugs.gnu.org Subject: Re: bug#9723: 24.0.50; Emacs Clipboard crash > From: Joseph Jones > CC: "9723@debbugs.gnu.org" <9723@debbugs.gnu.org> > Date: Sat, 11 Feb 2012 17:50:41 -0800 >=20 > *** Open Emacs in an NT cmd shell prompt. In Emacs, open up a cmd shell p= rompt. 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=3D0x82ad3c) at term.c:1491 >=20 > In this frame #0 of thread 1, what do the following commands produce? >=20 > (gdb) print glyph > (gdb) print i > (gdb) print it->area > (gdb) print it->glyph_row->used[it->area] >=20 > *** > (gdb) f 0 > #0 0x01259f9f in append_glyph (it=3D0x82acec) at term.c:1491 > 1491 in term.c > (gdb) print glyph > $1 =3D (struct glyph *) 0x0 > (gdb) print i > $2 =3D 0 > (gdb) print it->area > $3 =3D 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 wher= e that file lives), and then go to this frame: #4 0x012125ec in display_line (it=3D0x82c890) at xdisp.c:19369 and type these commands: (gdb) pit (gdb) print *it->w (gdb) pmtxrows it->w->current_matrix