https://issues.dlang.org/show_bug.cgi?id=11594
--- Comment #3 from [email protected] --- Commit pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/a2ead6dd04efdfeb283b72daf167e85fe8db9c49 Fix issue 11594: Check if the monitor is null in _d_monitorenter In case of ``` synchronized (null) { // ... } ``` runtime will try to access __monitor field on a null, without checking if it's a null and it will segfault, leaving programmer clueless. https://issues.dlang.org/show_bug.cgi?id=11594 --
