The problem arises because glib's memory allocation using g_slice isn't fork-safe, leading to hangs when forking processes with multiple threads. The workaround involves setting `G_SLICE=always-malloc` to avoid using glib's slice allocator, which resolves the issue. **runtime**