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

STATUS_STACK_BUFFER_OVERRUN #5640

Closed
7flash opened this issue Aug 10, 2022 · 1 comment
Closed

STATUS_STACK_BUFFER_OVERRUN #5640

7flash opened this issue Aug 10, 2022 · 1 comment
Labels
C-Bug An unexpected or incorrect behavior C-Startup A crash that occurs when first attempting to run a Bevy app O-Windows Specific to the Windows desktop operating system

Comments

@7flash
Copy link

7flash commented Aug 10, 2022

Bevy version 0.8

Relevant system information

Windows 11
cargo 1.65.0-nightly (4fd148c47 2022-08-03)

What you did

cargo run --features bevy/dynamic

What went wrong

    Finished dev [unoptimized + debuginfo] target(s) in 1m 28s
     Running `target\debug\seven-two.exe`
error: process didn't exit successfully: `target\debug\seven-two.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)

Additional information

It works well without "dynamic" feature, but fails when dynamic flag added.

./cargo/config.toml

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=n"]

Cargo.toml

[package]
name = "seven-two"
version = "0.1.0"
edition = "2021"

[dependencies.bevy]
version = "0.8"
default-features = true

src/main.rs

use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_startup_system(setup)
        .run();
}

fn setup() {}
@7flash 7flash added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Aug 10, 2022
@alice-i-cecile alice-i-cecile added O-Windows Specific to the Windows desktop operating system C-Startup A crash that occurs when first attempting to run a Bevy app and removed S-Needs-Triage This issue needs to be labelled labels Aug 10, 2022
@alice-i-cecile
Copy link
Member

Duplicate of #2921. Thanks for the reproduction all the same :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior C-Startup A crash that occurs when first attempting to run a Bevy app O-Windows Specific to the Windows desktop operating system
Projects
None yet
Development

No branches or pull requests

2 participants