[ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Medicris
Posts: 125
Joined: Sat Oct 05, 2013 9:14 pm
Location: British Columbia

[ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Medicris »

Image

I'm not sure where this should be posted, but it does coincide with the update to 2.8.0 and continues to .1. Lately my Event Viewer log as been riddled with these identical error messages ever since 2.8.0 and continues in 2.8.1, sometimes several logged within a few seconds when ZDoom isn't even running. I'm curious as to what this could be caused by. I have tried clean installs from the main download page, and it should be noted that it it complains about neither GZDoom 2.1.1 nor 1.9.1. This causes me no inconvenience but a flooded event viewer, but I thought it'd be something worth bringing up.

System is Windows 7 Home Premium x64 with an FX-4100 processor.

Log data is as follows:
Spoiler:
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by _mental_ »

Official ZDoom binaries have two <assemblyIdentity> entries for Microsoft.Windows.Common-Controls in the manifest.
Although the corresponding file in the source code has only one.
It seems to be a problem of the build process.
User avatar
Medicris
Posts: 125
Joined: Sat Oct 05, 2013 9:14 pm
Location: British Columbia

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Medicris »

Thank you for the informative answer, I was hoping something wasn't bad on a system level. Hope it's all fixed soon!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Graf Zahl »

This looks like some old stuff being cached somewhere and no clean being performed on the project. The change that caused this dates Jun 22, 2014. Apparently the manifest builder still got a reference to the old definition and copies both together.

To summarize, this can only be fixed in Randi's old compile setup (running a 'clean project' should be sufficient). The project itself is fine, and anything built from the master branch through CMake should also not suffer from that old, long disposed stuff.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by randi »

I always build the official releases from a newly-created directory, though.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Graf Zahl »

I think I found it. The bogus entry comes from the file win32/zdoom.res which is part of the git repo. If that gets merged with the actual manifest you'll have both. Since the newer builds with VC2015 do not have this entry, they may not actually use that file to begin with. In fact, they create their own zdoom.res somewhere in the build directory.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Graf Zahl »

So, this needs to be fixed in maint. In master it's no longer relevant, and all the VC2005 related files should be removed, actually, since they are no longer usable.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by _mental_ »

Indeed, it's a good reason to remove Visual Studio files from the repository. CMake generated solution/projects work just fine for a long time.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Graf Zahl »

Already done. And I removed the bogus zdoom.res file as well.
But the actual fix needs to be done in the maint branch and that I cannot test due to lack of proper compiler.
_mental_ wrote:CMake generated solution/projects work just fine for a long time.
In fact, they have been working far BETTER than the native project ever since they have become usable. Not only do they not litter the temporary files throughout the project (one of the eternal mysteries of project management is, why is Microsoft literally FORCING such a shitty model on their users - the VS-auto-generated template projects are virtually useless because of it), they are also far easier to set up.

Oh, and they allowed me to dump the outdated VC2005 compiler on my last system reinstall.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.X] W7x64 Event Viewer spam: "SxS Error 80"

Post by Graf Zahl »

I think this can be closed as the maint branch is too far behind without any chance of ever catching up because cherry picking the fixes is next to impossible considering how much the code has changed since then. The next release will have to be done from master.
Post Reply

Return to “Closed Bugs [GZDoom]”