From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matan Ninio Newsgroups: gmane.emacs.bugs Subject: emacs crashs when remote x-windows closes after make-frame-on-display even when other frame was closed due to assertion in xcd_xlib.c (!c->xlib.lock) Date: Mon, 15 Oct 2007 09:10:05 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192456389 13657 80.91.229.12 (15 Oct 2007 13:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 13:53:09 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 15:53:00 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhQIg-0003Vp-T0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 15:48:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhQIa-0004Pv-0v for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 09:48:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhKF3-0006L6-81 for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:19:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhKF2-0006KN-CP for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:19:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhKF2-0006KE-6G for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:19:56 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhKF1-0005F8-VC for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:19:56 -0400 Original-Received: from cs1.cs.huji.ac.il ([132.65.16.10]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhK5k-0003GG-25 for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:10:26 -0400 Original-Received: from learn-08.cs.huji.ac.il ([132.65.38.210]) by cs1.cs.huji.ac.il with esmtp id 1IhK5V-000B5O-PE for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 09:10:05 +0200 Original-Received: from ninio by learn-08.cs.huji.ac.il with local (Exim 4.67) (envelope-from ) id 1IhK5V-0000iE-Nz for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2007 09:10:05 +0200 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-kernel: by mx20.gnu.org: FreeBSD 6.x (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 15 Oct 2007 09:47:55 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16753 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: open emacs in X, make frame on display to some other display (either directly or via ssh -X -Y) with "make-frame-on-display". Close the other frame. all still OK. close the other display (logout, kill X or kill ssh link), and emacs will crash with: emacs: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed. Similar problems happened with other applications when the system moved from xlib to xcb-xlib. This is probably due to strict checking of actions that had been left unchecked in past versions of the library, and therefor should be considered an Emacs bug rather then a library bug. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/22.1/etc/DEBUG for instructions. In GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.10.13) of 2007-08-22 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t display-time-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: M-x r e p o r t SPC b e m Recent messages: Loading monk-fn-handler...done Loading desktop...done Loading edmacro...done `pmwiki-multi-source': mmm-mode is not installed Loading semantic-el...done Customized for CSE-HUJI Loading shell...done Customized for CSE-HUJI Loading ansi-color...done Loading emacsbug...done -- Matan Ninio ----------------------------------------- VI VI VI - The Roman Number of The Beast