From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26081 invoked by alias); 30 Nov 2011 03:52:03 -0000 Received: (qmail 26071 invoked by uid 22791); 30 Nov 2011 03:52:02 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GT,TW_TX X-Spam-Check-By: sourceware.org Received: from mail-vw0-f43.google.com (HELO mail-vw0-f43.google.com) (209.85.212.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Nov 2011 03:51:49 +0000 Received: by vbbfq11 with SMTP id fq11so46493vbb.2 for ; Tue, 29 Nov 2011 19:51:48 -0800 (PST) Received: by 10.52.240.230 with SMTP id wd6mr546796vdc.72.1322625108216; Tue, 29 Nov 2011 19:51:48 -0800 (PST) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id ey9sm728812vdc.19.2011.11.29.19.51.46 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 19:51:47 -0800 (PST) Message-ID: <1322625099.6420.9.camel@YAAKOV04> Subject: Re: Problems with emacs built against gtk3 From: "Yaakov (Cygwin/X)" To: cygwin-xfree@cygwin.com Date: Wed, 30 Nov 2011 03:52:00 -0000 In-Reply-To: <4ED0EC50.4090300@cornell.edu> References: <4ED03512.7080607@cornell.edu> <4ED0EC50.4090300@cornell.edu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-11/txt/msg00045.txt.bz2 On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: > On 11/25/2011 7:38 PM, Ken Brown wrote: > > When I build emacs against gtk3, it is unusable. Here are the symptoms > > when the resulting emacs is started in an xterm window: > > > > $ ./emacs -Q& > > [1] 3344 > > > > (emacs:3344): GLib-WARNING **: In call to g_spawn_sync(), exit status of > > a child process was requested but SIGCHLD action was set to SIG_IGN and > > ECHILD was received by waitpid(), so exit status can't be returned. This > > is a bug in the program calling g_spawn_sync(); either don't request the > > exit status, or don't set the SIGCHLD action. > > > > ** (emacs:3344): WARNING **: Abnormal program termination spawning > > command line `dbus-launch --autolaunch=0b8f184fe6d82872ee8db8724ecfdb90 > > --binary-syntax --close-stderr': > > > > I think the pango warning is Cygwin specific, but the rest of it might > > not be. Similar symptoms were reported on Fedora: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=654027 This appears to be the same bug. The solution is to launch a DBus session bus *before* starting emacs (or any other gtk3 programs for that matter), IOW: $ eval `dbus-launch --sh-syntax` $ emacs-X11 & The first command should be added to the beginning of your ~/.startxwinrc, if you're using startxwin (or its shortcut) to start the X server. BTW, please be sure to reinstall dconf-service, that's not the problem, and you're going to need it in the "new world order" of GNOME 3. > 2. The pango warning can already be observed with the current Cygwin > emacs after the recent update of the GNOME libraries. To reproduce, > install the emacs-X11 package and start emacs with the command `emacs &' > in an xterm window. I cannot reproduce this. Does installing font-cantarell-otf help? Perhaps another font? Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/