Bug 108371 - [WK2][UNIX] g_spawn_sync() generates warning in PluginProcessProxy::scanPlugin()
Summary: [WK2][UNIX] g_spawn_sync() generates warning in PluginProcessProxy::scanPlugin()
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Depends on: 108629
Blocks: 101446
  Show dependency treegraph
Reported: 2013-01-30 13:04 PST by Chris Dumez
Modified: 2013-02-01 06:14 PST (History)
7 users (show)

See Also:

Patch (3.60 KB, patch)
2013-01-30 13:16 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2013-01-30 13:04:57 PST
g_spawn_sync() sometimes generates the following warning in PluginProcessProxy::scanPlugin():
(process:27833): 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 attempted to fix it a while back in Bug 101446 but my fix was apparently incomplete.
Comment 1 Chris Dumez 2013-01-30 13:16:41 PST
Created attachment 185544 [details]
Comment 2 WebKit Review Bot 2013-01-30 14:46:24 PST
Comment on attachment 185544 [details]

Clearing flags on attachment: 185544

Committed r141319: <http://trac.webkit.org/changeset/141319>
Comment 3 WebKit Review Bot 2013-01-30 14:46:28 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Review Bot 2013-02-01 06:14:54 PST
Re-opened since this is blocked by bug 108629