Skip to content

Asp.net app crashes when uses OffScreen CefSharp #5086

@Fluttercom

Description

@Fluttercom

Is there an existing issue for this?

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

CefSharp Version

134.3.90

Operating System

Windows 10

Architecture

AnyCPU

.Net Version

.net 8

Implementation

OffScreen

Reproduction Steps

Trying to run the asp.net app with a BackgroundService inside.

`public class MyCefService: BackgroundService

{

public MyCefService()

{

Cef.Initialize(new CefSettings(), performDependencyCheck: false, browserProcessHandle: null);

}

}`

Expected behavior

The issue started to happen after upgrading the project vrom ver 102 to the latest and from .net6 to .net8.
Tried switching to x64, adding manifests etc.

Actual behavior

Getting network service and gpu process crashes after calling Cef.Initialize()

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

No

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions