Obsidian-Surfing
Obsidian-Surfing copied to clipboard
[Bug]: obsidian crash when surfing tab with chatgpt.com open on startup
Bug Description
After booting my computer and launching Obsidian, it kept silently crashing when nearly done loading everything. At first i thought it was a ram/cpu issue, but found that it wasn't.
After debugging by removing plugins from the plugins folder and gradually moving them back, i found that Surfing was causing the crash. One of the tabs opened from last session was a Surfing instance showing chatgpt.com.
I've spent some time trying out different scenarios several times each and have found this:
- i tried with another domain (https://unicodes.jessetane.com/), which didn't cause problems
- It happens more often when surfing tab is out of focus and open in a secondary window, as was the case the first time
- sometimes, when surfing tab open in secondary window, the window would just not open on obsidian startup, including other tabs in it, only main window would open
- removing all other plugins and css snippets doesn't do any difference
Surfing version is 0.9.12 Windows 10 Pro 22H2 19045.4529
Relevant Screenshot
No response
To Reproduce
- open any md note in a secondary obsidian window, so you have 2 windows with at least one note in each
- open a Surfing tab in the secondary window and navigate to chatgpt.com
- switch focus to the note instead of the surfing tab in the secondary window
- focus the main window and press
alt+F4
to close obsidian (when main window is closed, other windows will close too) - reopen obsidian, wait for it to finish loading everything
- observe obsidian crash
Obsidian Version
1.6.5
web-browser-only
- [X] Did you install only one web browser plugin?
Checklist
- [X] I updated to the latest version of the plugin.