Conditional jump on uninitialised value in spawn-singlethread
==6793== 3 errors in context 1 of 1:
==6793== Conditional jump or move depends on uninitialised value(s)
==6793== at 0x491AFA1: _g_spawn_invalid_source_fd (gspawn-private.h:129)
==6793== by 0x491DD79: fork_exec (gspawn.c:2503)
==6793== by 0x491BB2D: g_spawn_async_with_pipes_and_fds (gspawn.c:898)
==6793== by 0x403085: test_spawn_async_with_invalid_fds (spawn-singlethread.c:334)
==6793== by 0x48E80D5: test_case_run (gtestutils.c:2934)
==6793== by 0x48E84DF: g_test_run_suite_internal (gtestutils.c:3024)
==6793== by 0x48E8647: g_test_run_suite_internal (gtestutils.c:3043)
==6793== by 0x48E88BD: g_test_run_suite (gtestutils.c:3123)
==6793== by 0x48E6F17: g_test_run (gtestutils.c:2235)
==6793== by 0x403F8D: main (spawn-singlethread.c:613)
==6793== Uninitialised value was created by a stack allocation
==6793== at 0x402FD9: test_spawn_async_with_invalid_fds (spawn-singlethread.c:323)
Full log: testlog-valgrind.txt