-
Notifications
You must be signed in to change notification settings - Fork 30
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
bug: Bad input causing ProcessSystem.runAsThread()
to run into an infinite loop
#1142
Comments
@soofstad Are you experiencing the same with the current version of neqsim? The line numbers does not match for me... The function PhaseEos Init also appears to reraise the exception so perhaps it is already solved? |
Should have mentioned, this was in |
I have looked around, but I am currently not able to reproduce. That said, there have not been made significant changes to the exception handling parts of this code since v2.5.35, so I will not close the issue yet. |
@asmfstatoil @Sviatose @AndreasHNyhus This issue has been fixed in #1227 and fix is available in release 3.0.12+. The problem was that a process thread is not stoped by calling join(time). Program continued to run in background. In NeqSim versjon 3.0.12+ a process should be stopped using: processThread.join(time_in_milliseconds); This will make sure the process will stop running, and should be used for all models running as Threads. |
Stacktrace from the bug causing ML/OilSep to loop indefinitely.
Just want to get this out there. @Sviatose might have some more information on the issue.
Hopefully it's possible to patch Neqsim so that is raises the
Variable Molar volume is Nan
-exception, instead of just logging it, and subsequently exits the loop.The text was updated successfully, but these errors were encountered: