-
Notifications
You must be signed in to change notification settings - Fork 970
Saving torrent file causes crash #13365
Comments
@darkdh possibly caused by the problem we had with |
@bsclifton no, this is because |
It seems to be reproducible also on Linux and Mac. |
When file download was initiated by adding target="_blank" w/o download property, clicking that link was initiating file download from newly created tab instead of current tab that has that link. When file download was controlled by download manager, newly created web contents was destroyed. However, brave was trying to find browser window's webcontents to show save dialog on it by using destroyed webcontents. But, it was already null, so can't find window pointer. It caused crash. We created a PR to fix the issue brave/muon#522 It allows downloading from newly created tab crash to be handled too. In this patch, use last active native window if there is no window related with download item. |
Updated the PR to move download closing code from browser-laptop to muon. It seems |
Created a new PR brave/muon#529 to amend the merged brave/muon#522. Just with the already applied patch, the tab would be closed whether it is newtab on download or not. |
Now that the |
Fixed with brave/muon#529 and #13404 Thanks, @ltilve 😄 👍 |
Description
Saving torrent file causes crash
Steps to Reproduce
Actual result:

Expected result:
Shouldn't crash when saving torrent file
Reproduces how often:
100%
Brave Version
about:brave info:
Reproducible on current live release:
No
Additional Information
Saving an image doesn't cause crash
#13350
cc: @darkdh @bridiver
The text was updated successfully, but these errors were encountered: