Repository navigation
App freezes at startup with more than 20 playlists (Subsonic sync) #2256
alexis-morain
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi! I ran into a startup freeze with Nuclear 1.54.2 on macOS and wanted to share what I found, in case it helps.
With the Subsonic plugin's "Sync playlists" option on and 21 playlists on my server, Nuclear hangs at startup every time. The window shows up but nothing responds. Turning the sync off fixes it.
From a
sampleof the frozen process, it looks like a deadlock intauri-plugin-store2.4.4. Nuclear keeps at most 20 playlist files open and closes the oldest one when a 21st is needed. When the sync loads all playlists at once, that close runs while other playlists are still loading, and the store plugin locks up. With 20 playlists or fewer nothing gets closed, which may be why nobody has hit it yet.The store bug was fixed upstream in tauri-apps/plugins-workspace#3746 (merged on November 5), but I don't think it's in a release yet.
A few ideas, not sure which one fits best:
tauri-plugin-storeonce the fix is releasedI also opened a ticket on the plugin side (cbrunie/nuclear-plugin-subsonic#1) so it loads playlists one at a time.
Has anyone else seen this with a lot of playlists? I can share the full stack trace if it's useful.
All reactions