uWindowCapture icon indicating copy to clipboard operation
uWindowCapture copied to clipboard

Application crash with WGC

Open Curtis-VL opened this issue 3 years ago • 6 comments

Hi Hecomi,

Sorry for yet another bug report! I'm unsure of the exact cause of this one but it happens upon capturing a window.

Player.log doesn't show any crash, it looks like the process was killed.

uWindowCapture.log shows the following: [uWC::Log][2021-05-02 21:50:51] Start [uWC::Log][2021-05-02 21:59:26] WindowsGraphicsCapture::DestroyPoolAndSession() throws an exception: 0x800706be [uWC::Log][2021-05-02 21:59:28] WindowsGraphicsCapture::DestroyPoolAndSession() throws an exception: 0x800706ba

(If I find more information about this I'll add it here)

Curtis-VL avatar May 03 '21 01:05 Curtis-VL

Thank you for all the information. And I'm sorry, it still seems to be very unstable.

Same as the previous issue, could you provide me what version you used for the test?

hecomi avatar May 03 '21 04:05 hecomi

I believe this was v1.0.1. I will try to gather more information as others experience the issue!

Don't worry about the stability, you only released the new capture API support 2 days ago, I'm testing it with a beta testing team of around 30 people and find issues much quicker than you would alone. It's totally understandable. :)

I really appreciate your hard work!

Curtis-VL avatar May 03 '21 06:05 Curtis-VL

I'm both amazed and thrilled that 30 people have tested it, thank you!

I have not been able to reproduce the problem yet, so I would appreciate the following information if possible:

  • Windows version
  • The application to be captured that was causing the error
  • The operation that caused the error

hecomi avatar May 03 '21 17:05 hecomi

I will have this user test this as soon as they are free!

They are on Windows 10 20H2, they claim they saw their windows for a frame or two before the application crash. I will work with them to determine which window specifically was causing the problem or what combination.

Curtis-VL avatar May 03 '21 19:05 Curtis-VL

I have rewritten the thread-related handling to be safer. Some potential crash bugs have been fixed, so it would be helpful if you could check again in v1.0.2.

hecomi avatar May 08 '21 13:05 hecomi

Hi Hecomi,

I've been talking with the user experiencing this crash and I'm struggling to find the cause, there's nothing in the Unity log that shows a crash or even the application closes, it looks like the process is killed.

Looking through Event Viewer, he found some errors: image image image

Sorry I'm not able to provide more information on this issue! All I know is that this issue happens when the window GameObject becomes active.

Curtis-VL avatar May 08 '21 22:05 Curtis-VL