Unusual crash puts almost 200 tabs in an open window

I had a strange crash earlier today and would like to know whether it generated a crash report that Brave can review.

The result was similar to issues I have reported before relating to bookmarks. However, in the current case only tabs in a single window were involved.

For no evident reason I suddenly saw approximately 200 tabs populating an open window that already had tabs. There is no logic I can discern to which tabs were pulled in, which included an indeterminate number that were from other windows, both current and non-current. The latter included some that were very old and would have been stored only in saved bookmarks files.

After backing up all the tabs in that window, I closed it and reopened it to create the same status it had before this ‘massive tab swarm’ event occurred.

If a crash report was made and sheds some light on what happened, i’d appreciate being informed.

Thanks.

Mac OS 10.15.7 (Catalina)
Brave . . . Version 1.69.168 Chromium: 128.0.6613.138 (Official Build) (x86_64)

@mk7z

How do I manually submit crash reports?

https://support.brave.com/hc/en-us/articles/22281484910221-How-do-I-manually-submit-crash-reports

After you click the “Send Now” button, return to brave://crashes and gather up the Crash Report ID numbers that end with a string of zeros. Post the numbers, here, in a new reply. Example of a Crash Report ID number:

1 Like

Thanks, @289wk, I’m not seeing any record of a crash in brave://crashes. When I logged back in from a restart, there was a prompt informing me that Brave had not closed down properly and asking whether I wanted the windows that had been open prior to the ‘crash’ restored. Maybe that prompt doesn’t necessarily indicate an actual ‘crash’ (?)

I also assumed it was a crash because of the event described in the original post. But it looks like Brave didn’t see that as a crash either.

I’m pretty sure I have “Automatically send diagnostic reports” enabled but I can’t seem to find that option. Which Settings section is it in?

Thanks again for your post.

SCREENSHOT:

Crashes (0) Show developer details

You have no recently reported crashes. Crashes that occurred when crash reporting was disabled will not appear here.

You can use the Brave Browser Settings search feature, searching for what you wrote.

“Brave Browser Settings search feature” ← Search icon → the magnifying glass:

In addition, read the instructions - see the link of my earlier reply, above. You will find a path to where crash reports are stored.

Upon reading the instructions, one finds - notice the path, and you would be looking for .dmp files ← report the contents of the completed folder:

Path for MacOS users:

/Users/[username]/Library/"Application Support"/BraveSoftware/Brave-Browser/Crashpad/completed

( @Mattches - the MacOS path in the following screenshot, has an error - a backslash where there should be a forwardslashhe AND there should not be a tilde character at the beginning of the path - re Brave Crash Report help webpage. )

1 Like

@289wk Thanks. What I meant there was ‘which category’ (left sidebar) houses ‘Data collection’, the sub-category where “Automatically send diagnostic reports“ is found?

The URL in your earlier reply seems to rely on there being an actual ‘crash report’ under brave://crashes, which wasn’t the case. When I enter the URL I just get an error message – “File couldn’t be accessed”.

Did you mean that data about what I experienced (‘crash’ or ‘no crash’) can still be found somewhere else?

@mk7z

Updated a reply that I made, above.

@289wk

I may be misunderstanding or missing something, but I don’t see which left sidebar category one can open to get to the ‘Data collection’ options. (Or maybe it’s not in any of them and one just has to use the search bar to get to it?)

The options related to crashes in your reply and at “https://support.brave.app/hc/en-us/articles/22281484910221-How-do-I-manually-submit-crash-reports“ don’t seem to apply in my case. I didn’t experience a crash from a restart (“What if the browser crashes on startup?“).
Clicking on the URL just results in the error message I noted in my previous reply.

@mk7z

Repeating:

Upon reading the instructions, one finds - notice the path, and you would be looking for .dmp files ← report the contents of the completed folder:

Path for MacOS users:

/Users/[username]/Library/"Application Support"/BraveSoftware/Brave-Browser/Crashpad/completed

1 Like

@289wk For some reason I can’t get that URL to do anything but return an error message. So I also can’t get to the .dmp files.

I copied the URL and put it in the URL line of a new tab, did nothing else other than replacing “[username]” with my login name for the computer. Hit ‘Return’ and the error message quoted above displays.

@mk7z

1 Like

Thanks for that. There doesn’t seem to be anything at all in any of the Crashpad folder’s subfolders (i.e., they – including ‘completed’ – are all empty). The only other things there (as shown below at the bottom) are the two ‘files’ in the Crashpad folder.

@mk7z

So you now know the answer to your:

“If a crash report was made and sheds some light on what happened, i’d appreciate being informed.”

The remaining, why:

“suddenly saw approximately 200 tabs populating an open window that already had tabs”

My guesses re “why”:

a) 1 or more extensions, or

b) on a reload or startup, Brave Browser decided that it did not like/understand something, and then picked an internal restoration scheme ← that swept up/altogether what it could find.

May interest:

When you want to restore Brave Browser (MacOS) to a known-working status 'back in time' - you need a chronological backup

In order to make chronological backups of the Brave Browser (MacOS) installation’s BraveSoftware folder at:

/Users/[username]/Library/Application Support/BraveSoftware

I created an AppleScript, used within an Automator application, that I named bkup_BraveSoftware_fldr.app.

When Brave Browser does something strange, and you want to restore Brave Browser to a known-working status “back in time,” then - WITHOUT Brave Browser running (your making sure, by examining the Activity Monitor application) - you can set the existing BraveSoftware folder at:

/Users/[username]/Library/Application Support/BraveSoftware

aside . . . and expand one of the chronological backups → will cause that backup’s un-zipped folder BraveSoftware to show at:

/Users/[username]/Documents/BraveSoftwareBKUPS/BraveSoftware

