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

[bug] Application Fails to Start (0xc0000005) on Windows 7 with Rust 1.78.0 #9807

Closed
cnlancehu opened this issue May 17, 2024 · 1 comment
Closed
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@cnlancehu
Copy link

Describe the bug

As the title states, when using rust 1.78.0, it cannot run normally on Windows 7
The screenshot content is: The application cannot start normally (0xc0000005). Please click OK to close the application.

image

Reproduction

  1. Compile the application with Rust 1.78.0.
  2. Run the compiled application on Windows 7 SP1.

Target machine information:

  • Windows 7 SP1 x64
  • Webview2 109
  • Latest VC Redist

I tested with both Tauri 1.6.5 and 2.0.0-beta.19. Both versions run normally when compiled with Rust 1.77.2. However, upon switching to Rust 1.78.0, the error occurs.

Expected behavior

No response

Full tauri info output

### Rust 1.78.0
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 124.0.2478.97
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.10.0
    - pnpm: 8.12.1
    - yarn: 1.22.21
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 2.0.0-beta.19
    - tauri-build [RUST]: 2.0.0-beta.15
    - wry [RUST]: 0.39.5
    - tao [RUST]: 0.28.0
    - tauri-cli [RUST]: 2.0.0-beta.17
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ./ui

### Rust 1.77.2
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 124.0.2478.97
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: 1.77.2-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.10.0
    - pnpm: 8.12.1
    - yarn: 1.22.21
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 2.0.0-beta.19
    - tauri-build [RUST]: 2.0.0-beta.15
    - wry [RUST]: 0.39.5
    - tao [RUST]: 0.28.0
    - tauri-cli [RUST]: 2.0.0-beta.17
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ./ui

Stack trace

No response

Additional context

No response

@cnlancehu cnlancehu added status: needs triage This issue needs to triage, applied to new issues type: bug labels May 17, 2024
@FabianLars
Copy link
Member

1.78 dropped support for windows 7 and 8. You need to stick with 1.72.2 if your app needs to work on windows 7.

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants