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

When the project name contains spaces, aot publishing cannot run, prompting "Error System detected an overrun of a stack-based buffer in this application" #14146

Open
howzew opened this issue Jan 8, 2024 · 6 comments
Labels

Comments

@howzew
Copy link

howzew commented Jan 8, 2024

Describe the bug

When the project name contains spaces, aot publishing cannot run, prompting "Error System detected an overrun of a stack-based buffer in this application"

To Reproduce

Steps to reproduce the behavior:

  1. Create an avalonia mvvm project
  2. Project name contains spaces, such as "Avalonia Application"
  3. Do not write any code, publish directly aot
  4. When running the program in the publish folder, the above error message appears.

Environment

  • OS: Windows 10
  • Avalonia-Version: 11.0.6

Additional context

Following the above steps, if the project name does not contain spaces, such as "AvaloniaApplication", then the program can run normally after aot publised, so I suspect that the space is causing the problem.

@howzew howzew added the bug label Jan 8, 2024
@timunie
Copy link
Contributor

timunie commented Jan 8, 2024

Does the same work for a console App with white spaces? Can you test it?

@howzew
Copy link
Author

howzew commented Jan 8, 2024

Does the same work for a console App with white spaces? Can you test it?

I just tested the console App. Regardless of whether the project name has spaces or not, it can be published aot and run normally.

Another piece of information: I right-clicked the project name in VS and deleted the spaces in it. After the aot published, it ran normally, so I guess this is a bug.

@thevortexcloud
Copy link
Contributor

@timunie
Copy link
Contributor

timunie commented Jan 15, 2024

/cc @Takoooooo

@howzew
Copy link
Author

howzew commented Nov 14, 2024

@timunie Any updates? This problem seems to be going on for the time being.

@howzew howzew closed this as completed Nov 14, 2024
@howzew howzew reopened this Nov 14, 2024
@timunie
Copy link
Contributor

timunie commented Nov 15, 2024

No update yet. The linked issues are labeled with help-wanted, so feel free to provide a PR.

Tip

If you have paid support, you can ask for priority on issues that bugs you most. Otherwise it is done when it's done.

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

No branches or pull requests

3 participants