Skip to content

Running app as a Windows service causes libcef.dll hardcrash (regression) #5099

@dkrainyk

Description

@dkrainyk

Is there an existing issue for this?

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

CefSharp Version

135.0.22

Operating System

Windows Server 2019

Architecture

x64

.Net Version

.Net 4.8

Implementation

OffScreen

Reproduction Steps

  1. Build a console app with CefSharp OffScreen
  2. Program it to open any website (e.g. google)
  3. Install and run it as a Windows service

Expected behavior

Browser should load the site.

Actual behavior

Hard crash in libcef.dll, Exception code 0x80000003, fault offset 0x00000000019d5a53
crash dump stack trace analysis points to embedder_support/user_agent_utils.cc GetUniversalApiContractVersion

Regression?

It did work at least in 117, as we are trying to upgrade this service to 135 right now. We will try to determine the last working version.

Known Workarounds

If you run the same console app manually in the same environment it will work fine.

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

Probably a downstream problem in CEF, but posting here for now to see if caused by CefSharp.

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