osl crash... sometimes??

i’m attempting to use the amazing dirt/bevel osl shader that has been posted around here. on individual models, it works great, but when i place those models into a larger scene, for some reason blender crashes. both f12 and viewport render.

my guess is there is some other type of material, render feature active in the scene that conflicts with osl (i can stop the crash by solo-ing the osl shaded object), so my question is if there are any such known compatibility issues that i should avoid?

luckily, if it comes down to it, i can use osl to create the dirt mask for the object on their own and bake that out to a standard texture, but i’d love to be able to keep it interactive if possible!

thanks