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: Tue, 24 Jan 2012 09:12:53 -0800 Message-ID: <81B49A9E5708D84A96259A96D480EE4902D82DA798@CHC-CCR01.SEA.CORP.EXPECN.COM> References: <83lis391w3.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D815F95A@CHC-CCR01.SEA.CORP.EXPECN.COM> <83wr8l2y6r.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D815FA2B@CHC-CCR01.SEA.CORP.EXPECN.COM> <83mx9h2em4.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D81606FB@CHC-CCR01.SEA.CORP.EXPECN.COM> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327425237 15708 80.91.229.12 (24 Jan 2012 17:13:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 17:13:57 +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 Tue Jan 24 18:13:52 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpjwN-0003EA-Vg for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2012 18:13:52 +0100 Original-Received: from localhost ([::1]:57483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpjwN-0005CO-5K for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2012 12:13:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpjwJ-0005CG-BG for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 12:13:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpjwD-0000M0-J4 for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 12:13:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpjwD-0000La-G0 for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 12:13:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RpjwY-0005Ql-3k for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 12:14:02 -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: Tue, 24 Jan 2012 17:14:02 +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.132742520620823 (code B ref 9723); Tue, 24 Jan 2012 17:14:02 +0000 Original-Received: (at 9723) by debbugs.gnu.org; 24 Jan 2012 17:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:42039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rpjvx-0005Pn-Qy for submit@debbugs.gnu.org; Tue, 24 Jan 2012 12:13:26 -0500 Original-Received: from mx1a.expedia.com ([216.251.112.221]:44747) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rpjvu-0005PY-W4 for 9723@debbugs.gnu.org; Tue, 24 Jan 2012 12:13:24 -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 mx1a.sea.corp.expecn.com with ESMTP; 24 Jan 2012 10:12:56 -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; Tue, 24 Jan 2012 09:12:55 -0800 Thread-Topic: bug#9723: 24.0.50; Emacs Clipboard crash Thread-Index: AczaWUvtknHEwaBQQvWCVpS3kYRxLwAYd+4Q In-Reply-To: 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:55954 Archived-At: Disconnected =3D=3D Remote Desktop session. I was connected from home and t= hen when I came in to the office and connected locally it was crashed. Sorry, I don't have it in crashed state. I do have it running in the debugg= er so if it happens again I can grab more info. I am constantly connecting = remotely from home so if that is the issue hopefully it will crash again. As for reproducibility, this is the first time I've seen this. I have yet t= o crash it again like this. -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org]=20 Sent: Monday, January 23, 2012 9:31 PM 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: Mon, 23 Jan 2012 18:23:10 -0800 >=20 > OK, it crashed for me again using the latest version from the link below. This is not the same crash as what you had when this bug was opened. It's something entirely different. It is clearly related to the display en= gine, see below. > This time I wasn't doing anything other than running a compile. I was dis= connected from the machine and when I connected remotely this is what I fou= nd. Sorry, I don't understand: what does it mean "disconnected from the machine= "? Are you running Emacs through a remote desktop of some kind (mstsc.exe = or some such)? If so, this definitely warrants a separate bug report. In = any case, please describe in more detail what happened around the crash. > Program received signal SIGTRAP, Trace/breakpoint trap. > [Switching to Thread 10208.0x2420] > 0x7d61002e in strchr () from C:\WINDOWS\system32\ntdll.dll > (gdb) bt > #0 0x7d61002e in strchr () from C:\WINDOWS\system32\ntdll.dll > #1 0x0114f10a in w32_abort () at w32fns.c:7210 > #2 0x010ea4c8 in adjust_glyph_matrix (w=3D0x3903a00, matrix=3D0x38ed500,= =20 > x=3D0, y=3D0, dim=3D...) at dispnew.c:493 This is an assertion violation here: left =3D margin_glyphs_to_reserve (w, dim.width, w->left_margin_cols)= ; right =3D margin_glyphs_to_reserve (w, dim.width, w->right_margin_col= s); xassert (left >=3D 0 && right >=3D 0); I hope you still have this crash in the debugger; if so, please tell what a= re the values of `left' and `right' (in thread #1 and in frame #2). It's likely that display dimensions cannot be figured out for a disconnecte= d remote session. This is what this crash is about. Can you reproduce this problem at will, by deliberately disconnecting and t= hen reconnecting?