I also got a segfault on upgrading to emacs 28.1. I fixed it by installing the emacs-el package -- which is recommended, but I default install all packages without recommends. Apparently this has something to do with native compilation, which requires the el source files:
https://github.com/kelleyk/ppa-emacs/issues/23 emacs-el should be changed from recommended to a hard dependency.