Racket v9.3 reports "invalid memory reference" on Linux Mint 22.1

Racket 9.3 seems to run correctly but it first gives a scary error which the developers / packagers might want to know about:

$ racket
Welcome to Racket v9.3 [cs].
invalid memory reference. Some debugging context lost [,bt for context]

,bt
invalid memory reference. Some debugging context lost
context...:
body of "/usr/local/SW/racket/share/pkgs/readline-lib/readline/pread.rkt"
body of "/usr/local/SW/racket/share/pkgs/readline-lib/readline/rep.rkt"
body of top-level
/usr/local/SW/racket/share/pkgs/xrepl-lib/xrepl/xrepl.rkt:1573:0
body of "/usr/local/SW/racket/collects/racket/interactive.rkt"

This was a fresh install on my Linux Mint system:

$ arch
x86_64
$ cat /etc/os-release
NAME="Linux Mint"
VERSION="22.1 (Xia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22.1"
VERSION_ID="22.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="Linux Mint Troubleshooting Guide — Linux Mint Troubleshooting Guide documentation"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=xia
UBUNTU_CODENAME=noble
system.