and move that older BraveSoftware into position at:

/Users/[username]/Library/Application Support/

Thus, restoring Brave Browser to a slightly older point in time.

That is how I have restored all Internet browsers on the Mac, for many years, by maintaining chronological backups.


Steps to create the backup application

Startup Automator application ← it is in the Applications folder.

Click the Application icon, and then click the Choose button.

In the Untitled (Application) window that displays, the adjacent scroll area to the left ← scroll down in that area, to Run AppleScript

Drag that Run AppleScript action over to the right . . . and into the area that reads: Drag actions or files here to build your workflow.

A frame will display with title Run AppleScript

You are going to copy the AppleScript code and paste it on the area that reads: (* Your script goes here *)

The AppleScript to copy, is the entire, lightly-gray-shaded area:

--
--
-- Makes a .zip compressed backup of the BraveSoftware folder located
-- at: /Users[/username]/Library/Application Support/BraveSoftware
--
-- The backup is stored
-- at: /Users[/username]/Documents/BraveSoftwareBKUPS/
--
-- The backups are named in order for them to display in the Finder,
-- in chronological order; example:
--
-- 20260207-234745_EST_Saturday_BraveSoftwareBKUP.zip
--
set hmFldr to (path to home folder) as string
set storedDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to {":"}
set btVol to first text item of hmFldr
set usrNm to third text item of hmFldr
set AppleScript's text item delimiters to storedDelimiters
--
set POSIXpthToBraveSoftware to "/Volumes/" & btVol & "/Users/" & usrNm & "/Library/Application Support/BraveSoftware"
set POSIXpthToBraveSoftwareQ to quoted form of POSIXpthToBraveSoftware
--
set bkupPth to "/Volumes/" & btVol & "/Users/" & usrNm & "/Documents/BraveSoftwareBKUPS/"
set bkupPthQ to quoted form of bkupPth
--
tell me to (do shell script ("mkdir -p " & bkupPthQ))
--
tell me to set dateTimeStamp to ("" & (do shell script "date \"+%Y-%m-%d %H.%M.%S\" | sed -e 's/\\.//g' -e 's/\\-//g' -e 's/\\ /-/g'") & "_" & (do shell script "date | egrep -o 'EDT|EST|CDT|CST|MDT|MST|PDT|PST'") & "_" & (do shell script "date | sed -e 's/\\ .*//g' -e 's/Sun/Sunday/g' -e 's/Mon/Monday/g' -e 's/Tue/Tuesday/g' -e 's/Wed/Wednesday/g' -e 's/Thu/Thursday/g' -e 's/Fri/Friday/g' -e 's/Sat/Saturday/g' -e 's/\\...$//g'") & "") -- .%S seconds: -e 's/\\...$//g'
--
set destItem to bkupPth & dateTimeStamp & "_BraveSoftwareBKUP.zip"
set destItemQ to quoted form of destItem
--
tell me to (do shell script ("ditto -c -k -X --sequesterRsrc " & POSIXpthToBraveSoftwareQ & " " & destItemQ & "; wait"))
--
--
--
--

After the paste action, you will see:

Next, in the Automator’s menu bar > select File and scroll down to, and select, Save...

A pop-up window will display, where you can create the name for the new application - replacing Untitled:

with bkup_BraveSoftware_fldr

Click the Save button, saving the new application to your Desktop.

Quit Automator.

When you run the bkup_BraveSoftware_fldr.app application, a backup of the BraveSoftware folder at:

/Users/[username]/Library/Application Support/BraveSoftware

will appear at:

/Users/[username]/Documents/BraveSoftwareBKUPS/

A screenshot taken after 3 runs of the bkup_BraveSoftware_fldr.app application:

1 Like

@289wk Thanks again. This didn’t occur on a reload or startup, and I only have two extensions that I’ve used for a long time without incident. So I guess my issue goes into the ‘cause unknown’ barrel.
In your last paragraph were you referring to Time Machine backups or something else? I don’t have the sense that a TM backup would be practical since I would need to know exactly what files to extract from it, and regarding that I would have no clue. Activity Monitor displays many Brave-related files/processes.

Thanks for your attempts to assist me.

@mk7z

No problem; and, you are OK.

‘Where Brave Browser Profiles Are Located’

  • MacOS: /Users/[username]/Library/Application Support/BraveSoftware/Brave-Browser/Default

Specifically, the BraveSoftware folder. When an Internet browser has had a problem on the Mac, I Exit / Quit everything, move that folder to the Desktop ( /Users/[username]/Desktop ) and locate one of the more recently backed up folders ← that I have stored with chronological names. Example of backup filename:

  • 20260115_EST_Thursday_Brave_v1.85.120_BraveSoftwareBKUP.zip

So I know the backup to use, per Brave Browser version. My backup application produces a filename:

  • 20260115_EST_Thursday_BraveSoftwareBKUP.zip

And I might edit that name, to include the Brave_v1.85.120 portion.

IOW, I maintain a chronological record of potential restoration files, so I know “what is where, and when”. I do not leave the matter soley to the MacOS Time Machine.

When a browser seems troubled - usually obvious within a day or two - I take steps to replace the existing BraveSoftware folder:

  • MacOS: /Users/[username]/Library/Application Support/BraveSoftware

Re extensions - many of them are subject to being updated.

1 Like

Thanks, @289wk. I’ll have to think about this for a while.

Does a BraveSoftwareBKUP.zip file contain user data files or just Brave systemware? In other words, is what you’ve described a way to resurrect user files that may have been lost in a crash or is it just way to restart with a clean slate (profile) in Brave?

Also, was “My backup application” intended to be a link to your bkup software? It seems to just reopen this webpage.