\documentclass{article}

\usepackage{glossaries-extra}
\newabbreviation{ekg}{EKG}{Elektrokardiogramm}

\begin{document}

Works: \gls{ekg}

Hangs with glossaries-extra: \glsdisp{ekg}{TEST}
\end{document}
