Steps to reproduce
Ensure Obsidian sync is turned on.
Using the terminal (as MacOS finder does not allow this) inside the vault create a directory with a colon in its name and add a file to that directory so that Obsidian tries to sync it:
mkdir foo:bar && touch foo:bar/note.txt
Execute command “Open current tab in new window”.
Close the window that just opened.
Did you follow the troubleshooting guide? [Y/N]
Yes, restricted mode is turned on and snippets disabled.
Expected result
The window should close and the program should continue to function normally.
Actual result
The window does close, but the program is now frozen and completely unresponsive. The CPU is running at +100% due to the “Obsidian (helper)” process. I need to use “kill” to close the program.
If you turn off sync and perform the same steps, no freeze will occur.
Environment
SYSTEM INFO:
Obsidian version: v1.6.5
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 23.2.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: Things v2.1.20
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Additional information
It seems to not only occur when closing windows. I know it happens periodically as well when the program is just idle in the background.
I used to have my notes in VSCode that allows colons in directory names. I somehow managed to move these directories into Obsidian without being stopped. I probably used Finder to accomplish this. I’ve had these notes for at least a year in my Obsidian vault but it was first a couple of weeks ago that I started having issues with this.
Maybe there should be a migration strategy to rename directories/files containing colons? It’s quite an edge case but it was a pain to find the cause of the issue.