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

API.Restore() crashes in SILI.fs if there was an exception before API.Reset() #210

Open
mxprshn opened this issue Dec 21, 2022 · 0 comments

Comments

@mxprshn
Copy link
Member

mxprshn commented Dec 21, 2022

If there was an exception in SILI.Interpret before call to API.Reset(), V# crashes in finally with not pretty looking exception:


 ---> System.InvalidOperationException: Stack empty.
   at System.Collections.Generic.Stack`1.ThrowForEmptyStack()
   at System.Collections.Generic.Stack`1.Pop()
   at VSharp.persistent`1.Restore() in D:\VSharp\VSharp.Utils\Persistent.fs:line 9
   at VSharp.IdGenerator.restore() in D:\VSharp\VSharp.Utils\IdGenerator.fs:line 48
   at VSharp.Core.API.Restore() in D:\VSharp\VSharp.SILI.Core\API.fs:line 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant