From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17496 invoked by alias); 3 Dec 2011 20:53:43 -0000 Received: (qmail 17487 invoked by uid 22791); 3 Dec 2011 20:53:42 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GT,TW_TX X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Dec 2011 20:53:28 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RWwaM-00021J-J6 for cygwin-xfree@cygwin.com; Sat, 03 Dec 2011 21:53:26 +0100 Received: from 96.56.168.74 ([96.56.168.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Dec 2011 21:53:26 +0100 Received: from nyc4bos by 96.56.168.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Dec 2011 21:53:26 +0100 To: cygwin-xfree@cygwin.com From: nyc4bos@aol.com Subject: Re: Problems with emacs built against gtk3 Date: Mon, 05 Dec 2011 00:13:00 -0000 Message-ID: <83zkf94bt3.fsf@aol.com> References: <4ED03512.7080607@cornell.edu> <4ED0EC50.4090300@cornell.edu> <1322625099.6420.9.camel@YAAKOV04> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) 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-12/txt/msg00016.txt.bz2 Hi, "Yaakov (Cygwin/X)" writes: > 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. I turned on DBUS debugging and it appears to be communicating before Emacs is started. Once emacs-X11 starts, it soon crashes: [...] ======================================================================== GDBus-debug:Message: <<<< RECEIVED D-Bus message (72 bytes) Type: method-return Flags: no-reply-expected Version: 0 Serial: 3 Headers: reply-serial -> uint32 2 destination -> ':1.53' sender -> 'org.freedesktop.DBus' Body: () UNIX File Descriptors: (none) 0000: 6c 02 01 01 00 00 00 00 03 00 00 00 35 00 00 00 l...........5... 0010: 06 01 73 00 05 00 00 00 3a 31 2e 35 33 00 00 00 ..s.....:1.53... 0020: 05 01 75 00 02 00 00 00 07 01 73 00 14 00 00 00 ..u.......s..... 0030: 6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e org.freedesktop. 0040: 44 42 75 73 00 00 00 00 DBus.... ======================================================================== GDBus-debug:Call: <<<< ASYNC COMPLETE org.freedesktop.DBus.AddMatch() (serial 2) SUCCESS Fatal error (11)Segmentation fault > > 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/ -- 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/