Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Wallpaper thread crash: Cannot access a disposed object. Object name: 'Process'. #1237

Open
meekah7 opened this issue May 26, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@meekah7
Copy link

meekah7 commented May 26, 2022

Describe the bug
I have the Matrix HTML/JS wallpaper on 2 screens, and when running a game in fullscreen after a while sometimes the wallpaper takes up both screens, although not animated anymore. After Alt-Tabbing to get rid of the wallpaper, the desktop wallpaper is just black.

To Reproduce
Steps to reproduce the behavior:
Sadly I'm really not sure what exactly causes this behavior.

Desktop (please complete the following information):

  • Edition Windows 11 Education

  • Version 21H2

  • Installed on ‎19.‎04.‎2022

  • OS build 22000.675

  • Experience Windows Feature Experience Pack 1000.22000.675.0

  • The Matrix HTML/JS wallpaper, which I slightly edited. The biggest change would probably be the 25ms iteration speed instead of 50ms. script.js.txt

Additional context
The GUI for managing the wallpapers seems to work normally.

Log file (Important)
20220526_114255.txt

@meekah7 meekah7 added the bug Something isn't working label May 26, 2022
@rocksdanister
Copy link
Owner

rocksdanister commented May 27, 2022

Looks like the browser crashed already and Lively is failing to communicate with it, I can't reproduce it on my system (nvidia).. could be amd gpu driver and CefSharp related.

What does the CefSharp logfile say?
%LocalAppData%\Packages\12030rocksdanister.LivelyWallpaper_97hta09mmv6hy\LocalCache\Local\Lively Wallpaper\Cef

@meekah7
Copy link
Author

meekah7 commented May 27, 2022

Here's the single file I found in the directory you provided:
logfile.txt
Also, I am using an AMD CPU and GPU, so the drivers being an issue might be true. I'd be happy to work with you to resolve the issue with AMD drivers if you need me to test something on my hardware.

@Skip75
Copy link

Skip75 commented Aug 4, 2022

Hello, same issue with me.
Also full AMD and dual screen config.

2022-08-04 17:59:27.7768|ERROR|Lively.Core.Wallpapers.WebCefSharpProcess|Stdin write fail: Cannot access a disposed object.
Object name: 'Process'.
2022-08-04 18:27:10.4738|INFO|Lively.Core.Watchdog.WatchdogProcess|Cleared watchdog program(s)..

Inside cef logfile, there is only 1 line of log... and it seems the end of the line is missing^^

[0804/182934.173:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is

And in windows application event log, the error is as below :

Name of the failed application Lively.PlayerCefSharp.exe, version: 1.0.0.0, timestamp: 0x8049d347
Name of failed module: KERNELBASE.dll, version: 10.0.19041.1865, timestamp: 0x279dbf14
Exception code: 0xe0000008
Error offset: 0x0012caf2
Failed process ID: 0x40b4
Start time of failed application: 0x01d8a7c99184ad89
Path of the failed application: C:\Program Files\WindowsApps\12030rocksdanister.LivelyWallpaper_1.0.123.0_x86__97hta09mmv6hy\Build\plugins\cef\Lively.PlayerCefSharp.exe
Path of the failed module: C:\Windows\System32\KERNELBASE.dll
Report ID: e8156449-2ec1-458b-b8c9-ae8c5d2ed988
Full name of the failed package: 12030rocksdanister.LivelyWallpaper_1.0.123.0_x86__97hta09mmv6hy
Application ID of the failed package: App

and

Application: Lively.PlayerCefSharp.exe
Framework version: v4.0.30319
Description: the process was stopped due to an unhandled exception.
Exception information: exception code e0000008, exception address 7710CAF2
Stack:

If needed, I can also share the .WER file.

@rocksdanister
Copy link
Owner

I am switching to WebView2 in the future if things go according to plan.

There is a build of WebView2 for installer version of Lively if you want to test:
https://github.com/rocksdanister/lively/wiki/Web-Guide-I-:-Cef#webview2-microsoft-edge

but only url wallpapers work for now until the till this update MicrosoftEdge/WebView2Feedback#1825

@meekah7
Copy link
Author

meekah7 commented Aug 9, 2022

I think I haven't had any issues in a while anyway. Not sure if it was an update of your software or a driver update, or maybe even just luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants