Skip to content

Random crash while using a Clickonce application with CefSharp 124.3.80 #4816

Description

@yefka

Is there an existing issue for this?

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

CefSharp Version

124.3.80

Operating System

Windows 11

Architecture

x64

.Net Version

.Net 4.7.2

Implementation

WinForms

Reproduction Steps

Since I upgraded from 117.* to 124.3.80 I get some random crash while starting the application.
No .Net exception is raised, and on the Debug console I just get an error message "Access Violation".
I've joined here a screenshot of the EventLog.

image

The errors occurs on the application startup, during CefSharp initialization.
I only got this behavior while using a Clickonce application, it didn't occur with the 117.* version and below.

Expected behavior

It should not crash.

Actual behavior

About 90% of the time, the app crashes on startup

Regression?

Yes

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions