Modernflyouts: Bug: App crashes while changing media tracks

Created on 11 Oct 2020  ·  20Comments  ·  Source: ModernFlyouts-Community/ModernFlyouts

@exzenous

Describe the bug:
Crashes when the cover art hasn't finished download and I want to adjust the volume, the window pops up and shows placeholder cover art and crashes. Tried on Apple Music Web Player (Third-party one but should be the same across web based players), Spotify doesn't has this problem, maybe because it could be done just in time.

To Reproduce:
Steps to reproduce the behavior:
1.Skip or wait until the song is changing
2.Adjust the volume

Screenshot:
Imgur

OS Version:

  • Windows 10 Insider Beta Channel version 20H2 build 19042.572

ModernFlyouts Version:

  • Version: 0.7.1

Additional context:
It seems that when I switch between Spotify and Apple Music Web App, ModernFlyout doesn't update itself to match the current player


@NotExactlyMeButMeh

I've got a similar issue, however it seems to be caused by media such as music from Spotify changing too many times. Cover art will eventually fail to update on song change until it will inevitably crash and you must restart the program. Last time it crashed it caused the start menu and other explorer aspects to lag behind inputs by a number of seconds.

To Reproduce:
Steps to reproduce the behavior:

  1. Open ModernFlyouts
  2. Ensure that it is working by toggling something such as Caps Lock/Num Lock.
  3. Start playing or if you are already playing media through a platform such as Spotify, continue.
  4. Attempt to change songs multiple times, forwards or backwards it does not matter. Use the media keys or the buttons on the flyout to do this.
  5. Watch as cover art will stop updating and the app will eventually crash.

OS Version:

  • Windows 10 Version: Windows 10 1909 Home Edition

ModernFlyouts Version:

  • Version: v0.7.1 (installed from the GitHub Mxis-bundle package)

@smdx

Hello, the app crashes while running in the background.

Windows 10 Pro For Workstations-64bit-19042.508

.NET Runtime:

日志名称: Application
来源: .NET Runtime
日期: 2020/10/11/周日 13:18:22
事件 ID: 1026
任务类别: 无
级别: 错误
关键字: 经典
用户: 暂缺
计算机: DESKTOP-98989856
描述:
Application: ModernFlyouts.exe
CoreCLR Version: 5.0.20.45114
.NET Version: 5.0.0-rc.1.20451.14
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
at WinRT.IObjectReference.ThrowIfDisposed()
at WinRT.IObjectReference.AsTypeT
at ABI.Windows.Foundation.IAsyncOperationWithProgress2.As[A]() at ABI.Windows.Foundation.IAsyncOperationWithProgress2.global::Windows.Foundation.IAsyncInfo.Cancel()
at System.IO.StreamOperationAsyncResult.CancelStreamOperation()
at System.IO.StreamOperationAsyncResult.Finalize()

事件 Xml:



1026
0
2
0
0
0x80000000000000

7506


Application
DESKTOP-98989856



Application: ModernFlyouts.exe
CoreCLR Version: 5.0.20.45114
.NET Version: 5.0.0-rc.1.20451.14
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
at WinRT.IObjectReference.ThrowIfDisposed()
at WinRT.IObjectReference.AsTypeT
at ABI.Windows.Foundation.IAsyncOperationWithProgress2.As[A]() at ABI.Windows.Foundation.IAsyncOperationWithProgress2.global::Windows.Foundation.IAsyncInfo.Cancel()
at System.IO.StreamOperationAsyncResult.CancelStreamOperation()
at System.IO.StreamOperationAsyncResult.Finalize()


