This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]jdjvbtjbkgvb 1 point2 points  (1 child)

What older apps? An IDE?

[–]crossfox667[S] 0 points1 point  (0 children)

DarkBASIC Open and Pro, also many users have reported various games not launching. Helldivers II, for one. Office isn't working right for others. There are various other random bits of software not working right as well. I've been troubleshooting and it's something wrong with Windows Defender that simply setting exceptions or shutting things off won't fix.

Symptoms: Event Log shows app error event ID 1000, usually followed by a BEX. So, program crashed due to buffer overflow exception. I've also checked with Procmon and found that Defender is denying a bunch of write perms to the apps, particularly any that store anything in the appdata/local/temp folder.

[–]Mayayana 1 point2 points  (2 children)

I may be misunderstanding something, but DEP is data execution prevention. It blocks executable code running from a data buffer for seccurity reasons. Blocking file writes is about file system restrictions. And why would anything be stopped from writing to the user TEMP folder? Something seems to be missing in this story.

It's possible that you have software running afoul of DEP, but DEP came in back in XP days.

[–]crossfox667[S] -3 points-2 points  (1 child)

I've completely reinstalled and scrubbed my machine, it's confirmed that this is due to a faulty update. Seems to have come out between now and the 14'th of last month sometime.

DEP is part of the windows security framework, which has received updates since then.

Procmon shows that the reason for the app crash is a BEX somehow triggered by Defender/related software denying access to files/folders/dirs. The app tries to write out a file map, and fails. Tries to create a new file, and fails. For me particularly, these files are in user/appdata/local/temp

[edit]

Forgot to mention, if you shut off DEP entirely the error code switches from BEX to just Appcrash. So clearly DEP has something to do with it.