On MySQL 8.0.41, when the "defaultMode" is "js" in the shell options file (~/.mysqlsh/options.json) but the binary doesn't support JavaScript, it returns a Segmentation fault.
https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-configuring-options.html
