Skip to content

Crash on Alert / Prompt / Confirm dialogs #5192

@Guy-Shahaf

Description

@Guy-Shahaf

Is there an existing issue for this?

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

CefSharp Version

141.0.110

Operating System

Windows 11

Architecture

x86

.Net Version

.Net 4.6.2

Implementation

WPF

Reproduction Steps

create a small html that uses Alert / Prompt / Confirm functions:

html_example.html

Expected behavior

Popup dialogs

Image Image Image

Actual behavior

Application crashes without warning.
Event in Windows Application log:

Faulting application name: CefSharp.MinimalExample.Wpf.net472.exe, version: 1.0.0.0, time stamp: 0xaccf11db
Faulting module name: libcef.dll, version: 141.0.11.0, time stamp: 0x68f6bb4d
Exception code: 0xc0000005
Fault offset: 0x0000000003bf1364
Faulting process id: 0x9E8C
Faulting application start time: 0x1DC4F02F6F62B80
Faulting application path: C:\Users\Guy\Source\Repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.net472\Debug\net472\CefSharp.MinimalExample.Wpf.net472.exe
Faulting module path: C:\Users\Guy\Source\Repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.net472\Debug\net472\x64\libcef.dll
Report Id: 48d0ec9b-ce35-4219-adf6-80f6cc3767a7
Faulting package full name:
Faulting package-relative application ID:

Regression?

Yes. version 140.1.140 works fine

Known Workarounds

Handling OnJSDialog in JsDialogHandler.

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

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions