Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crashes after each song #21

Closed
Alligatorsaurus opened this issue Mar 27, 2020 · 8 comments
Closed

Crashes after each song #21

Alligatorsaurus opened this issue Mar 27, 2020 · 8 comments

Comments

@Alligatorsaurus
Copy link

Error messages as follows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '-3444' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
at MetroFramework.Controls.MetroProgressBar.set_Value(Int32 value)
at Spotify_Stream_Widget.Viewer.VB$StateMachine_42_UpdateTrack.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Spotify Stream Widget
Assembly Version: 1.3.1.0
Win32 Version: 1.3.1.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/Spotify%20Stream%20Widget.exe

Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

MetroFramework
Assembly Version: 1.4.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/MetroFramework.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

MetroFramework.Fonts
Assembly Version: 1.4.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/MetroFramework.Fonts.DLL

SpotifyAPI.Web.Auth
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/SpotifyAPI.Web.Auth.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

SpotifyAPI.Web
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/SpotifyAPI.Web.DLL

Unosquare.Labs.EmbedIO
Assembly Version: 2.9.2.0
Win32 Version: 2.9.2.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/Unosquare.Labs.EmbedIO.DLL

Unosquare.Swan.Lite
Assembly Version: 1.3.1.0
Win32 Version: 1.3.1.0
CodeBase: file:///F:/Twitch/Spotify%20Overlay/Unosquare.Swan.Lite.DLL

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Runtime.InteropServices.RuntimeInformation
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.2.23222
CodeBase: file:///F:/Twitch/Spotify%20Overlay/Newtonsoft.Json.DLL

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

@MarcoPNS
Copy link
Owner

MarcoPNS commented Jun 2, 2020

Does this happen when you listen to a local file? Interesting to see a negative value.

@Alligatorsaurus
Copy link
Author

Yes, I just played through with downloaded files and the same error occurs after the song ends. The widget works fine upon restart until the next song ends and the error occurs again.

@MarcoPNS
Copy link
Owner

MarcoPNS commented Jun 2, 2020

sometimes spotify can't handle downloaded mp3 files correctly. I will fix the bug so that the widget no longer crashes. However, it will not be able to show the time for these songs because Spotify transmits incorrect values.

@Alligatorsaurus
Copy link
Author

It has the issue with streamed files as well, unfortunately

@Alligatorsaurus
Copy link
Author

Currently testing with streamed songs

@Alligatorsaurus
Copy link
Author

confirmed to fail with streaming. I'm okay with not needing time stamps though, that's fine by me.

@MarcoPNS
Copy link
Owner

MarcoPNS commented Jun 2, 2020

Tomorrow I will release a new version. I will close this issue.

@MarcoPNS MarcoPNS closed this as completed Jun 2, 2020
@MarcoPNS
Copy link
Owner

MarcoPNS commented Jun 3, 2020

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants