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]: Unable to open https://www.facebook.com, once load will directly ProcessFailed #4281

Closed
francis-tan-1 opened this issue Jan 8, 2024 · 16 comments
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.

Comments

@francis-tan-1
Copy link

francis-tan-1 commented Jan 8, 2024

What happened?

Able to open google or other pages, but once open facebook the CoreWebView2 will be ProcessFailed, by then screen will be blanked.

image

Previously it was working well on all of my clients, but it was suddenly not working.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

120.0.2210.121

SDK Version

1.0.2210.55

Framework

WPF

Operating System

Windows 10, Windows 11

OS Version

10.0.22621

Repro steps

Able to open google or other pages, but once open facebook the CoreWebView2 will be ProcessFailed, by then screen will be blanked.

image

Repros in Edge Browser

No

Regression

No, this never worked

Last working version (if regression)

No response

AB#48419345

@francis-tan-1 francis-tan-1 added the bug Something isn't working label Jan 8, 2024
@victorhuangwq victorhuangwq added the regression Something used to work but doesn't anymore label Jan 8, 2024
@vbryh-msft
Copy link
Contributor

in which previous version it was working. Looks like runtime crashes for you - could you please attach dumps?

@Dyr-Fenrir
Copy link

Greetings,

I am unsure if it is related, but for the same code, with the same WebView2 version, Twitter and Facebook were working for me a few days ago, but today I have the same issue, a blank page.

My crash dump is provided as an attachment.
8ac8c20c-2c45-4705-8a94-677e46b0310e.dmp

@PCRacer
Copy link

PCRacer commented Jan 8, 2024

Hi,

I would also like to add that Twitter and Facebook is not loading, the screen goes completely blank and the application just stops working. As far as I can tell, it's only Twitter and Facebook that don't load. All other social media sites work perfectly.

Runtime Version
120.0.2210.121

SDK Version
1.0.2210.55

Framework:
WIN32

Windows 10 Pro 64Bit

Edition Windows 10 Pro
Version 22H2
OS build 19045.3803
Experience Windows Feature Experience Pack 1000.19053.1000.0

All instances also crash and blanks out.

It worked on the previous runtime Version: 120.0.2210.91

@monica-ch monica-ch added the tracked We are tracking this work internally. label Jan 8, 2024
@vbryh-msft
Copy link
Contributor

Thanks for reporting, we have found root cause and are working on the fix

@hi-xiaoxin
Copy link

I have same problem

1 similar comment
@dboy1981
Copy link

dboy1981 commented Jan 9, 2024

I have same problem

@m2jean
Copy link

m2jean commented Jan 9, 2024

Same. It seems to happen on all websites that can be installed as an app in Edge such as Twitter, Facebook, Reddit, etc.
It dereferences a null pointer with the following stack trace

