For reasons that are beyond me, the following MWE

\documentclass{scrreprt}
\usepackage{classicthesis-ldpkg}
\usepackage{bm}
\usepackage{amsmath}

\begin{document}

\section{The values of $\beta$ for which $\omega_i \mid \bm{\omega} \mid^{-\beta}$ is defined at the origin}

\end{document}


fails to compile with the following error:

! TeX capacity exceeded, sorry [input stack size=5000].