Otiel / BandcampDownloader

A Windows app used to download albums from Bandcamp.
Other
962 stars 76 forks source link

Crash on Windows 11 22623.741 #232

Closed dertuxmalwieder closed 2 years ago

dertuxmalwieder commented 2 years ago

Since the last update, BandcampDownloader won't start anymore:

2022-10-23 17:58:12.0888  INFO   BandcampDownloader version: 1.4.1
2022-10-23 17:58:12.1390  INFO   .NET Framework version: 4.8 or later
2022-10-23 17:58:17.3268  FATAL  System.NotImplementedException The method or operation is not implemented.
2022-10-23 17:58:17.3268  FATAL     at MS.Internal.AppModel.ITaskbarList.HrInit()
   at System.Windows.Window.ApplyTaskbarItemInfo()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at BandcampDownloader.App.Main()
Otiel commented 2 years ago

Windows 11 22623.741

That's a preview version, right? I guess Microsoft broke the TaskbarItemInfo. It looks plausible since they seem to have done work on the taskbar in this preview.

If you're on preview, do you have a way to report this issue to Microsoft?

dertuxmalwieder commented 2 years ago

Yes, it is a preview version. I could report this "issue" to Microsoft, but your tool is the only application that does not behave properly as far as I can see - even Cairo Shell does not display any misbehavior, so I could guess that this is not a bug in a strict sense.

Otiel commented 2 years ago

Do you have any other app that is reporting progress on its taskbar icon?

image

If so, is it working correctly?

dertuxmalwieder commented 2 years ago

Oh, indeed: No more progress reporting in Vivaldi either! Looks like you are right indeed... sorry.

Otiel commented 2 years ago

No worries!

If you wish to report this to Microsoft, send them the following callstack and tell them the bug most probably arises on a Window with TaskbarItemInfo = new TaskbarItemInfo();

System.NotImplementedException The method or operation is not implemented.
   at MS.Internal.AppModel.ITaskbarList.HrInit()
   at System.Windows.Window.ApplyTaskbarItemInfo()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
dertuxmalwieder commented 2 years ago

FYI, the problem was fixed with an update today.

Otiel commented 2 years ago

Great news, thanks for the info!