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." I have emacs-devel installed, and glib-2.28.8_2. I am runnig xmonad as WM, but it happened on awesome as well.. Does anyone know what I can do to get emacs to work as X-client? ;) Thanks in advance! Greetings from rainy Cologne, 1126
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
On 2011/12/22 at 23:02, 1126 <mailinglists@elfsechsundzwanzig.de> 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."I am currently using emacs-devel, however, I have been using glib-2.30.x from marcus's experimental ports for a while. It seems everything is ok. Either you can tweak some configure args availabe to emacs-devel, and see how it is going, or you might pull the glib-2.30.x port from Marcus's site and give it a try. Good luck!> > I have emacs-devel installed, and glib-2.28.8_2. > > I am runnig xmonad as WM, but it happened on awesome as well.. > > Does anyone know what I can do to get emacs to work as X-client? ;) > > Thanks in advance! > Greetings from rainy Cologne, > 1126 > > ................-- The inside contact that you have developed at great expense is the first person to be let go in any reorganization.