Created attachment 13650[details]
get-am fix for master.
OK, can you try this generic patch for smbd. It changes the behaviour for chdir+getwd()-fail to be return to previous directory, instead of panic.
This should simply prevent you from chdir()'ing into a directory for which you can't getwd().
Can you test this both with and without the shadow_copy2 module ? If we still crash with the shadow_copy2 module then we probably need both this and the previous patch.
Cheers,
Jeremy.