[Problem/Bug]: WebView crash in Office JS Addin
What happened?
Our application is an Office JS add-in used in both Excel and Word, and we are experiencing a critical issue during the sign-in process. After the user enters valid credentials, the add-in suddenly crashes and automatically reloads. This prevents users from completing the authentication flow.
msedgewebview2__PID__15792__Date__11_18_2025__Time_11_07_10AM__798__Second_Chance_Exception_C0000005.dmp msedgewebview2__PID__22292__Date__11_18_2025__Time_11_05_02AM__584__Second_Chance_Exception_C0000005.dmp
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
142.0.3595.80
SDK Version
1.0.3351.48
Framework
----Please select----
Operating System
Windows 11
OS Version
26100.7171
Repro steps
Attached dump files. But our steps to reproduce are:
Sign in user A Sign out user A Try Sign in user B - crash
This is not an issue of our application, our sign in process is okk, few days ago it was working correctly. Just using Task Manager I can clearly see that webview process with our application has been suddenly terminated.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer Runtime
Last working version (if regression)
No response
Hi, @jakuboppelt!
It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment?
WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): <UDF>\EBWebView\Crashpad\reports\. By default, the user data folder is created in the app's folder with a name like <App Exe Name>.exe.WebView2. Refer to Crash Diagnostics for more information.
Thank you for your cooperation!
any update? dump was attached...
Is this related to https://github.com/OfficeDev/office-js/issues/6309 ?
Here's the workaround we got from the Microsoft Customer Support Service:
You can set the variable using following steps
Press Win + R, type sysdm.cpl and press Enter. Go to Advanced tab. Click Environment Variables. Under System variables, click New. Enter: Variable name: COREWEBVIEW2_FORCED_HOSTING_MODE Click OK → restart Word (or reboot OS).
Please refer to the image below for reference.
The workaround is having side-effect of D&D not working, see linked ticket.
Any update?