Jarno, just from looking at it, I think your patch is wrong.
You passed an uninitialized pointer to g_spawn_command_line_sync().
This function will write to whatever address was passed. That's a memory corruption and probably the source of the error message in comment #47.
Jarno, just from looking at it, I think your patch is wrong. command_ line_sync( ).
You passed an uninitialized pointer to g_spawn_
This function will write to whatever address was passed. That's a memory corruption and probably the source of the error message in comment #47.
Please try the attached patch.