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

Second run of *.exe ends with crash #4725

Closed
1 task done
Nerver91 opened this issue Feb 21, 2024 · 2 comments
Closed
1 task done

Second run of *.exe ends with crash #4725

Nerver91 opened this issue Feb 21, 2024 · 2 comments
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

Comments

@Nerver91
Copy link

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

121.3.70.0

Operating System

Windows 10

Architecture

x64

.Net Version

.NET Framework 4.8

Implementation

WPF

Reproduction Steps

Install from nuget 121.3.70.0 CesfSharp version. Add wpf:ChromiumWebBrowser/ to XAML. Start application two times. Second start ends with crash.

CefSharpCrash.zip

Expected behavior

Working without crash

Actual behavior

Crash

Regression?

In version 119.4.30 it is working properly.

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

No

Other information

No response

@campersau
Copy link
Contributor

See #4668 (comment) / #4668 (comment)

@amaitland
Copy link
Member

Closing as duplicate of #4668

Expected behavior
Working without crash

Starting in version 120 a crash is expected as CEF now implements the Process Singleton which means Cef.Initialzie will return false for second process launch with the same cache path.

https://github.com/cefsharp/CefSharp/blob/cefsharp/121/CefSharp.Wpf/ChromiumWebBrowser.cs#L554

@amaitland amaitland closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@amaitland amaitland added the upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.
Projects
None yet
Development

No branches or pull requests

3 participants