https://issues.dlang.org/show_bug.cgi?id=14896 --- Comment #6 from ponce <aliloko at gmail.com> --- Removing the synchronized(this) in font.d:L118 removes the bug. It doesn't seem related to codegen afterall. --