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

System error: A new guard page for the stack cannot be created. #31453

Closed
Regenhardt opened this issue Feb 16, 2024 · 3 comments
Closed

System error: A new guard page for the stack cannot be created. #31453

Regenhardt opened this issue Feb 16, 2024 · 3 comments
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Regenhardt
Copy link

Microsoft PowerToys version

0.77.0.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

General

Steps to reproduce

Don't know, I just opened a second instance of Visual Studio 2022 Professional, nothing different from other times I did that.

✔️ Expected Behavior

Nothing at all, PowerToys was just chilling in the background.

❌ Actual Behavior

4 windows opened showing me a log and telling me to post it here. At the same time, my screens flashed and now my MS Teams window is completely black. Had to completely quit teams and restart to get back visuals.
On top of that, a system error message:

ServiceHub.SettingsHost.exe - System Error

A new guard page for the stack cannot be created.

Here's the log from one of the windows, they all show the same thing:



Version: 0.77.0.0
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 2024-02-16 14:59:34
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


I have 48GB RAM, of which 47.8 are usable, of which 11.1 are currently in use.

My desktop looks like this currently:

Other Software

MS Teams Work/School

Version
You have Microsoft Teams version 23335.232.2637.4844.
You've got the latest version. It was last updated on 16/02/2024.
The client version is 49/23111630013.

@Regenhardt Regenhardt added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 16, 2024
@Aaron-Junker
Copy link
Collaborator

/dup #31226

Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 17, 2024
@SteveJobsCousin
Copy link

adding IsDesignTimeCreatable=False to every d:DataContext="{d:DesignInstance ...} have fixed the issue for me, its a memory leak when the Designer is overloaded with stackoverflows related to DesignInstance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants