System Information
Windows 10 64 bit, GTX 980 Ti, rendering on i9-7900X
Blender Version
Broken:
2.75a c27589e
2.78c e92f235283
2.79b f4dc9f9d68b
2.79 5740505 (latest build)
2.79 60f4cb2 (latest build, win32)
2.80 cfa1700 (latest build)
Worked:
2.70 19e627c
Short description of error
A trivial OSL Script Node in Cycles where trace(a, b) and then getmessage("trace", hitdist", dist) is called and result is passed to mix node crashes Blender with EXCEPTION_ACCESS_VIOLATION on render. I experienced similar crashes even when trace/getmessage weren't being called, but this particular example was easiest to reproduce consistently.
Exact steps for others to reproduce the error
Open attached .blend file, switch to rendered viewport shading or hit render to instantly crash Blender.