Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor hangs and emits "InternalError: too much recursion" #4129

Closed
dyc3 opened this issue Feb 2, 2023 · 2 comments
Closed

Editor hangs and emits "InternalError: too much recursion" #4129

dyc3 opened this issue Feb 2, 2023 · 2 comments
Labels
Status: Triage Needs to be verified, categorized, etc

Comments

@dyc3
Copy link

dyc3 commented Feb 2, 2023

Describe the bug
The editor hangs and emits "InternalError: too much recursion" when trying to render a specific erDiagram.

To Reproduce
Link to Live Editor: https://mermaid.live/edit#pako:eNptjjEOwjAQBL9ibe0XuEOkTUWH3JziC0Rgn2XsAiLn7XES6NhqtRqtZsYgjmHAqZvolsjboFpOaj7Klp7ictaqW9Qooiw-f2Jx8NUGaHhOnibXfvcbi3xnzxamVUfpsdG1cVSyXN5hgMmpsEaJjjJ_TWBGer7aym7KkvpDdPfViBSuIj-mrpvIQtM
Steps to reproduce the behavior:

  1. Attempt to render this diagram
erDiagram
    A {
        Map~C, D~ foo "zzzzzzzzzzzzzzzzzzzz"
    }
Loading

Raw code

erDiagram
    A {
        Map~C, D~ foo "zzzzzzzzzzzzzzzzzzzz"
    }

Expected behavior
Should compile and render the graph

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Firefox
  • Version 109.0

Additional context

@sidharthv96 sidharthv96 transferred this issue from mermaid-js/mermaid-live-editor Feb 22, 2023
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Feb 22, 2023
@sidharthv96
Copy link
Member

Seems like an issue with mermaid. Even github's native renderer doesn't work.

@jgreywolf
Copy link
Contributor

Closing as duplicate of #4008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc
Projects
None yet
Development

No branches or pull requests

3 participants