msedge.dll!edge::hub_apps::SidebarLowLevelApi::IsHubAppVisible(class Profile const &,class edge::hub_apps::HubAppId const &)
msedge.dll!edge_designer::ChromeDesignerClient::IsDesignerVisibleInSidebar(void)
msedge.dll!edge_designer::ContentDesignerDriver::CheckURLAndInjectScript()
msedge.dll!edge_designer::ContentDesignerDriver::BindDesignerAgentRemoteEndPoint(class mojo::PendingRemote<class edge_designer::mojom::DesignerAgent>)
msedge.dll!edge_designer::mojom::ContentDesignerDriverStubDispatch::Accept(class edge_designer::mojom::ContentDesignerDriver *,class mojo::Message *)
msedge.dll!mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept(class mojo::Message *)
msedge.dll!mojo::MessageDispatcher::Accept(class mojo::Message *)
msedge.dll!mojo::InterfaceEndpointClient::HandleIncomingMessage(class mojo::Message *)
msedge.dll!mojo::internal::MultiplexRouter::ProcessIncomingMessage()
msedge.dll!mojo::internal::MultiplexRouter::Accept(class mojo::Message *)
msedge.dll!mojo::MessageDispatcher::Accept(class mojo::Message *)
msedge.dll!mojo::Connector::DispatchMessageW()
msedge.dll!mojo::Connector::ReadAllAvailableMessages()
msedge.dll!base::internal::Invoker<base::internal::BindState<void (mojo::Connector::*)(const char *, unsigned int),base::internal::UnretainedWrapper<mojo::Connector,base::unretained_traits::MayNotDangle,0>,base::internal::UnretainedWrapper<const char,base::unretained_traits::MayNotDangle,0>>,void (unsigned int)>::Run()
msedge.dll!base::RepeatingCallback<void >::Run(unsigned int)
msedge.dll!mojo::SimpleWatcher::OnHandleReady(int,unsigned int,struct mojo::HandleSignalsState const &)
msedge.dll!base::TaskAnnotator::RunTaskImpl(struct base::PendingTask &)
msedge.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(class base::LazyNow *)
msedge.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork(void)
msedge.dll!base::MessagePumpForUI::DoRunLoop(void)
msedge.dll!base::MessagePumpWin::Run(class base::MessagePump::Delegate *)
msedge.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool,class base::TimeDelta)
msedge.dll!base::RunLoop::Run(class base::Location const &)
msedge.dll!content::BrowserMainLoop::RunMainMessageLoop(void)
msedge.dll!content::BrowserMain(struct content::MainFunctionParams)
msedge.dll!content::RunBrowserProcessMain()
msedge.dll!content::ContentMainRunnerImpl::RunBrowser(struct content::MainFunctionParams,bool)
msedge.dll!content::ContentMainRunnerImpl::Run(void)
msedge.dll!content::RunContentProcess()
msedge.dll!content::ContentMain(struct content::ContentMainParams)
msedge.dll!ChromeMain()
msedgewebview2.exe!MainDllLoader::Launch(struct HINSTANCE__ *,class base::TimeTicks)
msedgewebview2.exe!wWinMain()
msedgewebview2.exe!__scrt_common_main_seh()
kernel32.dll!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()

@monica-ch
Copy link
Contributor

monica-ch commented Jan 9, 2024

The issue is fixed in Edge Canary 122.0.2330.0+. Could you please test with Canary channel and validate the fix. Thanks!

We are working on backporting the fix to Edge Stable and should be available soon. I'll post the updates in the thread.

@m2jean
Copy link

m2jean commented Jan 9, 2024

It's working for me on Canary. Thanks for the quick fix!

@victorhuangwq victorhuangwq changed the title [Bug]: Unbale to open https://www.facebook.com, once load will directly ProcessFailed [Bug]: Unable to open https://www.facebook.com, once load will directly ProcessFailed Jan 9, 2024
@bibali1980
Copy link

I have same problem

@Quitoboss
Copy link

It's working for me with Canary channel. Using the registry override release channel preference.

@nishitha-burman
Copy link
Collaborator

Thank you everyone for validating, we are currently working on backporting the fix to 120 but in the meantime you can try --disable-features=msEdgeDesignerUI,msEdgeHubAppDesigner,msEdgeDesignerDriverFix to mitigate the issue. Note this is a temporary solution and the fix in 120 should be available in the next few days at which point you can remove the flag.

@ANWARSIDDIQUI
Copy link

Upto when it can get fixed?

Thank you everyone for validating, we are currently working on backporting the fix to 120 but in the meantime you can try --disable-features=msEdgeDesignerUI,msEdgeHubAppDesigner,msEdgeDesignerDriverFix to mitigate the issue. Note this is a temporary solution and the fix in 120 should be available in the next few days at which point you can remove the flag.

@vbryh-msft
Copy link
Contributor

Runtime version 120.0.2210.133 have the fix and already started rolling out - it will take up to 48-52 hours to reach 100% devices.

@monica-ch
Copy link
Contributor

Closing the thread as the issue is fixed in 120.0.2210.133+

@monica-ch
Copy link
Contributor

To avoid these issues in future with runtime updates, we recommend testing to ensure compatibility when the runtime updates. Please set up prerelease testing and let us know the issues before they reach stable.

https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/developer-guide#run-compatibility-tests-regularly-when-using-the-evergreen-runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests