Bug 1092044 - Glib regression related to SIGCHLD warnings
Summary: Glib regression related to SIGCHLD warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: glib2
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Colin Walters
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 981580
Blocks: 1093123 1093125 1113520
TreeView+ depends on / blocked
 
Reported: 2014-04-28 15:13 UTC by Dalibor Pospíšil
Modified: 2015-03-05 13:42 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 981580
: 1093123 1093125 (view as bug list)
Environment:
Last Closed: 2015-03-05 13:42:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 698081 0 None None None Never
Red Hat Product Errata RHBA-2015:0302 0 normal SHIPPED_LIVE glib2 bug fix and enhancement update 2015-03-05 17:34:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.