tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.36k stars 2.58k forks source link

[bug] BSOD rarely when exiting the application #11753

Open Schneitizel opened 1 day ago

Schneitizel commented 1 day ago

Describe the bug

Hello My application causes a BSOD, error code “Video_scheduler_internal_error”, very rarely (about once out of 70 times) when it is exited, either by code, by alt+F4, by reloading the code or by clicking on the exit button The event observer also gives the indication “The driver detected an internal driver error on \Device\VBoxNetLwf.”

My dependencies are : serde_json = “1.0 serde = { version = “1.0”, features = [“derive”] } tokio = { version = “1”, features = [“full”] } tauri = { version = “1.8.1”, features = [“api-all”] } reqwest = { version = “0.11”, features = [“json”, “rustls-tls”] } futures = “0.3” zip = “2.1.6”

My application is developed on Windows 10, npm and javascript. Version of tauri-cli 2.1.0

Let me know if you need any further information

Reproduction

Quitting the application gives it a small but real chance of causing a BSOD; it doesn't matter how you quit

Expected behavior

Application no longer causes BSODs

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 130.0.2849.80
    ✔ MSVC: Visual Studio Community 2022  
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 21.7.1
    - npm: 9.1.2

[-] Packages
    - tauri [RUST]: 1.8.1
    - tauri-build [RUST]: 1.5.5
    - wry [RUST]: 0.24.11
    - tao [RUST]: 0.16.10
    - @tauri-apps/api [NPM]: 1.6.0 (outdated, latest: 2.1.1)
    - @tauri-apps/cli [NPM]: 1.6.3 (outdated, latest: 2.1.0)

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

No response