====================
日志名称: Application
来源: Application Error
日期: 2020/10/11/周日 13:18:22
事件 ID: 1000
任务类别: (100)
级别: 错误
关键字: 经典
用户: 暂缺
计算机: DESKTOP-98989856
描述:
错误应用程序名称: ModernFlyouts.exe,版本: 0.6.5.0,时间戳: 0x5f4ed7fa
错误模块名称: KERNELBASE.dll,版本: 10.0.19041.488,时间戳: 0x42f14898
异常代码: 0xe0434352
错误偏移量: 0x00129962
错误进程 ID: 0x2a0c
错误应用程序启动时间: 0x01d69f6caf7f250b
错误应用程序路径: C:\Program Files\WindowsApps\32669SamG.ModernFlyouts_0.6.5.0_x86__pcy8vm99wrpcg\ModernFlyouts\ModernFlyouts.exe
错误模块路径: C:\Windows\System32\KERNELBASE.dll
报告 ID: 04fe0639-f247-4c58-b8e6-7d425e1ddb96
错误程序包全名: 32669SamG.ModernFlyouts_0.6.5.0_x86__pcy8vm99wrpcg
错误程序包相对应用程序 ID: App
事件 Xml:



1000
0
2
100
0
0x80000000000000

7507


Application
DESKTOP-98989856



ModernFlyouts.exe
0.6.5.0
5f4ed7fa
KERNELBASE.dll
10.0.19041.488
42f14898
e0434352
00129962
2a0c
01d69f6caf7f250b
C:\Program Files\WindowsApps\32669SamG.ModernFlyouts_0.6.5.0_x86__pcy8vm99wrpcg\ModernFlyouts\ModernFlyouts.exe
C:\Windows\System32\KERNELBASE.dll
04fe0639-f247-4c58-b8e6-7d425e1ddb96
32669SamG.ModernFlyouts_0.6.5.0_x86__pcy8vm99wrpcg
App

Bug Help Wanted High Priority Known issue

Most helpful comment

我是 0.6.8 还是崩溃

Translation: I am using v0.6.8 but it still crashes

我昨晚更新到现在还没遇到崩溃的现象,你系统什么版本啊?另外提供一下崩溃日志给作者吧。
开始菜单左下角右键-事件查看器-Windows日志-应用程序 找一下崩溃日志。

Translation:
I updated last night and haven’t experienced a crash. What version of your system? In addition, provide the author with the crash log.
Right-click in the lower left corner of the start menu-Event Viewer-Windows Log-Applications Find the crash log.

All 20 comments

Thanks for reporting the bug!

I'll will look into this

Does this issue still persists in v0.6.8?

Could you try updating the app and report to me whether or not this bug occurs?

Okay, update this version now. I will report if there is a problem.

Does this issue still persists in v0.6.8?

Could you try updating the app and report to me whether or not this bug occurs?

There is no version 0.6.8 available for download?

Did you check MS store?

MS store checked the version 0.6.5

No way! It shows v0.6.8 for me.

@Samuel12321, could you give this person an installable package of v0.6.8?

The version number in the MS store is incorrectly marked and has been successfully updated. Observe for a period of time if there is a problem and then report it.
2020-10-14_000157

Thanks for the quick response 👍.

Take your time and report to me once this happens again.

yes the store page is incorrect, i wrote 0.6.5 when it should say 0.6.8. The actual package from the store is 0.6.8.

Will fix the store page now.

have uploaded the 0.6.8 package to GitHub

我是 0.6.8 还是崩溃

Translation: I am using v0.6.8 but it still crashes

我是 0.6.8 还是崩溃

Translation: I am using v0.6.8 but it still crashes

我昨晚更新到现在还没遇到崩溃的现象,你系统什么版本啊?另外提供一下崩溃日志给作者吧。
开始菜单左下角右键-事件查看器-Windows日志-应用程序 找一下崩溃日志。

Translation:
I updated last night and haven’t experienced a crash. What version of your system? In addition, provide the author with the crash log.
Right-click in the lower left corner of the start menu-Event Viewer-Windows Log-Applications Find the crash log.

