-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
Subsequent write operations create different outputs #859
Comments
I suppose I'm surprised it becomes stable after the first. I could understand each |
The MVID can be made deterministic. See #810. |
As per @ltrzesniewski comment - you need to ask for deterministic behavior. But if you still get different outputs after that I would be very interested (as it would break lot of things in our usage potentially). |
Interesting. Thanks for the test @tom-englert. Did you have a chance to look at what's happening? |
I once tried to dig through the code, but gave up. I remember for one experiment that there were some blocks shifted in the file, and an empty block with only 00 had appeared after the second save However in the test that I've added in #860 the difference is more subtle: Looks like it's not the MVID that changes. |
Given that second file has a high(ish) value at the start makes me wonder if there's a static or instance field somewhere that does not get reset. |
Calling
ModuleDefinition.Write
multiple times generates different outputs.The first output is binary different from all subsequent outputs.
This is not a blocking issue, since both outputs seem to work fine, but might be a hint to some inconsistency in the write operation.
The text was updated successfully, but these errors were encountered: