Bug 708012

Summary: GLib-WARNING when starting emacs
Product: [Fedora] Fedora Reporter: Tom Horsley <horsley1953>
Component: emacsAssignee: Karel Klíč <kklic>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: goeran, jonathan.underwood, kkbbf81jd6, kklic, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-24 16:50:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Horsley 2011-05-26 14:43:58 UTC
Description of problem:

If I start emacs from a terminal where I can see stderr, this message
shows up:

(emacs:2178): 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.

It doesn't appear to actually hurt anything, since as near as I can tell emacs is working normally anyway, but I thought I'd report it in case it is something important.

Version-Release number of selected component (if applicable):
emacs-23.2-17.fc15.x86_64

How reproducible:
every time

Steps to Reproduce:
1.start emacs from terminal
2.see message
3.
  
Actual results:
error

Expected results:
no error

Additional info:

Comment 1 Tom Horsley 2011-05-29 01:10:02 UTC
The recent update to emacs-23.2-19.fc15.x86_64 seems to have fixed this. No more funny stderr messages at startup.

Comment 2 Tom Horsley 2011-05-29 01:16:37 UTC
Actually, I may have spoken too soon. I don't get the message when I start emacs from a native gnome-terminal running on the primary X desktop, but if I ssh into the system from a remote location with X forwarding turned on, then start emacs, I do get the error.

Comment 3 Steve 2011-07-02 06:54:51 UTC
I can confirm the problem still exists - I see the same GLib-WARNING error message (using gnome-terminal, not ssh).
I am running Fedora 15 with all updates (as of today) installed.

This bug is similar
https://bugzilla.redhat.com/show_bug.cgi?id=654027
although it is filed against the glib2 (not emacs) component.

Comment 4 Karel Klíč 2011-11-24 16:50:28 UTC

*** This bug has been marked as a duplicate of bug 654027 ***