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

Infinite loop when building workspace #2007

Closed
stevevestal opened this issue Oct 2, 2019 · 2 comments · Fixed by #2060
Closed

Infinite loop when building workspace #2007

stevevestal opened this issue Oct 2, 2019 · 2 comments · Fixed by #2060
Assignees
Milestone

Comments

@stevevestal
Copy link

@stevevestal stevevestal commented Oct 2, 2019

Summary

Very occasionally, when I do a Project clean all projects, OSATE 2.5.2 product gets in an infinite loop. The status bar just bounces back-and-forth on progress, e.g., in this instance 14% then 16% then 14% then 16% ... Task manager shows high CPU usage.

Expected and Current Behavior

Steps to Reproduce

Unfortunately, this is sporadic. Stopping and restarting usually results in a successful build. There were build errors, in this case associated with a missing project dependence, though I'm not sure that had anything to do with it.

Environment

  • OSATE Version: 2.5.2 product
  • Operating System: Windows 10
    jstackdump.txt
@lwrage

This comment has been minimized.

Copy link
Contributor

@lwrage lwrage commented Nov 7, 2019

Do you have cyclic project dependencies?

@lwrage lwrage self-assigned this Nov 12, 2019
@lwrage lwrage added this to the 2.6.1 milestone Nov 12, 2019
@lwrage

This comment has been minimized.

Copy link
Contributor

@lwrage lwrage commented Nov 12, 2019

I was able to reproduce the issue and debug.
It turns out that the job that updates project references when a project is renamed is kicked off during the build even though there is no renamed project. This repeatedly interrupts the build job, which then reschedules itself. This goes on ad infinitum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.