Very strange. Never seen anything like this. Could be an unfortunate hardware incompatibility issue, I guess.
One thing to try might be to disable the discrete GPU if you have one and see if that makes a difference. Or possibly trying a different screen or using different type of connection.
If you’re running Mojave, you could try to add Defold to the list under System Preferences > Security & Privacy > Accessibility.
Seems to solve some issues people are having with crashes. See here for more info.