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

[Windows] App crash after exit app. [Windows Problem Reporting] appears in the Task Manager #2512

Open
1 of 2 tasks
letrungdo opened this issue Jan 23, 2025 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@letrungdo
Copy link

letrungdo commented Jan 23, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I call windowManager.close(); or exit(0) to close the app, [Windows Problem Reporting] appears in the Task Manager. This indicates that the app crashed during the closing process.

Image

Even when I only add flutter_inappwebview and haven't imported or used it in any way, the app still crashes when I close it. I have tried remove flutter_inappwebview, and the crash no longer occurs.

Expected Behavior

Exit app not show Windows Problem Reporting in Task Manager

Steps with code example to reproduce

  1. Open Task Manager
  2. Build release flutter windows app
  3. open app and exit app
  4. Check [Windows Problem Reporting] in Task Manager

Stacktrace/Logs

Open Event Viewer and navigate to Windows Logs\Application.

Faulting application name: sbi_fx_pc.exe, version: 3.0.0.1, time stamp: 0x679198bc
Faulting module name: dcomp.dll, version: 10.0.26100.2605, time stamp: 0xfea84769
Exception code: 0xe0464645
Fault offset: 0x00000000002700ec
Faulting process id: 0x19F4
Faulting application start time: 0x1DB6D34CF2C59D5
Faulting application path: C:\Users\letrungdo\sbi-fx-pc\build\windows\x64\runner\Release\sbi_fx_pc.exe
Faulting module path: C:\WINDOWS\SYSTEM32\dcomp.dll
Report Id: 46521740-98fb-4b0a-bfec-7c45207c2830
Faulting package full name: 
Faulting package-relative application ID: 

Flutter Logs

[ +212 ms] flutter_inappwebview_windows\windows\webview_environment\webview_environment_manager.cpp(121): dealloc WebViewEnvironmentManager
[  +22 ms] flutter_inappwebview_windows\windows\in_app_webview\in_app_webview_manager.cpp(240): dealloc InAppWebViewManager
[   +4 ms] flutter_inappwebview_windows\windows\in_app_browser\in_app_browser_manager.cpp(90): dealloc InAppBrowserManager
[   +2 ms] flutter_inappwebview_windows\windows\headless_in_app_webview\headless_in_app_webview_manager.cpp(143): dealloc HeadlessInAppWebViewManager
[   +2 ms] flutter_inappwebview_windows\windows\cookie_manager.cpp(346): dealloc CookieManager
[ +470 ms] Service protocol connection closed.
[   +2 ms] Lost connection to device.
[   +4 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/LETRUN~1/AppData/Local/Temp/sbi-fx-pc6c0c3ddc/sbi-fx-pc/)
[   +4 ms] DevFS: Deleted filesystem on the device (file:///C:/Users/LETRUN~1/AppData/Local/Temp/sbi-fx-pc6c0c3ddc/sbi-fx-pc/)
[ +110 ms] "flutter run" took 520,782ms.
[ +309 ms] ensureAnalyticsSent: 37ms
[        ] Running 2 shutdown hooks
[  +19 ms] Shutdown hooks complete
[  +10 ms] exiting with code 0

Exited.

Flutter version

v3.24.5

Operating System, Device-specific and/or Tool

Windows 11

Plugin version

v6.1.5 & v6.2.0-beta.3

Additional information

https://learn.microsoft.com/vi-vn/windows/deployment/upgrade/windows-error-reporting
Image

Self grab

  • I'm ready to work on this issue!
@letrungdo letrungdo added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant