// delay between killing of the crashed process and showing the message box to
// work around occasional X server lock-up. this can only be a bug in X11 since
// even faulty applications shouldn't be able to freeze the X server.
usleep(100000);
if(logfile)
{
std::stringmessage="OpenMW has encountered a fatal error.\nCrash log saved to '"+std::string(logfile)+"'.\n Please report this to https://bugs.openmw.org !";