Not quite sure how to diagnose this issue as it seems to be different things each time.
For example, if I open MusicBee I might see this error:
MusicBee v3.5.8698.34385D (Win10.0), 1 Dec 2024 11:33:
System.InvalidProgramException: JIT Compiler encountered an internal limitation.
at #=zeyHyk$73ZJCWSGSRJFlDVEU=.#=ziSNqJ7JUyhC3(Int32 #=zyrgbXNOBm5e6, Int32 #=zW0JIoE_QDVDQouPEnQ==, Boolean #=zFrVSS_N3wLHid$BdrA==)
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_.#=zcq$5BsZrF6IN.#=z0IpbCrDwbKK3jBZtjA==.#=zb04Nky8=(Boolean #=zQh3UQcw=)
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_.#=zcq$5BsZrF6IN.#=z0IpbCrDwbKK3jBZtjA==.#=zW3TgF6JGntc0()
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_.#=zcq$5BsZrF6IN.#=z2exC_RVRhvPV(Rectangle #=z98LGEkU=)
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_.#=zFVvRHqpeMcM8(#=z30GkcYAMcc$2 #=z23xvqzQ=, Boolean #=zC6CVpI7E9Nl2lRMNug==)
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_.#=zSAnR9lsRcFSE(#=z30GkcYAMcc$2 #=z23xvqzQ=, Boolean #=zC6CVpI7E9Nl2lRMNug==)
at #=zxdPeeS9uFa8oJzGFQK7gQYcaPZA_..ctor()
at #=zNw1gc6dmr6WcbwzSi_PPhpuKB_Qz.Main(String[] args)
Then if I close MusicBee and open it again, it's fine.
Then if i close it and open it again, I get this error:
The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
After that last one, it automatically opens ErrorLog.dat with the following info:
12/1/2024 11:35:47 AM - 10.0.22631.0 - 3.5.8698.34385D - System.UnauthorizedAccessException: Access is denied. Ensure that your windows account has permissions to write to the directory and file.
F:\Music\MusicBee\Podcasts\Subscriptions.dat
at #=zoWl4HwlBdhhchgBmM1zTOYc=.#=zqWyYGMvESSA8.#=zIqMXf1g=.#=zVoorW6im1cR5(#=zOPAFmqxyWq4nEsXBtA== #=zISH51ro=, FileMode #=z8AEP5GE=, FileAccess #=zhPldZ7I=, FileShare #=zeMBjpsw=, Int32 #=zqUN6Bpg=, Boolean #=zrKM776lfnggm)
at #=zIsw3bcT7BzmAyWeG6159JZg=.#=zOzH7qRT$YBNm()
at #=zIsw3bcT7BzmAyWeG6159JZg=.#=zh6H1UA0=()
at #=zIsw3bcT7BzmAyWeG6159JZg=.#=z__lQGtQ=()
12/1/2024 11:35:48 AM - Unable to load element: 2043008185 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 294702731 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 680370427 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 1247246715 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 1652300762 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 600796000 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 417864278 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 32512621 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 2043008185 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 294702731 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 680370427 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 1247246715 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 1652300762 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 600796000 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 417864278 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - Unable to load element: 32512621 - The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception.
12/1/2024 11:35:48 AM - 10.0.22631.0 - 3.5.8698.34385D - System.TypeInitializationException: The type initializer for '#=zOIWWVguGVSVpXhgxxZSxZwM=' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Runtime.Serialization.SerializationInfoEnumerator' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.Drawing.Image..ctor(SerializationInfo info, StreamingContext context)
at System.Drawing.Bitmap..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at #=z1lo9NI_g_PnDK7qe1L96hSY=.#=znh9Z28ZEi6je(String #=zId08MZ0=)
at #=z1lo9NI_g_PnDK7qe1L96hSY=.#=zri2sKYfTsv66(String #=zId08MZ0=)
at #=zOIWWVguGVSVpXhgxxZSxZwM=..cctor()
--- End of inner exception stack trace ---
at #=zeyHyk$73ZJCWSGSRJFlDVEU=.#=z$LVgOh2R4clFGsn7Lw==()
at #=zNw1gc6dmr6WcbwzSi_PPhpuKB_Qz.Main(String[] args)
Close and reopen and it's fine.
Close and reopen and I get:
Unable to load MusicBeeBass.dll (...)
Etc etc etc. Sometimes it opens fine and when it does throw an error it's a different error each time. It seems that only some errors record in ErrorLog.dat, and even then it's different errors.
Additionally, I am constantly losing preferences such as custom sort orders, column layouts, keybindings, etc. I assume it's all related to the above.
I've tried reinstalling, using portable, using Windows App Store version. I have tried with normal Windows permissions and with UAC turned off.
Any help in diagnosing would be appreciated!