I noticed a very strange freezing bug, while trying to convert some complicated headings to pdf-compatible format with \texorpdfstring.
Suppose the following document:
\documentclass{article}
\begin{document}
\section{stuff}
\end{document}
Adding the text "\texorpdfstring" between "section" and "{stuff}" (which should yield "\section\texorpdfstring{stuff}") causes a freeze.
TeXstudio 2.11.1 (hg 6136:5ff886630857)
This is a development version.
Using Qt Version 5.7.0, compiled with Qt 5.7.0 R
fixed
\texorpdfstring{something} needs to be within braces to be interpreted correctly by txs
=> \section{\texorpdfstring{something}}