From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: 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: Fri, 19 Oct 2007 08:00:22 +0200 Message-ID: <471847F6.1000406@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192773658 739 80.91.229.12 (19 Oct 2007 06:00:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 06:00:58 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: emacs@cs.ng.ninio.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 08:00:58 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 1Iikuj-0003IM-PM for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 08:00:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iikub-0005e1-Sa for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 02:00:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IikuY-0005dk-FF for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:00:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IikuX-0005dY-G4 for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:00:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IikuX-0005dV-Au for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:00:41 -0400 Original-Received: from av11-1-sn2.hy.skanova.net ([81.228.8.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IikuT-000763-CW; Fri, 19 Oct 2007 02:00:37 -0400 Original-Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id 732A938653; Fri, 19 Oct 2007 08:00:24 +0200 (CEST) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id 5C43538650; Fri, 19 Oct 2007 08:00:24 +0200 (CEST) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 1409937E42; Fri, 19 Oct 2007 08:00:23 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:81195 Archived-At: Can you put a break at the assertion position and get a backtrace when the assertion is hit? Jan D. Richard Stallman skrev: > Would someone please fix this, then ack? > > To: bug-gnu-emacs@gnu.org > From: Matan Ninio > Date: Mon, 15 Oct 2007 09:10:05 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > 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) > > > 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 n> > > 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 >