chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.38k stars 467 forks source link

Crash after reloading invalid PDF file in PDF viewer #3793

Closed fa0110 closed 1 month ago

fa0110 commented 2 months ago

In CEF_RUNTIME_STYLE_ALLOY style, when opening a PDF file with error, CRASH occurred when clicking the reload button.

Internal file chrome: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/shared.rollup.js

In line 381 event click: <cr-button class="action-button" @click="${this.onReload_}">

Versions (please complete the following information):

magreenblatt commented 1 month ago

More details in https://magpcss.org/ceforum/viewtopic.php?f=6&t=19966

magreenblatt commented 1 month ago

Using the following steps:

  1. Create an empty PDF file.
  2. Run cefclient --use-alloy-style --url=file:///D:/temp/empty.pdf
  3. Click the "Reload" button.

I can reproduce with 129.0.6+ga918aa7+chromium-129.0.6668.29 but not 130 (current master). So, looks to be fixed in M130.