Skip to content

CefSharp (libcef.dll v 146.0.10.0) Causes Program to Crash When Attempting to Open an Attachment in a PDF document #5234

@rboberholz

Description

@rboberholz

Is there an existing issue for this?

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

CefSharp Version

146.0.100

Operating System

Windows 11

Architecture

x64

.Net Version

.Net Framework 4.8

Implementation

WinForms

Reproduction Steps

Using CefSharp.MinimalExample.net472.sln with URL: 'https://costamesa.legistar.com/View.ashx?M=A&ID=1385398&GUID=4794A224-FC17-4FD4-A218-0B7CC8E1E638' the problem is reproducible.
Scroll to and agenda item that has an attachment and try to open it.

Expected behavior

The attachments should open.

Actual behavior

The program crashes with the following error message in the Event Viewer.

Faulting application name: CefSharp.MinimalExample.WinForms.net472.exe, version: 1.0.0.0, time stamp: 0xccf3054b
Faulting module name: libcef.dll, version: 146.0.10.0, time stamp: 0x69cadf49
Exception code: 0xc0000005
Fault offset: 0x00000000014a1150
Faulting process id: 0x9404
Faulting application start time: 0x1DCD37DD04E6A4B
Faulting application path: F:\CefSharp.MinimalExample-master\CefSharp.MinimalExample-master\CefSharp.MinimalExample.WinForms\bin.net472\Debug\net472\CefSharp.MinimalExample.WinForms.net472.exe
Faulting module path: F:\CefSharp.MinimalExample-master\CefSharp.MinimalExample-master\CefSharp.MinimalExample.WinForms\bin.net472\Debug\net472\x64\libcef.dll
Report Id: f8e9af22-2f35-42f5-8815-1dc35a276c64
Faulting package full name:
Faulting package-relative application ID:

Regression?

PDF attachments open as expected with (LibCef.dll v 138.0.34.0) on a windows 10 machine but not on a windows 11 machine.

Known Workarounds

None other than don't open any attachments from a PDF.

Does this problem also occur in the CEF Sample Application

Yes using WinForms command line args

Other information

The problem persisted as reported in the Event Viewer.

Faulting application name: cefclient.exe, version: 146.0.7.0, time stamp: 0x69bdd92e
Faulting module name: libcef.dll, version: 146.0.7.0, time stamp: 0x69bdd92e
Exception code: 0xc0000005
Fault offset: 0x00000000014cfcc0
Faulting process id: 0x86D4
Faulting application start time: 0x1DCD3816E3FE1A0
Faulting application path: F:\cef_binary_146.0.7+ga6b143f+chromium-146.0.7680.165_windows64_client\Release\cefclient.exe
Faulting module path: F:\cef_binary_146.0.7+ga6b143f+chromium-146.0.7680.165_windows64_client\Release\libcef.dll
Report Id: cffe28ce-ba9e-4724-8561-4e3361ad2962
Faulting package full name:
Faulting package-relative application ID:

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThese issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions