Racket crashes with "invalid memory reference"

LiberalArtist
FWIW, on Bookworm I get Racket by:

sudo apt install guix
guix pull
guix install racket

Thank you and also Matthew for your help (which helped, at least mostly). As I never used guix I needed some time to "get it", but now I feel relatively comfortable using it. But using racket I run into some inconveniences and problems.

Is there a simple way to migrate the packages in ~/.local/share/racket/8.9 to ~/.local/share/racket/8.9-guix?

One problem I encounter and cannot resolve myself happens when I try to install a package (with raco or drracket): connecting to the package server I get a certificate verify error:

Resolving "expect" via https://download.racket-lang.org/releases/8.9/catalog/
ssl-connect: connect failed (error:0A000086:SSL routines::certificate verify failed)

Do you have an idea how to resolve this issue?