Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low probability crash in CefBrowserPlatformDelegateNativeWin::CreateHostWindow() #3862

Open
EndoSakura opened this issue Dec 31, 2024 · 2 comments
Labels
alloy-style Related to Chrome runtime + Alloy style bug Bug report native Related to a native (non-Views) framework needs user feedback Additional feedback required windows Windows platform

Comments

@EndoSakura
Copy link

Describe the bug
The crash can be reproduced by closing the browser window quickly after it is created.
stack is here
image

To Reproduce
Steps to reproduce the behavior:

  1. After listening to WM_NCCREATE, closing the window can simulate this crash
    image

Expected behavior
Don‘t crush

Versions (please complete the following information):

  • OS: [eWindows 11]
  • CEF Version: 104
@EndoSakura EndoSakura added the bug Bug report label Dec 31, 2024
@magreenblatt
Copy link
Collaborator

CEF Version: 104

104 is an old/unsupported version. Please only report issues after testing with currently supported versions.

The crash can be reproduced by closing the browser window quickly after it is created.
After listening to WM_NCCREATE, closing the window can simulate this crash

Does this crash reproduce with an actual application? If so, how is that application window being closed?

@magreenblatt magreenblatt added windows Windows platform needs user feedback Additional feedback required alloy-style Related to Chrome runtime + Alloy style native Related to a native (non-Views) framework labels Jan 2, 2025
@EndoSakura
Copy link
Author

CEF Version: 104

104 is an old/unsupported version. Please only report issues after testing with currently supported versions.

  1. The problem also occurs in the latest version, because there is no change in this part of the code.

The crash can be reproduced by closing the browser window quickly after it is created.
After listening to WM_NCCREATE, closing the window can simulate this crash

Does this crash reproduce with an actual application? If so, how is that application window being closed?

2.Yes,this crash reproduce with my actual application。We did a crash report and found this crash. It only happened to about 0.01% of users, and I have no way of knowing how users closed the browser window so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alloy-style Related to Chrome runtime + Alloy style bug Bug report native Related to a native (non-Views) framework needs user feedback Additional feedback required windows Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants