From: "Jan Djärv" <jan.h.d@swipnet.se>
To: emacs@cs.ng.ninio.org
Cc: rms@gnu.org, emacs-devel@gnu.org
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 [thread overview]
Message-ID: <471847F6.1000406@swipnet.se> (raw)
In-Reply-To: <E1IibfO-0004Ba-QX@fencepost.gnu.org>
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 <emacs@cs.ng.ninio.org>
> 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 <backspace> e m <tab> <retur
> 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
>
next prev parent reply other threads:[~2007-10-19 6:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 20:08 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) Richard Stallman
2007-10-19 6:00 ` Jan Djärv [this message]
2007-12-24 13:02 ` Matan Ninio
2008-01-04 8:14 ` Jan Djärv
2008-01-05 2:27 ` Mike Mattie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=471847F6.1000406@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=emacs@cs.ng.ninio.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).