uDesktopDuplication icon indicating copy to clipboard operation
uDesktopDuplication copied to clipboard

Access violation crash

Open CurtisVL opened this issue 5 years ago • 3 comments

Hi,

I'm experiencing occasional access violation crashes, these only seem to happen in the build of the app, not in editor, they also don't always happen but once they have happened once they continue even through restarts of the application. I'm unable to find a way to reproduce the issue on demand.

Output from Visual Studio when attached to the process: Unhandled exception at 0x00007FFCCA904240 (d3d11.dll) in OVR Toolkit.exe: 0xC0000005: Access violation writing location 0x00000000000000E0. occurred

error.log

uDesktopDuplication.log

Any help is appreciated, thanks!

CurtisVL avatar Jun 26 '19 05:06 CurtisVL

If it's of any use, this is the error.log from someone else's system who had the same issue happen, in their case it happened on initializing the desktop not on switching to a different one. But I suppose that's the same thing really, loading a desktop.

error.log

Hope this can help!

CurtisVL avatar Jul 01 '19 01:07 CurtisVL

If a fix isn't planned for soon, do you have any idea of a temporary workaround to avoid this issue? If you know what the issue is yet! If not, that's fine!

CurtisVL avatar Jul 01 '19 04:07 CurtisVL

Sorry for my late reply.

I've checked the provided log, but I couldn't find the reason of the crash..., if possible, could you check what the last API call is? The way to do it is written here: https://github.com/hecomi/uDesktopDuplication/issues/14#issuecomment-442515768

From the error.log, it seems that you are using uWindowCapture, too. So if you do not identify the API in uDesktopDuplication, could you try it also with uWindowCapture?

Thank you for your cooperation.

hecomi avatar Jul 01 '19 12:07 hecomi