**System Information**
CentOS, Nvidia GTX Titan
**Blender Version**
Broken: 2.79RC2
**Short description of error**
Opening a file via open_mainfile in a thread leads to crash.
**Exact steps for others to reproduce the error**
Open attached file, replace the path to an actual blend file, run the script. Crash.
The code:
```
from threading import Thread
import bpy
def openFile():
bpy.ops.wm.open_mainfile(filepath = 'path_to_blend_file')
t=Thread(target=openFile)
t.start()
}
```
Do you know a workaround for this and can you fix it?