You are building the editor from scratch.
One of the benefits of doing this is that you can debug it.
Attach the debugger, and figure out why it’s crashing.
Perhaps using the bleeding-edge master code isn’t actually the best match for your particular goals?