https://issues.dlang.org/show_bug.cgi?id=12130
--- Comment #6 from [email protected] --- Aha! The problem is caused by your PATH having a literal '~' character in it. This causes dmd to call getenv("PATH"), but it fails to check a NULL return value, so when HOME is unset, it calls strlen(NULL) which segfaults. --
