stuerp / foo_vis_spectrum_analyzer

A foobar2000 component that displays a spectrum analyzer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting Foobar2000 causes it to freeze if a music was playing or paused in a previous session

WagnerGFX opened this issue · comments

Where?

  • File > Preferences > Playback > [X] Save playback state when closing

Details

  • When the option above is enabled, Foobar will freeze when opening if there was any music playing or paused in the previous session.
  • If it was playing, the music will still resume, even if everything else is frozen.
  • There is no crash and Foobar must be terminated by Windows itself or Task Manager.
  • Reopening normally will still cause the issue.
  • The only fix is to run Foobar in safe mode (to stop the music) and then reopen it normally.
  • The issue does not happen if the component is not present in the layout or is hidden.
  • Re-enabling/showing the component before resuming the music also does not cause any issues.

System Info:

  • Windows 10 22H2
  • Foobar2000 v1.6.16
  • Visualizer v0.7.4.1

I did not know about that option.

However, I can't reproduce it with foobar2000 2.1.2. Even switching between the debug and release build of the component will not cause this behavior.

Is the whole fb2k UI frozen or just the component?

However, I can't reproduce it with foobar2000 2.1.2.

It could be a 1.6 issue. 😔

Is the whole fb2k UI frozen or just the component?

It's the whole fb2k. To the point where Windows ask if I want to terminate the application.

foobar freeze

Same problem repeats only with columns UI layout and "Save playback state when closing" options

Same problem repeats only with columns UI layout and "Save playback state when closing" options

Which version of foobar2000?

Latest version, 2.1.2 x64, portable. Clear installation without any component, except columns_ui and default options

Weird. I'll try to reproduce it but there is no clear reason. fb2k runs here on a continuous loop for at least 72h switching tracks every 3 seconds without a single hang-up or crash.

I was able to reproduce the problem. The deadlock only happens with CUI but I don't know why yet.

@WagnerGFX , @noisegrind3r ,

I think I fixed it. I was looking in the wrong place. Please try:

https://github.com/stuerp/foo_vis_spectrum_analyzer/releases/tag/v0.7.5.0-alpha1

Please know that the spectogram feature is not finished yet.

I can confirm that it's fixed for me 👍

I also confirm that the problem has been solved. Thank you!

@WagnerGFX , @noisegrind3r ,

Thank you both for providing me enough information to fix this. I regret the day I switched to a separate render thread...