Bug#585505: seahorse-agent relies on default SIGCHLD handlers, but does not set them.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 11 05:42:10 UTC 2010


Package: seahorse
Version: 2.30.1-2
Severity: normal

If you exec seahorse-agent from another process which has decided to
ignore the SIGCHLD signal, glib produces the following warning to
stderr:

(seahorse-agent:2171): 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.

Presumably this means that seahorse-agent requires the default SIGCHLD
handler, but does not explicitly ask the system for it.

Early in its execution, seahorse-agent should detect if the action for
SIGCHLD is currently set to SIG_IGN, and reset it to SIG_DFL in that
case.

        --dkg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash






More information about the pkg-gnome-maintainers mailing list