blob: 7e8d6bd7c1e84b59f0ffd92b12db0e2be57ef5c7 (
plain) (
blame)
1
2
3
|
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**
|