https://issues.dlang.org/show_bug.cgi?id=6846
Vladimir Panteleev <thecybersha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |thecybersha...@gmail.com Resolution|--- |INVALID --- Comment #2 from Vladimir Panteleev <thecybersha...@gmail.com> --- You are mixing threads with forking. This is a bad idea in any language. What happens is that a thread from the main process forks, but it doesn't take along with it the other threads. One of those threads is running the GC, which holds a lock. As the GC thread is not duplicated during the fork, the lock will never be freed, thus the forked process will deadlock. --