The issue is that the conversion to quaternions seems to need normalized matrices and even then is not always safe. It's simplest to use the existing `*_safe` method here for now. Related to reports #129445 and #129485. Related to PR #131296. Pull Request: https://projects.blender.org/blender/blender/pulls/131297