brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.51k stars 2.27k forks source link

Brave crashes when closing window #40002

Open vargn opened 1 month ago

vargn commented 1 month ago

Description

After updating to brave-bin 1:1.68.128-1 on Arch+i3 i'm experiencing crashes whenever I try to close a window.

Steps to reproduce

  1. Open Brave with a handful of windows with multiple tabs in each of them.
  2. Choose a window and close all but one tab, then, try closing the last tab or closing the window itself.
  3. See crash

Actual result

The result is that Brave crashes and closes all windows. Upon restart, a restore of all windows are needed.

Expected result

I expect the window to close without crashing Brave.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

1.68.128 Chromium: 127.0.6533.73 (Official Build) (64-bit) Linux - Arch+i3

Channel information

Reproducibility

Miscellaneous information

No response

vargn commented 1 month ago

Probably related to https://github.com/brave/brave-browser/issues/39986

Renari commented 1 month ago

This is happening for me on Windows as well, always when closing the last tab in a window. I've found that pressing Ctrl+W seems to make it not happen.