Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

windows_app_sdk STATUS_STACK_BUFFER_OVERRUN #24

Closed
Zymlex opened this issue Jul 25, 2021 · 3 comments
Closed

windows_app_sdk STATUS_STACK_BUFFER_OVERRUN #24

Zymlex opened this issue Jul 25, 2021 · 3 comments
Assignees

Comments

@Zymlex
Copy link

Zymlex commented Jul 25, 2021

Problem

`target\debug\skeleton.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)
`target\debug\simple_window.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)

Steps to reproduce

Build and launch on Win Server 2019 (with last updates)

Screenshots

изображение
изображение
изображение

Notes

  • Output from cargo version: 1.55.0-nightly (cebef2951 2021-07-22)
  • Output from rustup show:
Default host: x86_64-pc-windows-msvc
rustup home:  D:\Rust\rustup

installed toolchains
--------------------

stable-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)

active toolchain
----------------

nightly-x86_64-pc-windows-msvc (default)
rustc 1.56.0-nightly (d9aa28767 2021-07-24)
  • Output from rustup --version: rustup 1.24.3 (ce5817a94 2021-05-31)
  • Output from cmd /c ver: Microsoft Windows [Version 10.0.17763.2061]
@riverar riverar self-assigned this Jul 26, 2021
@riverar
Copy link
Collaborator

riverar commented Jul 26, 2021

Hey @Zymlex:

Are you running your app elevated/as a built-in Administator? If so, that's not supported and would throw the following error behind the scenes:

ModLoad: 00007ff8`f7aa0000 00007ff8`f7ace000   C:\Windows\System32\IMM32.DLL
D:\a\1\s\dev\ProjectReunion_BootstrapDLL\MddBootstrap.cpp(36)\Microsoft.ProjectReunion.Bootstrap.dll!00007FF8E7C11223: (caller: 00007FF7F7891753) FailFast(1) tid(16d0) 80070032 The request is not supported.
    Msg:[DynamicDependencies Bootstrap doesn't support elevation. See Issue #567 https://github.com/microsoft/ProjectReunion/issues/567] 
(9fc.16d0): Security check failure or stack buffer overrun - code c0000409 (!!! second chance !!!)
Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT 

@Zymlex
Copy link
Author

Zymlex commented Jul 26, 2021

It looks like the installation failed: https://github.com/microsoft/WindowsAppSDK/releases/tag/v0.8-preview

@Zymlex Zymlex closed this as completed Jul 26, 2021
@riverar
Copy link
Collaborator

riverar commented Jul 26, 2021

@Zymlex I filed a bug on that; requires sideloading of packages to be enabled. microsoft/WindowsAppSDK#1119

image

But then you'll run into another issue. microsoft/WindowsAppSDK#1121

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants