The crash was due to a null pointer thta can happens in Footprint chooser, frame, when hit the space bar if the canvas showing the Fp has the focus. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20780 (cherry picked from commit 34e49758d0)
34e49758d0