Bug 1092044

Summary: Glib regression related to SIGCHLD warnings
Product: Red Hat Enterprise Linux 7 Reporter: Dalibor Pospíšil <dapospis>
Component: glib2Assignee: Colin Walters <walters>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: ebenes, ksrot, mcatanzaro+wrong-account-do-not-cc, mclasen, msimon, rmatos, stefw, tpelka, vbenes, walters
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 981580
: 1093123 1093125 (view as bug list) Environment:
Last Closed: 2015-03-05 13:42:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 981580    
Bug Blocks: 1093123, 1093125, 1113520    

Description Dalibor Pospíšil 2014-04-28 15:13:28 UTC
+++ This bug was initially created as a clone of Bug #981580 +++

Description of problem:
seahorse-tool is not working.

Version-Release number of selected component (if applicable):
glib2-2.36.3-5.el7.x86_64
seahorse-nautilus-3.8.0-4.el7.x86_64

How reproducible:
Just try installing it and encrypting some text file.

Actual results:
seahorse-tool -e test.txt 

** (seahorse-tool:19339): WARNING **: couldn't load all the keys (1/2) from GPGME

(seahorse-tool:19339): GLib-WARNING **: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_child_watch_add()/g_spawn_sync() either directly or indirectly.


Expected results:
it should just work

Additional info:

Comment 3 Karel Srot 2014-04-30 10:28:20 UTC
I am wondering whether this problem also impacts other components beside seahorse-nautilus.

Comment 4 Michael Catanzaro 2014-04-30 14:32:11 UTC
(In reply to Karel Srot from comment #3)
> I am wondering whether this problem also impacts other components beside
> seahorse-nautilus.

It also broke Pidgen -- see the GNOME bug under External Trackers.

Comment 5 Colin Walters 2014-04-30 14:46:53 UTC
I do plan to rebase glib2 for 7.1.

Comment 6 Karel Srot 2014-04-30 15:40:55 UTC
(In reply to Michael Catanzaro from comment #4)
> (In reply to Karel Srot from comment #3)
> > I am wondering whether this problem also impacts other components beside
> > seahorse-nautilus.
> 
> It also broke Pidgen -- see the GNOME bug under External Trackers.

I know it is mentioned in the upstream bug but I didn't find such a bug reported against RHEL-7.

Comment 8 Colin Walters 2014-04-30 16:20:53 UTC
This commit should be backported to seahorse-nautilus first:
https://git.gnome.org/browse/seahorse-nautilus/commit/?id=c41f07cf5785b2d755b85f20bf0546c6ce2ebb02

Comment 9 Colin Walters 2014-04-30 16:22:15 UTC
For pidgin, the should not both have their own SIGCHLD handler *and* use GLib's g_spawn().  They're mutually exclusive.

I'd suggest Pidign should drop their SIGCHLD handler and just use g_child_watch_add().

Comment 10 Stef Walter 2014-05-01 19:47:14 UTC
There's a work around patch for seahorse-nautilus here, which could be shipped in my opinion:

https://bugzilla.gnome.org/show_bug.cgi?id=697895
https://bug697895.bugzilla-attachments.gnome.org/attachment.cgi?id=251918

Rui is the RHEL/Fedora maintainer of seahorse-nautilus.

Comment 12 Colin Walters 2014-12-16 14:03:23 UTC
This should be fixed by the rebase in bug 1104372 .

Comment 21 errata-xmlrpc 2015-03-05 13:42:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0302.html