Archive Subtree from the Mac editor crashes the app (stack overflow) in a file with #+STARTUP: overview, for any heading.
OrgEditor.update loads the new text before setting the mapped folds. Replacing the storage moves the caret to the new end; when that falls inside a stale fold range, selectionChanged() jumps to the fold's old end, which is clamped back to the same offset, and recurses.
Fixed in 7e166e6 (!371).