With the latest runtime libraries on macOS 15.3.1 it seems to work, the crash cannot be reproduced anymore, using the same test code as about one year ago.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: