From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25283 invoked by alias); 26 Nov 2011 13:40:57 -0000 Received: (qmail 25275 invoked by uid 22791); 26 Nov 2011 13:40:56 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_BG,TW_GT,TW_YG X-Spam-Check-By: sourceware.org Received: from granite1.mail.cornell.edu (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Nov 2011 13:40:40 +0000 Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id pAQDec0I002094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 26 Nov 2011 08:40:39 -0500 (EST) Message-ID: <4ED0EC50.4090300@cornell.edu> Date: Sat, 26 Nov 2011 13:40:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Problems with emacs built against gtk3 References: <4ED03512.7080607@cornell.edu> In-Reply-To: <4ED03512.7080607@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00041.txt.bz2 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': > > (emacs:3344): Pango-WARNING **: No such file or directory > > A few seconds later, emacs dies (the window disappears and the process > is gone, with no error messages), and two dbus processes remain: > > $ ps | grep dbus > 5188 1 3344 5188 7 1002 19:07:31 /usr/bin/dbus-launch > 6452 1 6452 6452 ? 1002 19:07:31 /usr/bin/dbus-daemon > > If I start emacs again without killing the dbus processes, I don't get > the first two warnings but I still get the third. Again, emacs dies > after a few seconds. > > 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 > > But there are some differences, so I thought I should report it here > just in case part of the problem is Cygwin specific. My cygcheck output > is attached but probably not relevant. Further info: 1. I don't think gtk3 is the culprit here after all. I uninstalled libgtk3_0 and libgtk3-devel and rebuilt emacs, but the problem persisted. It was only after uninstalling dconf-service (a dependency of libgtk3_0) that things went back to normal [except for the pango warning]. 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. Ken -- 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/