From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Bug#446628: emacs: crashes after opening frame on a different display Date: Sat, 24 Nov 2007 17:05:01 -0500 Message-ID: References: <20071014140940.8267.15697.reportbug@mantis.cs.huji.ac.il> <871wagfraw.fsf@raven.defaultvalue.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195941950 29550 80.91.229.12 (24 Nov 2007 22:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 22:05:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 24 23:05:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iw37q-0004B3-Sm for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 23:05:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw37c-0007Vi-3H for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 17:05:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iw37Y-0007TU-Ij for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:05:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iw37W-0007PP-Iq for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:05:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw37W-0007PE-Cv for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:05:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iw37W-0000ag-4N for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:05:02 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Iw37V-00063b-QE; Sat, 24 Nov 2007 17:05:01 -0500 In-reply-to: <871wagfraw.fsf@raven.defaultvalue.org> (message from Rob Browning on Fri, 23 Nov 2007 15:57:59 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84076 Archived-At: Would someone please DTRT and ack? To: bug-gnu-emacs@gnu.org From: Rob Browning Date: Fri, 23 Nov 2007 15:57:59 -0800 In-Reply-To: <20071014140940.8267.15697.reportbug@mantis.cs.huji.ac.il> (Yair Yarom's message of "Sun\, 14 Oct 2007 16\:09\:40 +0200") Message-ID: <871wagfraw.fsf@raven.defaultvalue.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Yair Yarom , 446628@bugs.debian.org, 446628-forwarded@bugs.debian.org Subject: Re: Bug#446628: emacs: crashes after opening frame on a different display (If possible, please preserve the 446628-forwarded@bugs.debian.org address in any replies.) Yair Yarom writes: > After opening a frame on a different display: make-frame-on-display, > when the other display is shutdown (e.g. logout, or X crash), the > emacs crashes over xcb assertion: > > emacs: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed > > This happens even if the emacs window on the remote display was > closed before the logout. I can verify this with the current emacs22 (based on Emacs 22.1) package via Xnest. In order to reproduce: - Run "Xnest :2" or similar. - Launch emacs on the host. - Run make-frame-on-display and specify :2. - Within Xnest, issue a C-x 5 0. - Close Xnest. Here at least, Emacs will then crash with a segmentation fault. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4