lastfm / lastfm-windows-desktop

Last.fm Desktop app for Windows (3.0)
GNU General Public License v3.0
10 stars 1 forks source link

Crashes at start-up on Windows 7 #34

Closed ben-xo closed 6 years ago

ben-xo commented 6 years ago

From Event Viewer:

Event 1: (Application Error)

Faulting application name: DesktopScrobbler.exe, version: 1.0.0.0, time stamp: 0x59d4a8f2 Faulting module name: wmp.dll, version: 12.0.7601.18741, time stamp: 0x54d03ca2 Exception code: 0xc0000005 Fault offset: 0x0013a58e Faulting process id: 0xab0 Faulting application start time: 0x01d33cf7b0be831a Faulting application path: C:\Users\ben\Downloads\Desktop Scrobbler 3.0 Preview 2017-10-04\Desktop Scrobbler 3.0 Preview 2017-10-04\DesktopScrobbler.exe Faulting module path: C:\Windows\system32\wmp.dll Report Id: f111a29d-a8ea-11e7-ae9a-080027e829bc

Event 2: (.NET Runtime Error)

Application: DesktopScrobbler.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException Stack: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__5(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Event 3: (Application Error)

Faulting application name: DesktopScrobbler.exe, version: 1.0.0.0, time stamp: 0x59d4a8f2 Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86 Exception code: 0xe0434352 Fault offset: 0x0000c42d Faulting process id: 0xab0 Faulting application start time: 0x01d33cf7b0be831a Faulting application path: C:\Users\ben\Downloads\Desktop Scrobbler 3.0 Preview 2017-10-04\Desktop Scrobbler 3.0 Preview 2017-10-04\DesktopScrobbler.exe Faulting module path: C:\Windows\syswow64\KERNELBASE.dll Report Id: f44d8512-a8ea-11e7-ae9a-080027e829bc

VorTechS commented 6 years ago

A possible null checking issue, although the null checking occured outside of the await block, so that might not be the problem?

ben-xo commented 6 years ago

First fix failed.

Still crashes, with this

Application: DesktopScrobbler.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at DesktopScrobbler.WindowsMediaScrobbleSource+<b__27_0>d.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_1(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

VorTechS commented 6 years ago

Re-factoring introduced some null checking issues. Sorry!