all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: emacs-devel@gnu.org
Subject: emacs --daemon and GDK default display
Date: Tue, 17 Mar 2009 12:14:44 +0100	[thread overview]
Message-ID: <18879.34340.349741.391197@a1ihome1.kph.uni-mainz.de> (raw)

Hi, at Gentoo we've got a report on a segmentation fault with 23.0.91:
<http://bugs.gentoo.org/259891>

   1. install libcanberra and emacs (--with-x-toolkit=gtk)
   2. run "emacs -Q --daemon"
   3. under GNOME, run "emacsclient -c" (exit with C-x 5 0)
   4. run "emacsclient -c" again, and emacs will segfault

It happens because there is no GDK default display when the display
for the second client frame is opened (xg_display_open), and
libcanberra fails to check for that case.

While I think that the blame is with libcanberra, I'm confused about
the fact that the segfault only happens during the second request from
a client. Does it mean that there is a GDK default display at the time
of the first request, but not for the second one? Why?

Could somebody shed some light on the issue?

Ulrich




             reply	other threads:[~2009-03-17 11:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 11:14 Ulrich Mueller [this message]
2009-03-17 11:47 ` emacs --daemon and GDK default display Jason Rumney
2009-03-23  9:28   ` Ulrich Mueller
2009-03-23 17:09     ` Jan Djärv
2009-03-23 21:33       ` Ulrich Mueller
2009-03-25 19:21         ` Jan Djärv
2009-03-28 15:49           ` Jan Djärv
2009-03-28 18:09             ` Ulrich Mueller
2009-03-24  1:11       ` Austin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18879.34340.349741.391197@a1ihome1.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.