The GApplication test case tried to fork() while using GMainLoop, causing problems. Avoid doing that by splitting the child process into a separate program and spawning it in the usual way. https://bugzilla.gnome.org/show_bug.cgi?id=658999