Got stuck with a segfault on Ubuntu 20.04 running EmulatorX64 (./Host). This patch worked for me.