Skip to content

[v4] expression visually rendering ok but SRE crashing #3419

@pkra

Description

@pkra

The following expressions crashes SRE, e.g., on mathjax.org#demo

\begin{align*}\mathcal{R}^\alpha f (r, \omega )&=\sum _{k=0}^\infty \frac{1}{2\pi i} \int _{C} r^{-z} \mathcal{H}_{4,4}^{2,2} (k, \alpha ; z)\mathcal{M} {\mathbb{P}_k f}(z, \omega )\,\mathrm{d}z\\
 &=\sum _{k=0}^\infty \int _0^\infty \underbrace{ \frac{1}{2\pi i} \int _{C} r^{-z} \mathcal{H}_{4,4}^{2,2} (k, \alpha ; z)s^{z} \,\mathrm{d}z }_{\coloneq K_k^{\alpha }(r, s)}\mathbb{P}_k f \frac{\,\mathrm{d}s}{s}\\
 &=\sum _{k=0}^\infty \int _0^\infty K_k^\alpha (r,s)\mathbb{P}_k f(s, \omega )\frac{\,\mathrm{d}s}{s}, 
\end{align*}

I could reduce this test cases to

\begin{align*}\mathcal{R}^\alpha f (r, \omega )&=\sum _{k=0}^\infty \frac{1}{2\pi i} \int _{C} r^{-z} \mathcal{H}_{4,4}^{2,2} (k, \alpha ; z)\mathcal{M} {\mathbb{P}_k f}(z, \omega )
\end{align*}

Removing the last ) no longer threw the errors.

The error in the console is

TypeError: can't access property 0, t.parent.annotation.depth is undefined

Accordingly, no speech is generated.

Activating subtitles will also hang the explorer with "null" being displayed (and the subtitle can no longer be dismissed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamSREv4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions