Blender crashes when using the Denoise node. That's because the code assumes normal input would have 4-channels, while this may not be the case. To fix this, use the channels count from the result or the GPU texture directly.