(In reply to comment #18)
> I can confirm the errors seen here, since I upgraded glib to 2.36.1. I've
> never encountered those problems with 2.34.x or earlier versions.
...
> ---
> 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.
I have a feeling that whatever causes this warning causes a memory corruption or a double free. I could not find any reason to *why* this warning shows up so I think something fishy here is going on.
I have the following suggestions to move forward on this:
1) fix the above ECHILD warning and see if problem still happens.
2) git bisect glib and find the exact glib commit that introduces this error.
(In reply to comment #18)
> I can confirm the errors seen here, since I upgraded glib to 2.36.1. I've
> never encountered those problems with 2.34.x or earlier versions.
...
> --- watch_add( )/g_spawn_ sync() either directly or indirectly.
> 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_
I have a feeling that whatever causes this warning causes a memory corruption or a double free. I could not find any reason to *why* this warning shows up so I think something fishy here is going on.
I have the following suggestions to move forward on this:
1) fix the above ECHILD warning and see if problem still happens.
2) git bisect glib and find the exact glib commit that introduces this error.
A wild guess would be: /git.gnome. org/browse/ glib/commit/ glib/?id= ce0022933c25531 3e010b27f977f4a e02aad1e7e
https:/
(which seems to be partially reverted recently)