How to reproduce:
> Open two images, select them and activate the "Rigid Registration View"
> Hit the 'Register' button ( this takes the default settings from the advanced view )
On windows, there is an immediate crash. On linux64, the 'Attempt for recursive lock' exception from ImageAccessor is shown in a dialog. So it is an issue with usage of CastToItk and similar functions.