Problems with emacs built against gtk3

Ken Brown kbrown@cornell.edu
Sat Nov 26 13:40:00 GMT 2011


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/



More information about the Cygwin-xfree mailing list