-
Notifications
You must be signed in to change notification settings - Fork 69
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
Strange missing redistributable VC++ runtime error #2297
Comments
I suspect that your installation is broken somehow. The following message is telling us that Windows is failing to load the DLL, which might indicate that the file is corrupted, or a permission problem, or some other badness:
When such an error happens, we try to see if the Visual C++ Redistributable is properly installed, and that check doesn't work anymore with the unified 2015-2019 redistributable. I am fixing it, but the effect will be that the message will change to "An unknown error occurred". You should also have gotten a modal window reporting the error, which would be nicer than having to dig through the logs. Apparently that stopped working a few months back. I am fixing it too. |
I actually did see the modal window, but I went digging through the log to see if I could find anything useful. I've just done a "fresh install" of sorts -- I've deleted the entire |
Is there a blacklist of DLLs somewhere? I accidentally tried to launch 1.7.3 with Fermat a few times (causing obvious crashes) before I realized that KSP had updated and I needed to update to Ferrari. Could |
Again, possibly an issue with file permissions?
There is an MD5 and SHA1 for the archive on the forum thread (and yes, MD5 is insecure and SHA1 is not ideal, but if someone is in the business of constructing collisions and then messing with bit.ly to make you believe that you downloaded a different version of Principia from the one you got, you have much bigger fish to fry).
I don't think the KSP developers have time to waste building such mechanisms. We experience crashes all the time while developing (that is the point of having checks), so they obviously have no long-term consequences, and, in general, Principia Ferrari works with the versions of KSP that it targets (people are using it). |
Permissions are an unlikely problem -- they seem to be normal, and running KSP as an administrator doesn't fix anything. I'm really stumped as I can see KSP try to load it directly (BadImageFormatException). Any ideas other than permissions? |
I think we'll need more information to figure out what's happening. It would be good if you could:
|
@pleroy Thanks, I'll do that. I probably won't be able to get to it until this weekend, however. |
We found something puzzling in these logs. One of our DLLs is named
Obviously we have no reason to believe that the Nvidia DLL and ours are compatible in any way. While I have Nvidia software on my machine I don't have We'll keep investigating. |
AFAIK, NvContainer.exe is Geforce Experience. |
@kc9jud: I have created a new binary, principia test for 1.7.3.zip, which is expected to fix this problem. Since the bug only shows up on your machine, could you please try it and report? Thanks. |
Hello. KSP 1.7.3 (x64), What i did afterwards: I hope any of this is potentially helpfull. |
@pleroy I was having the same problem, using the version you provided fixed it, thanks. |
@Erumaaro: It seems that in some cases our error message incorrectly mentions the x86 runtime. You actually need the x64 one. |
@pleroy: The test build fixed my issue. Thanks! |
Hi I was in IRC earlier today. I had the following error: "The Principia DLL failed to load. The "principia test for 1.7.3.zip" file fixed that error for me. |
Possibly related: #1790 and #1066
I'm getting odd errors about the Visual C++ Redistributable Packages not being found -- I can clearly see in Apps & features that it's installed:
However, I'm getting the following errors in KSP.log:
System info:
Windows 10, build 1803
KSP Version 1.7.3.2594
The text was updated successfully, but these errors were encountered: