Hello,
I have just tested this on BigSur R23 and S24 with both Legacy and Physical materials, and in a simple scene, this does not crash for me.
Would it be possible to share the scene with us, as well as (as Tom mentioned) further information and bugreports?
Thanks,
Jan