Author Topic: MusicBee only playing music for 0.5-1 second, then skipping, resulting in crash.  (Read 306 times)

mored

  • Newbie
  • *
  • Posts: 5
I have recently started having an issue with MusicBee (as well as other music players, which is why I didn't put this in bug reports), where on some start ups of my PC I cannot play music because it keeps skipping automatically (about 1 second into the song) which then results in an eventual crash. The only way I've found to be able to fix this, is to just restart my PC, but this issue has really begun to aggravate me.

I've realized that this isn't really a MusicBee issue, since something very similar is happening with other music players I've tried as well (foobar2000, AIMP etc). So I'm just asking here for general advice as to what this issue may be.

I'm on Windows 11.

Error:

Code
MusicBee v3.5.8698.34385D  (Win10.0), 30 Jan 2024 14:10:

System.NullReferenceException: Invalid pointer

stream
   at Windows.Storage.Streams.RandomAccessStreamReference.CreateFromStream(IRandomAccessStream stream)
   at MusicBeePlugin.Plugin.<SetArtworkThumbnail>d__218.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34344
try disabling all plugins and then restart MB. That error is from a plugin.
Also if you are using any DSP plugins, disable them as well

mored

  • Newbie
  • *
  • Posts: 5
try disabling all plugins and then restart MB. That error is from a plugin.
Also if you are using any DSP plugins, disable them as well

I'll try this the next time it happens, although like I said it's not just MusicBee where this problem occurs.

Thanks for the reply nonetheless, I'll update my progress if it happens again.

mored

  • Newbie
  • *
  • Posts: 5
Okay, an update: Disabling the plugins got rid of the errors, but playback still just stops around half a second into any song. What's weird is I can start to hear the song playing before it stops, so something outside of MusicBee (and Foobar) must be just stopping the playback. I can play the music files manually if I open them up in Windows Media Player straight from Windows Explorer, just not in MusicBee/Foobar until I restart.

I also should have mentioned that my music is not on the C: drive (where MusicBee is installed), but a seperate SATA SSD.

I've recorded what it looks like:

Last Edit: February 03, 2024, 04:37:05 AM by mored

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34344
try setting the player buffer to a few seconds or using WASAPI (exclusive) in the player preferences

mored

  • Newbie
  • *
  • Posts: 5
try setting the player buffer to a few seconds or using WASAPI (exclusive) in the player preferences

Tried both of these, still no luck.  :(

mored

  • Newbie
  • *
  • Posts: 5
Update: So I suppose I haven't found and diagnosed the issue at heart, but I have applied a band-aid fix so to speak by turning off fast startup - haven't had a problem since.