Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 11:44:18 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        1126 <mailinglists@elfsechsundzwanzig.de>
Subject:   Re: emacs-devel glib-warning
Message-ID:  <201112221144.18966.jhb@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.1112221545560.1746@Lux.localdomain>
References:  <alpine.BSF.2.00.1112221545560.1746@Lux.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, December 22, 2011 10:02:09 am 1126 wrote:
> Hello!
> 
> I considered switching from emacs23 to emacs24 over the 
> christmas-holidays.. So I removed emacs23 and installed emacs-devel via 
> ports. Emacs runs fine, in terminal, but it crashes my whole X-system when 
> I try to start it as X-client... The error message tells me that there is 
> a glib-problem: "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."

That is just a bug in emacs (or some library emacs is using).  It happens even 
when emacs doesn't crash.  I suspect it is unrelated to the problem you are 
having with your X server and that the crash is caused by something else emacs 
is doing.  What do you mean in detail by "crashes my whole X-system".  Does X 
actually core dump?  Does X freeze or spin using 100% CPU?  Does your window 
manager crash, etc.?

One thing you can maybe try is building emacs without dbus or gconf and seeing 
if that works better.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112221144.18966.jhb>