I experienced a wedge (not to be confused with a wedgie), rather than a crash, in 987 when doing that this week, but was unable to reproduce it to file a bug report. The Pens dialog (and AC) both locked up with 'not responding' (XP Pro) and had to be forcefully closed.
Karl
One of the forum moderators
AC 27 USA and earlier • macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB