Inkscape crashes when using pdflatex

For more reproducible results I would recommend to use deb-based Inkscape. You need to install the following packages:

sudo apt-get install texlive pstoedit inkscape

Then use its preinstalled LaTeX extension (Inkscape, ExtensionsRenderLaTeX).

Note: if you want to get latest version of Inkscape 1.1 - then install packages from official PPA as follows

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt-get install inkscape

and use its built-in functionality via ExtensionsRenderMathematicsLaTeX (pdflatex).