日志名称: Application
来源: .NET Runtime
日期: 10/13 星期二 15:52:12
事件 ID: 1026
任务类别: 无
级别: 错误
关键字: 经典
用户: 暂缺
计算机: TXH‘s-Y7000P
描述:
Application: ModernFlyouts.exe
CoreCLR Version: 5.0.20.45114
.NET Version: 5.0.0-rc.1.20451.14
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
at WinRT.IObjectReference.ThrowIfDisposed()
at WinRT.IObjectReference.AsTypeT
at ABI.Windows.Foundation.IAsyncOperationWithProgress2.As[A]() at ABI.Windows.Foundation.IAsyncOperationWithProgress2.global::Windows.Foundation.IAsyncInfo.Cancel()
at System.IO.StreamOperationAsyncResult.CancelStreamOperation()
at System.IO.StreamOperationAsyncResult.Finalize()

事件 Xml:



1026
0
2
0
0
0x80000000000000

9294


Application
TXH‘s-Y7000P



Application: ModernFlyouts.exe
CoreCLR Version: 5.0.20.45114
.NET Version: 5.0.0-rc.1.20451.14
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
at WinRT.IObjectReference.ThrowIfDisposed()
at WinRT.IObjectReference.AsTypeT
at ABI.Windows.Foundation.IAsyncOperationWithProgress2.As[A]() at ABI.Windows.Foundation.IAsyncOperationWithProgress2.global::Windows.Foundation.IAsyncInfo.Cancel()
at System.IO.StreamOperationAsyncResult.CancelStreamOperation()
at System.IO.StreamOperationAsyncResult.Finalize()


Woah! @Samuel12321, this is the bug I told you about on discord.

It now throws this System.ObjectDisposedException: Cannot access a disposed object. instead of invalid cast exception.

This exact same bug happens now.

Thanks @smdx for filing this issue and providing us the crash dump

This bug is also related to the thumbnail bug.

What should we do now Sam?

Woah! @Samuel12321, this is the bug I told you about on discord.

It now throws this System.ObjectDisposedException: Cannot access a disposed object. instead of invalid cast exception.

This exact same bug happens now.

Thanks @smdx for filing this issue and providing us the crash dump

This bug is also related to the thumbnail bug.

What should we do now Sam?

Thanks for the quick response 👍.

Take your time and report to me once this happens again.

Hello, there is also a crash in version 0.7.0.

===================

Application: ModernFlyouts.exe
CoreCLR Version: 5.0.20.47505
.NET Version: 5.0.0-rc.2.20475.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
at WinRT.IObjectReference.ThrowIfDisposed()
at WinRT.IObjectReference.get_ThisPtr()
at ABI.Windows.Foundation.IAsyncInfo.global::Windows.Foundation.IAsyncInfo.Cancel()
at System.IO.StreamOperationAsyncResult.CancelStreamOperation()
at System.IO.StreamOperationAsyncResult.Finalize()

===================

Faulting application name: ModernFlyouts.exe, version: 0.7.0.0, time stamp: 0x5f6e729b
Faulting module name: KERNELBASE.dll, version: 10.0.19041.572, time stamp: 0x979ddb1d
Exception code: 0xe0434352
Error offset: 0x00129ab2
Error process ID: 0x19b4
Wrong application startup time: 0x01d6a35f9b155804
Error application path: C:\Program Files\WindowsApps\32669SamG.ModernFlyouts_0.7.0.0_x86__pcy8vm99wrpcg\ModernFlyouts\ModernFlyouts.exe
Error module path: C:\Windows\System32\KERNELBASE.dll
Report ID: dc8bf1c4-4303-48f9-9268-a6c60544d477
Full name of the error package: 32669SamG.ModernFlyouts_0.7.0.0_x86__pcy8vm99wrpcg
Error package relative application ID: App

Yes I'm aware this issue still happens.

I'll will fix it as quick as possible

@Samuel12321, disabling the thumbnails again would be the only way to solve this 😔.

I will re-enable it the moment it starts working properly again.

Having a working app is better than a visually appealing one.

Any thoughts?

agreed, only other option would be to give user a choice between enabling with potential crashes or disabling (default)

A dirty fix has been done in e782da0e9e52013619c2139f54e0b01fab113faa

I will re-enable the thumbnails once the bug is fixed

Was this page helpful?
0 / 5 - 0 ratings