From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: emacs --daemon and GDK default display Date: Mon, 23 Mar 2009 10:28:16 +0100 Message-ID: <18887.22064.669003.766051@a1i15.kph.uni-mainz.de> References: <18879.34340.349741.391197@a1ihome1.kph.uni-mainz.de> <49BF8DD5.2030502@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237800636 28719 80.91.229.12 (23 Mar 2009 09:30:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2009 09:30:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 23 10:31:54 2009 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 1LlgVU-0003Tl-Lt for ged-emacs-devel@m.gmane.org; Mon, 23 Mar 2009 10:31:44 +0100 Original-Received: from localhost ([127.0.0.1]:40100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlgU7-00063C-Qq for ged-emacs-devel@m.gmane.org; Mon, 23 Mar 2009 05:30:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlgSR-0005ZR-Ds for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:28:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlgSL-0005Xa-TU for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:28:33 -0400 Original-Received: from [199.232.76.173] (port=44558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlgSL-0005XU-G6 for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:28:29 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:54967) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LlgSI-0007aM-Is; Mon, 23 Mar 2009 05:28:26 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id n2N9SHp3005440; Mon, 23 Mar 2009 10:28:17 +0100 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.2/8.13.4) with ESMTP id n2N9SHpl032389; Mon, 23 Mar 2009 10:28:17 +0100 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.2/8.14.2/Submit) id n2N9SHQG032383; Mon, 23 Mar 2009 10:28:17 +0100 In-Reply-To: <49BF8DD5.2030502@gnu.org> X-Mailer: VM 8.0.9 under Emacs 22.3.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:109790 Archived-At: >>>>> On Tue, 17 Mar 2009, Jason Rumney wrote: >> 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? > Just a guess without looking at libcanberra, but could the bug be > that libcanberra remembers the default display created during the > first request and tries to reuse it after it is closed? It doesn't remember it. libcanberra just calls a GTK function, which in turn asks the GDK display manager for the default display. And that returns a valid display for the first request, but a null pointer for the second one. Ulrich