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.

Infinite loop (in scheduler?)

See original GitHub issue

(You said in #84 you thought this problem was fixed, but I still have this issue with version 1.8.7 - I’m opening a separate issue to avoid getting sidetracked in other issues.)

I’ve created a preliminary benchmark, which sometimes causes Chrome to lock up:

image

The only way out is to kill the browser tab via Chrome’s task manager.

To recreate the problem, be sure to build the fre benchmark with npm run build-prod - for some reason, the problem doesn’t seem to appear with npm run build-dev, not sure (?)

Click on the button to create 10,000 rows - then click repeatedly on the “update” and “swap” buttons, which seem most likely to trigger the problem.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mindplay-dkcommented, Oct 26, 2019

Benchmark confirmed: no stalling or freezing, produces expected results! 😀🎉

I do believe this introduced a new issue with useEffect - but lets regard this issue as closed, and I will open a separate issue for that.

Good work! 🙂

0reactions
yisarcommented, Oct 26, 2019

The problem of useeffect is here: https://github.com/132yse/fre/issues/87

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can you use an infinite loop to run a program continuously ...
First even if you want to do infinite loop do it in a separate thread. ... ScheduledExecutorService to schedule your task for every...
Read more >
[Help] infinite loop | RPA Forum - Sponsored by Robiquity
An infinite loop seems to be running regardless if schedule is deferred or set to expire. We have done the following so far:...
Read more >
Possible infinite loop in scheduler · Issue #2526 · moby/buildkit
My best guess is that (*scheduler).loop is stuck in an infinite loop. I see that dispatch is adding items to s.outgoing , so...
Read more >
Stuck in an Infinite Loop When Trying to Change Polling Time ...
When trying to change the running frequency of an active scheduler, it gets stuck into an infinite loop while trying to load the...
Read more >
Infinite loop When the scheduler active the lowest priority task
I found that, the task loops infinitly just when i put the f_open function in. Now when i erase f_open, the task finish...
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