dokan-dev / dokan-dotnet

Dokan DotNet Wrapper
http://dokan-dev.github.io
MIT License
462 stars 116 forks source link

AccessViolationException when mounting file system using Windows autostart #251

Closed 0x4a616e closed 4 years ago

0x4a616e commented 4 years ago

On a "few" machines, I get an AccessViolationException with description The process was terminated due to an unhandled exception when trying to mount the file system via the Windows autostart using a Run key. Restarting the app manually afterwards always works es expected. Unfortunately, the exception cannot be caught so it always crashes the app and I can only see the exception in the Windows event log.

image

Also, the following details are logged for the exception:

image

Is there anything I could do to avoid this or to provide more details on the issue?

Liryna commented 4 years ago

Hi @0x4a616e ,

Thank you for the report, have you been able to reproduce the issue using the native mirror with autostart ? Just to be sure if we do face a dotnet or native issue.

0x4a616e commented 4 years ago

Unfortunately, this time I don't have access to an effected machine at all... So I couldn't try anything else :/

Liryna commented 4 years ago

@0x4a616e can this be closed or would you will have the ability to access a machine ?

0x4a616e commented 4 years ago

Unfortunately I don’t see any way to get access to one of the affected machines. I understand that this makes it extremely difficult to find the cause, so please go ahead and close this!

Liryna commented 4 years ago

Thank you, please do not hesitate if you face again and we will look at it together.