question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gitgraph cause infinite loop crash

See original GitHub issue

Describe the bug

Minimum reproducible snippet:

gitGraph:
options
{
    "nodeSpacing": 150,
    "nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
commit

Adding a new line (Press enter) at the end of content causes the infinite loop.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

mermaid-gitgraph

(The cursor blinked at start, after I hit enter, it froze because of infinite loop)

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: New Edge Brwoser
  • Version 58

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
tessuscommented, Aug 13, 2021

@knsv any chance you could add a flag to the options to disable experimental features?

0reactions
ashishjain0512commented, May 24, 2022

Newer verison of GitGraph solves this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Just Cause 3 - Fix for infinite loop device crash.
I have found that if I turn SCREEN SPACE to ON in the graphics options the game will load just fine and you...
Read more >
Infinite loop that does not crash but causes 300% CPU
It looks like an infinite loop but it does not crash and I can't figure out why it's an infinite loop or why...
Read more >
Debugging Infinite Loops | CodeHS Knowledge Base
Often, when a program is run and the browser becomes unresponsive and crashes, this means that your student's program contains an infinite loop....
Read more >
What happens in an infinite loop? - Codecademy
In an infinite loop the computer does not have any way of knowing when you want to stop. The computer will keep printing...
Read more >
The Crash | Infinite Loops Wiki - Fandom
The Crash is quite possibly the most disruptive event to hit Yggdrasil short of ... looping just as the crash began, her data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found